Peter Stephenson
bf21478722
20118: improvements to limits builtins
2004-06-30 11:10:35 +00:00
Peter Stephenson
7f26993e99
20112 changed c.f. 20113:
...
fix here string and here document expansion and quoting
2004-06-28 15:38:10 +00:00
Clint Adams
ceb7a09833
20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings.
2004-06-22 23:47:57 +00:00
Peter Stephenson
d591334e9d
20076, 20084: { ... } always { ... } syntax.
2004-06-22 13:09:55 +00:00
Peter Stephenson
ed76bafc5e
20029: fix randomness of mathfunc rand48(seed)
2004-06-08 21:51:11 +00:00
Felix Rosencrantz
ba2415ce67
20002 -- fix for matching spec core dump
2004-06-04 06:00:32 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Wayne Davison
30a139fe89
Define the new UNUSED() macro for marking function parameters.
2004-06-02 18:11:43 +00:00
Wayne Davison
12b2ed63ab
Silenced one signed/unsigned comparison compiler warning.
2004-05-28 19:24:13 +00:00
Wayne Davison
b5d7902c20
Silenced three signed/unsigned comparison compiler warnings.
2004-05-28 19:23:47 +00:00
Wayne Davison
327481b391
Silenced one signed/unsigned comparison compiler warning.
2004-05-28 19:22:17 +00:00
Wayne Davison
14c7f464c2
Silenced two signed/unsigned comparison compiler warnings.
2004-05-28 19:21:05 +00:00
Wayne Davison
fea94cd79f
Fixed two signed/unsigned comparisons.
2004-05-28 19:20:29 +00:00
Wayne Davison
7c4ac8d60b
- Added missing struct initializers to two last-in-list values.
...
- Fixed a few signed/unsigned comparisons.
2004-05-28 19:20:01 +00:00
Wayne Davison
f297798397
Made a variable (t2) size_t so that it matched the size of the
...
other variable it gets compared with (fw).
2004-05-28 19:18:17 +00:00
Wayne Davison
f160996d51
Changed a few job-table variables into ints.
2004-05-28 19:16:55 +00:00
Wayne Davison
059162c442
Supply all initializers for the final struct reswd element.
2004-05-28 19:07:13 +00:00
Wayne Davison
88013bb195
Fixed signed/unsigned compiler warning.
2004-05-28 19:05:11 +00:00
Peter Stephenson
5ac05cab9f
19976: fix spurious job table full messages
2004-05-25 18:38:56 +00:00
Wayne Davison
79a802c74c
Added a call to saveandpophiststack(0) to endparamscope() to enable
...
the new auto-pop feature.
2004-05-21 20:05:16 +00:00
Wayne Davison
3e7b092bc7
- pushhiststack() now takes a level value and remembers it. If it was
...
the locallevel (instead of -1), the history list is marked to auto-pop
on function exit.
- The saveandpophiststack() function now interprets a 0 arg as a request
to do an auto-pop.
2004-05-21 20:05:12 +00:00
Wayne Davison
c39a15df42
- Added the -a option to "fc" and "history".
...
- Call saveandpophiststack() using the newest calling syntax.
2004-05-21 20:05:08 +00:00
Peter Stephenson
665b0950c6
19971: Fix environment nastiness in zexecve()
2004-05-21 11:19:30 +00:00
Wayne Davison
e8eca2ee4b
- Added functions to push and pop the current history list, allowing
...
functions to more easily switch to their own private history.
- Changed the existing history push/pop code in savehistfile() (which
uses a separate history buf to allow it to rewrite the on-disk
version of the history file without disturbing the in-memory list).
2004-05-20 22:23:02 +00:00
Wayne Davison
76ec200cc4
- Added the -p (push) and -P (pop) options to the "fc" builtin.
...
- Allow -p/-P to be given to "history".
- On exit, save & pop any pushed history stacks before we call the
normal savehistfile() function.
2004-05-20 22:22:43 +00:00
Wayne Davison
319af86611
Added a comment to resizehistents() to explain why the function is
...
weirder than expected at first glance.
2004-05-18 18:45:05 +00:00
Peter Stephenson
d3b14e887e
19941: fix (( 3, ))
2004-05-13 20:04:10 +00:00
Peter Stephenson
8723d530b3
fix bug I missed, somehow
2004-05-12 10:26:41 +00:00
Peter Stephenson
10744b66fd
19920: attempt to improve hrealloc()
2004-05-12 10:20:33 +00:00
Wayne Davison
1ec2b5c096
Fix the potential for an infinite loop in lockhistfile() if the
...
link() calls fails for some other reason than EEXIST.
2004-05-11 21:45:36 +00:00
Wayne Davison
c42420319f
Set the first character of buf to '\1' before the strftime() call so
...
we can try to distinguish a zero-length string from an error return
(a minor fix to Peter's patch).
2004-05-05 17:00:58 +00:00
Peter Stephenson
f57f65282b
19877: improved test for empty strftime strings
2004-05-04 16:43:29 +00:00
Clint Adams
c98b9dc800
* 19869: Src/prompt.c, Src/utils.c: avoid segfault when
...
prompt-expanding '%D{%p}' or '%D{%P}' under locales with null
strings for am_pm.
2004-05-04 04:17:26 +00:00
Peter Stephenson
885509c023
Fix TRAPS_ASYNC so that it handles signals correctly.
2004-05-02 19:55:54 +00:00
Peter Stephenson
aa7003e0ca
19840: vared takes one normal argument
2004-04-27 15:16:13 +00:00
Peter Stephenson
5fa91b1116
19837: restore vared -e
2004-04-27 11:03:06 +00:00
Peter Stephenson
63442b3eaa
19810: ksh autoloading
...
19812: autoloaded traps which are still buggy.
2004-04-23 11:17:13 +00:00
Peter Stephenson
5747147aff
19809: improve NO_TRAPS_ASYNC by queueing traps alone
2004-04-21 11:18:45 +00:00
Oliver Kiddle
f34d9be61b
19806: fix bug with %v prompt expansion and negative index beyond array start
2004-04-21 08:31:45 +00:00
Peter Stephenson
c1e47cb71f
19801: implement autoloading of trap functions
2004-04-20 12:57:27 +00:00
Oliver Kiddle
2c1f42366d
19767, 19785: store flags for -z and -k options to autoload allowing the
...
completion system to be used with ksh_autoload set
2004-04-20 12:38:15 +00:00
Oliver Kiddle
ca0deae382
19767, 19785: store flags for -z and -k options to autoload allowing the
...
completion system to be used with ksh_autoload set
2004-04-20 12:11:13 +00:00
Peter Stephenson
b5ceb73026
zsh-users/7365: new TRAPS_ASYNC option
2004-04-19 16:02:17 +00:00
Wayne Davison
5bae8f00b8
Minor optimization to qualnonemptydir() when a dir has a subdir.
2004-04-06 17:45:47 +00:00
Oliver Kiddle
98e28ff3ed
19712, 19740: allow assigning to associations with i and r subscript flags
2004-04-06 13:00:50 +00:00
Peter Stephenson
6fa6a1f865
Peter Castro: Cygwin improvements for dynamic libraries, text/binary, paths
2004-04-06 09:25:17 +00:00
Peter Stephenson
4688564c0a
19733 with docs tweaked: keymaps for vared and zed
2004-04-06 09:16:57 +00:00
Peter Stephenson
fda060370f
19717: (F) glob qualifier for full directories
2004-04-01 18:33:05 +00:00
Oliver Kiddle
3023ddf132
19707: negative index into arrays should return scalar and not one element array
2004-03-30 16:35:30 +00:00
Peter Stephenson
99b38b2f54
19683: Work around dllwrap problem on Cygwin
2004-03-25 12:32:10 +00:00