Clint Adams
0038b1a682
* 2073x: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and zlegetline
...
caller so that the octet-based and wide-character versions should return
the same string.
2005-01-22 04:03:05 +00:00
Wayne Davison
2fb65d215f
Fixed compiler warning about a missing initializer.
2005-01-21 11:16:34 +00:00
Wayne Davison
e63e45ae62
Got rid of "unused parameter" compiler warning for nullsethashfn().
2005-01-21 11:15:36 +00:00
Peter Stephenson
f8d74c1aab
20728: add RLIMIT_SIGPENDING and RLIMIT_MSGQUEUE,
...
also use ulimit -x for RLIMIT_LOCK
2005-01-19 13:03:33 +00:00
Clint Adams
7c2424d022
* 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode stuff.
2005-01-16 16:24:28 +00:00
Peter Stephenson
88a37cc187
c.f. 20675: improve zle as a basis for Unicode.
...
unposted: update version to 4.2.3-dev-1
2005-01-14 13:04:47 +00:00
Peter Stephenson
81b9354238
users/8359: add Darwin completion directories by default
2005-01-12 17:28:58 +00:00
Oliver Kiddle
df7ffd2999
20701: fix compilation on Mac OS X: define is __APPLE__, not APPLE
2005-01-12 16:34:31 +00:00
Peter Stephenson
77166e259e
20695: Fix Cygwin problem with initialising from pointer to imported variable
2005-01-12 12:18:58 +00:00
Peter Stephenson
43ac170305
Fix .distfiles and .cvsignore
2005-01-12 10:53:06 +00:00
Clint Adams
8db6e42ecd
* 20657: Src/Zle/zle_tricky.c: sort completions partially based on LC_COLLATE setting.
2005-01-11 18:24:51 +00:00
Bart Schaefer
2bc51c9dbc
20666: Avoid creating unnecessary multios when a descriptor is closed and
...
then re-opened.
2005-01-11 17:09:19 +00:00
Peter Stephenson
a92d2d84c0
20661: *(+func) = *(e:func:)
2005-01-10 17:31:07 +00:00
Peter Stephenson
849b808da6
20632: incorrect propagation of signals to process group
2005-01-05 11:04:21 +00:00
Peter Stephenson
69b4b8bdde
20605: Use separate structure with get/set/unset methods fro parameters.
...
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Wayne Davison
bb78896c7f
A few minor style tweaks (as discussed in 20595 and 20596).
2004-12-01 18:18:23 +00:00
Wayne Davison
8b136c84d2
Corrected the error-return comment for zchdir() and optimized the
...
HAVE_FCHDIR error-return code.
2004-11-29 16:26:12 +00:00
Peter Stephenson
d2c67e5e19
20591: Stephane Chazelas: use of fchdir in zchdir leaked fd's
2004-11-29 12:09:13 +00:00
Peter Stephenson
cebe5f1d10
20592: Debian bug#283358: $((##)) failed erratically
2004-11-29 12:07:04 +00:00
Peter Stephenson
138c5df2bb
20576: fix core dump on TRAPEXIT
2004-11-23 16:29:50 +00:00
Peter Stephenson
5141e68daa
20572: Allow alternative signal names
2004-11-22 10:33:03 +00:00
Peter Stephenson
c1a3961657
20568: debug test in pattern.c was out of date
2004-11-19 15:15:23 +00:00
Peter Stephenson
e022a9814a
20566++: prefer SIGCHLD to SIGCLD and SIGPOLL to SIGIO
2004-11-19 09:57:22 +00:00
Peter Stephenson
ba32e52292
users/8219: add $HISTCMD
2004-11-16 19:05:50 +00:00
Peter Stephenson
fece5e8960
20556: change SOCKLEN_T to ZSOCKLEN_T to avoid clash
2004-11-16 11:04:25 +00:00
Bart Schaefer
33686bdc98
fix "compadd -k assoc1 assoc2"
2004-11-05 16:19:19 +00:00
Peter Stephenson
f9c66cd45e
20528: exec 8>>(grep a) waited incorrectly for grep to finish
2004-10-29 10:14:21 +00:00
Peter Stephenson
c8e70ab5cf
20522: must-match optimisation in parameter substitution broken
2004-10-26 17:20:21 +00:00
Wayne Davison
106329c82e
Fixed an arg in a call to times() (from Borzenkov Andrey).
2004-10-22 19:38:59 +00:00
Peter Stephenson
feca88ede6
20513: fix tests of zero-length patterns
...
trivial optimisation in jobs.c (unposted)
2004-10-22 15:36:35 +00:00
Wayne Davison
3ccc3e4bdc
Use the new gettempfile() function.
2004-10-21 00:33:50 +00:00
Wayne Davison
65729f5570
Added gettempfile(), which works like a custom mkstemp() (in addition
...
to the existing gettempname(), which works like a custom mktemp()).
2004-10-21 00:33:42 +00:00
Wayne Davison
7f1ad7a40e
Added bicat() that works like dyncat(), but uses permanent memory
...
instead of the heap.
2004-10-18 19:13:57 +00:00
Wayne Davison
8901caa58f
Call gettempname() with its new args.
2004-10-18 19:07:55 +00:00
Wayne Davison
9a4cf8cf72
- Fixed an unsafe use of gettempname().
...
- Call gettempname() with its new args.
2004-10-18 19:07:50 +00:00
Wayne Davison
1637c4eba6
Made gettempname() take a prefix arg and a use_heap arg. When prefix is
...
non-NULL, it uses the specified prefix instead of $TMPPREFIX.
2004-10-18 19:07:46 +00:00
Wayne Davison
945a40f7e6
- Improved lockhistfile() to use the new gettempname() for a unique
...
filename instead of a .PID suffix.
- Use bicat() to build the $HISTFILE.LOCK filename.
- Put the $HOST value into $HISTFILE.LOCK in addition to the PID.
2004-10-18 19:07:30 +00:00
Peter Stephenson
b115ca307a
20500: Unmetafy patterns where possible and other minor pattern fixes
2004-10-18 11:56:14 +00:00
Wayne Davison
0d6e174e23
Made zclose() avoid calling close() when fd < 0.
2004-10-18 03:32:16 +00:00
Wayne Davison
66baaced5d
In zleread(), initialize the first byte of the "line" buffer to '\0'
...
so that functions such as magicspace() won't be accessing uninitialized
memory when they look at "line".
2004-10-17 20:12:46 +00:00
Peter Stephenson
a82a2564dd
20490: Don't assume null termination for test string in pattern matching.
2004-10-15 10:21:02 +00:00
Peter Stephenson
cf89569c45
20482: but with completion inside interactive completion
2004-10-14 07:19:04 +00:00
Peter Stephenson
8a67a66a61
20467: Reintroduce rusage-based escapes for TIMEFMT.
2004-10-08 14:36:51 +00:00
Peter Stephenson
cc72740775
20462: Use getrusage for timing again.
...
Time processes from before rather than after fork.
2004-10-07 09:45:43 +00:00
Peter Stephenson
46141be5f9
20412, tweaked: Make test builtin more POSIX compatible
...
20435: Make pattern.c not alter strings.
2004-10-05 10:39:41 +00:00
Bart Schaefer
684da738b0
20418: report parse error rather than crash on unfinished pipelines.
2004-10-02 21:44:13 +00:00
Wayne Davison
74fb5712a2
- Call saveandpophiststack() with its new writeflags arg.
2004-10-01 19:48:57 +00:00
Wayne Davison
89eb92d8c2
- Added an arg to saveandpophiststack() to allow the caller to
...
specify what flags to send to savehistfile().
- Implemented the HFILE_NO_REWRITE support in savehistfile().
2004-10-01 19:48:53 +00:00
Wayne Davison
2e4db343c6
- Call saveandpophiststack() with its new writeflags arg.
...
- Use the new HFILE_NO_REWRITE flag when saving the history
file after a signal was received.
2004-10-01 19:48:44 +00:00
Wayne Davison
0c77a8e876
Changed HFILE_GOT_SIGNAL to HFILE_NO_REWRITE.
2004-10-01 19:10:59 +00:00