Bart Schaefer
33686bdc98
fix "compadd -k assoc1 assoc2"
2004-11-05 16:19:19 +00:00
Clint Adams
07d95ba04c
* 20539: Completion/Unix/Command/_make: avoid problems minus signs
...
in expandVars().
2004-11-02 23:26:42 +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
ced347cf3a
20510
2004-10-22 19:42:54 +00:00
Wayne Davison
106329c82e
Fixed an arg in a call to times() (from Borzenkov Andrey).
2004-10-22 19:38:59 +00:00
Bart Schaefer
12b44290ff
_comp_options needs NO_kshtypeset
2004-10-22 15:51:48 +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
658f46a809
20505
2004-10-21 00:36:51 +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
9b5ff81b47
20503
2004-10-19 16:08:11 +00:00
Wayne Davison
3dbab17494
Fixed the default completion-cache path. (Change from Alexey Tourbin.)
2004-10-19 16:01:24 +00:00
Wayne Davison
1177bad773
20499
2004-10-18 19:37:45 +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
bc704ef05c
20496
2004-10-18 05:07:04 +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
d73354ba3c
20490: string lengths in pattern.c: ChangeLog entry
2004-10-16 10:03:23 +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
Wayne Davison
4b9621a523
Simple changes to _make and _rsync.
2004-10-13 05:53:33 +00:00
Wayne Davison
53dc7a77fc
Added the 7 remaining options that were missing from the _arguments
...
list.
2004-10-13 05:50:08 +00:00
Wayne Davison
bb5c466af8
Got rid of "cmdargs" local since it is no longer used.
2004-10-12 20:05:13 +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
Wayne Davison
0f7a3eaca5
_rsync
2004-10-07 08:36:03 +00:00
Wayne Davison
bf1b892e39
Added the new options for 2.6.3 (only omitting --checksum-seed, which
...
is an advanced option that is not needed by normal users).
2004-10-07 07:43:44 +00:00
Peter Stephenson
869dc5a771
unposted: update README for "test" change
2004-10-05 13:14:14 +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
f986922ac2
20438 and a couple unposted changes.
2004-10-01 19:51:45 +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
Wayne Davison
b8b11e7627
Silence unused-parameter warnings from the compiler.
2004-10-01 19:06:49 +00:00
Wayne Davison
aa5c13f71c
Added HFILE_GOT_SIGNAL.
2004-10-01 18:55:16 +00:00
Wayne Davison
cbaaa338fa
Use convbase() instead of a "%d" format to convert a zlong.
2004-10-01 18:51:44 +00:00
Wayne Davison
aee4661e96
We can't use "%d" on a histent number (which is a zlong these days).
...
Changed the sprintf() to convbase().
2004-10-01 18:48:27 +00:00
Wayne Davison
3892864c15
20277 (modified)
2004-10-01 17:29:10 +00:00
Wayne Davison
4b3edafbbd
This version now uses a zsh function to parse the makefile instead
...
of awk or perl. That function has been enhanced to follow includes
and to expand variables (which makes a target such as foo$(EXEEXT)
expand into the right executable extention for the current system).
2004-10-01 17:16:02 +00:00
Peter Stephenson
1bf6bbe0b5
20427: Fix problem with _oldlist and custom completer.
...
20339: show-completer style
2004-10-01 10:29:08 +00:00
Clint Adams
0fa7015cc8
* 20358: Completion/Unix/Command/_make: avoid potential gawk locale bug by not using awk.
2004-09-30 16:05:47 +00:00
Clint Adams
988948f2a8
20414: Completion/Unix/Type/_diff_options: correct missing minus in --unified, spotted by Paul Wagland.
2004-09-28 17:48:46 +00:00