1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-02 21:36:05 +02:00
Commit Graph

74 Commits

Author SHA1 Message Date
Peter Stephenson 682d83503b 17292: shut up compiler if no OPEN_MEMSTREAM 2002-06-05 15:03:15 +00:00
Wayne Davison 18b090df5a Got rid of unused-variable compiler warning. 2002-03-24 07:56:42 +00:00
Oliver Kiddle f40278ec0b 16862: allow print's -s and -z options to be used with -f 2002-03-19 14:34:01 +00:00
Peter Stephenson 15630b234a 16759: Src/builtin.c: from Eric Norum <eric.norum@usask.ca>:
cd prints output whenever the target directory is not obvious
to the user.  This confuses scripts, so restrict it to
interactive mode.
2002-03-04 15:51:58 +00:00
Wayne Davison 8fc5ffa60a Improved the output of the "history" command with a 1-line history buffer,
and also improved the error handling of explicitly-specified first/last
values.
2002-02-22 21:59:43 +00:00
Oliver Kiddle 6febc8fe67 16619, 16676: add -c, -l and -p options to the dirs builtin 2002-02-20 12:51:51 +00:00
Wayne Davison 168aeada1a Silenced a compiler warning. 2002-02-12 19:34:53 +00:00
Bart Schaefer c6d589aadd 16556: No error on `print >&-'. 2002-02-04 19:38:40 +00:00
Clint Adams 79e13d1209 16503: warn on fclose or fflush errors in bin_print. 2002-01-27 22:44:40 +00:00
Bart Schaefer 9113c2e2d6 16435: Fix core dump in `hash'. 2002-01-26 21:03:36 +00:00
Clint Adams 0db3827ce2 unposted: back out idiotic patch 2001-12-18 01:24:23 +00:00
Clint Adams 9cf6e76e7d unposted: initialize save to NULL to avoid compiler warning. 2001-12-18 01:21:26 +00:00
Oliver Kiddle 0e1845cbc6 16228: allow widths and precisions to work with printf's %b format specifier 2001-11-09 16:47:43 +00:00
Oliver Kiddle c1441714b5 zero %n value when reusing printf format (16122) 2001-10-23 11:22:33 +00:00
Oliver Kiddle 62829b856d allow arguments to be specified in printf format specifications (16080) 2001-10-18 14:22:21 +00:00
Oliver Kiddle 4aaa5b3257 fix return code and tests of printf and comment above bslashquote func (16064) 2001-10-16 11:16:04 +00:00
Oliver Kiddle 577ebe0b8a use arithmetic evaluation for numeric arguments to printf (16042) 2001-10-15 11:34:27 +00:00
Oliver Kiddle 648d1c2756 add print -f option, %n format specifier and tests for print/printf (15973) 2001-10-08 10:47:46 +00:00
Peter Stephenson cc0d931682 15931: EXIT traps from exit in subshell; 15965: glob -> zglob 2001-10-08 08:13:11 +00:00
Oliver Kiddle a5890553e8 add printf builtin (15851, 15948) 2001-10-05 15:02:18 +00:00
Peter Stephenson 11b0734108 * Src/builtin.c, Src/exec.c: Unwind function calls before exiting
shell from exit command to allow EXIT traps to run.
2001-09-24 10:12:51 +00:00
Wayne Davison f38b2c5aa8 Further modify the "fc -l" code to tolerate out-of range values. 2001-09-18 17:50:26 +00:00
Wayne Davison 6a7d256a58 + Changed fclist() to not not transform "fc -l 0 0" into "fc -l 1 1".
+ Changed fcgetcomm() to handle new error return from addhistnum().
2001-09-13 18:19:08 +00:00
Bart Schaefer d978bb894e Fix and regression tests for crash on typeset of local array elements. 2001-08-13 17:43:04 +00:00
Peter Stephenson 7060b34457 15334: use string "(eval)" as script name in debugging messages in eval's 2001-07-09 18:31:24 +00:00
Peter Stephenson 003ec8c7e8 15327: always use local LINENOs in parse_string(). 2001-07-09 16:05:13 +00:00
Bart Schaefer d8aee67492 Fix infinite loop on `r OLD=NEW' when OLD is the empty string. 2001-07-08 00:33:45 +00:00
Peter Stephenson d247b7f146 $* and $@ are special 2001-06-14 09:49:01 +00:00
Peter Stephenson 231f077a75 14348: fix globalexport with typeset -g 2001-05-15 10:02:34 +00:00
Bart Schaefer 219674c48b More parameter/subscript cleanup. 2001-04-21 18:49:12 +00:00
Bart Schaefer 220ad9aa23 Parameter repairs, mostly for subscripting. 2001-04-20 06:13:35 +00:00
Peter Stephenson 3278ad8490 disallow changing of parameter type
for autoloadable parameter (bug 219459 on Sourceforge).
2001-03-29 10:52:15 +00:00
Clint Adams e846a825fe 13478: whence shouldn't segfault on an empty path component 2001-02-14 23:36:23 +00:00
Andrey Borzenkov e28d948e92 13389: normalize path in cd_do_chdir on Cygwin to get rid of DOS names 2001-01-26 12:47:37 +00:00
Sven Wischnowsky 757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Clint Adams 13b93a5faa 13215: echotc, echoti, terminfo 2000-12-03 20:53:07 +00:00
Peter Stephenson c292a3ae50 Sven: 13108: Handle traps synchronously
pws: 13109, 13111: clear up zle display when output produced in trap.
2000-11-11 19:50:27 +00:00
Bart Schaefer 5ca1864f94 Change some zerr to zwarn for consistency. 2000-10-02 18:40:35 +00:00
Clint Adams 9f012ce7c9 12847: dynamically allocate buf and z in bin_whence() 2000-09-19 16:47:38 +00:00
Clint Adams 04bf2c822f 12823: use zsh heap in lieu of perm. heap in bin_dot 2000-09-18 03:31:31 +00:00
Clint Adams 2abf9db381 12821: bin_dot is now independent of PATH_MAX 2000-09-17 16:24:05 +00:00
Bart Schaefer bd7969bfa5 "typeset +m ..." and "typeset +g -m ..." 2000-09-17 05:38:36 +00:00
Bart Schaefer a12ff424b6 12804: Fix "typeset -m". 2000-09-14 15:54:54 +00:00
Peter Stephenson c66544a86b 12561: Completion/Builtins/_zmodload, Doc/Zsh/builtins.yo,
Src/builtin.c, Src/module.c, Src/zsh.h: aliases for modules
done internally via `zmodload -[AR]'
2000-08-08 09:13:36 +00:00
Peter Stephenson 4a5882eeb3 12411, 12419: Andrej: environment handling with fewer assumptions 2000-07-28 09:10:35 +00:00
Wayne Davison 495249342e Removed call to remhist(). 2000-07-19 20:43:51 +00:00
Wayne Davison b50d754909 Changed several references to curhist into curline.histnum so that
they would work right even if we didn't store the current command
in the history.
2000-07-18 07:56:45 +00:00
Peter Stephenson 756a2aba9c unposted: move poll_read 2000-06-26 21:27:07 +00:00
Peter Stephenson acda8dc256 12073: read -t to test for available input before reading 2000-06-26 15:00:27 +00:00
Peter Stephenson abd757eac4 12044: read -A bug 2000-06-23 09:45:38 +00:00