1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 13:01:28 +02:00
Commit graph

83 commits

Author SHA1 Message Date
Wayne Davison
693fd5b56e Check the return value of all pipe(), read(), and write() calls.
Gets rid of all the remaining "ignoring return value" compiler
warnings, and makes some read/write operations safer by ensuring
that an EINTR is handled.
2009-12-16 18:39:06 +00:00
Peter Stephenson
51409732d0 27284: better use of movefd() 2009-09-22 09:17:05 +00:00
Peter Stephenson
f43022eec0 users/14240: assignment before a function definition is an error 2009-07-17 20:32:33 +00:00
Peter Stephenson
c6a3ccc8d7 27092: missing then-clause for if wasn't an error 2009-07-06 20:44:28 +00:00
Peter Stephenson
10182c766b c.f. 26586: rename yylex to zshlex and yytext to zshlextext 2009-02-25 10:23:58 +00:00
Peter Stephenson
c7d8b0dfb8 26546, 26556: sticky emulation for functions defined in emulate ... -c ...
environments, plus documentation
2009-02-11 20:42:15 +00:00
Peter Stephenson
14231691e1 26061: fix clash between process subst and numeric glob
26062: additional compmatch change, missed from 26047
2008-11-18 10:07:31 +00:00
Peter Stephenson
59dd1491c6 users/13295, tweaked: dont reset line numbers when parsing strings, sometimes 2008-09-29 08:46:21 +00:00
Peter Stephenson
d17398b442 users/13288: Src/parse.c: don't report parse errors on aborted lines 2008-09-24 19:19:56 +00:00
Peter Stephenson
8bb15c1392 25641: add emulation option (NO_)MULTI_FUNC_DEF 2008-09-11 12:49:05 +00:00
Peter Stephenson
1f81bdcb47 25587: fix a==(stuff) and associated stuff. 2008-09-01 20:18:46 +00:00
Peter Stephenson
2e3363ef7d 25571: when parsing use line numbers for the start of a token, not the end
add test and move debug trap tests to new file
2008-08-31 19:50:47 +00:00
Peter Stephenson
2853ca830a 25247 with further modifications: add $funcsourcetrace 2008-08-11 19:22:54 +00:00
Peter Stephenson
1a9386290b 25262: suspicious error checking in braceless function definition 2008-07-01 18:38:39 +00:00
Peter Stephenson
948f015df0 24711: fix re-presentation of here-documents munged internally
to here-strings
2008-03-14 11:40:57 +00:00
Peter Stephenson
b24d545294 users/12412: check for extra arguments in test and [ 2008-01-10 18:53:49 +00:00
Peter Stephenson
4d52b7ebe6 23670: rationalise some linked list functions 2007-06-27 13:56:10 +00:00
Peter Stephenson
a755310d20 Phil Pennock: 23480: typo
Also typo in mod_stat.yo
2007-05-29 09:27:43 +00:00
Peter Stephenson
7f03c3d851 23375: Phil Pennock: =~, zsh/regex etc. etc. 2007-05-01 22:05:03 +00:00
Peter Stephenson
eea55e45be unposted: fix error message for short ZWC file 2007-04-23 17:24:22 +00:00
Peter Stephenson
d296535d38 23313: fix test for incorrect version in ZWC file 2007-04-23 17:09:12 +00:00
Peter Stephenson
3db1a442a4 parse.c 2007-04-23 16:55:00 +00:00
Peter Stephenson
e7210e10b0 23312: fix versioning and initialisation of word code headers 2007-04-23 16:44:24 +00:00
Peter Stephenson
de272e0309 23115: ";|" at end of case clause causes later patterns to be tested 2007-01-19 21:36:00 +00:00
Peter Stephenson
596d38fb07 22586: fix warnings spotted on Cygwin 2006-08-04 13:38:26 +00:00
Peter Stephenson
0a22eb0e0c 22546: fix {myfd}>... bug and tweak tests 2006-07-11 15:36:37 +00:00
Peter Stephenson
4a67f24798 22544: Improve use of ztype tests for multibyte characters. Add
POSIX_IDENTIFIERS option to control allowability of multibyte
alphanumeric characters in parameter and module names.
2006-07-10 13:08:22 +00:00
Peter Stephenson
9d5f320f38 22542: deoverenthuse cmdpopping 2006-07-09 14:47:22 +00:00
Peter Stephenson
bd50a3c516 22516: error in func() didn't pop command stack 2006-06-26 10:04:09 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Peter Stephenson
8569055841 users/10087: no aliases for case of "in" in "case" 2006-03-26 19:03:15 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Bart Schaefer
38d2734e0a Remove excess argument of zwcstat() 2005-04-24 18:39:02 +00:00
Peter Stephenson
b3f8e32e5c 21133: New {myfd} syntax for allocating file descriptors 2005-04-12 15:11:07 +00:00
Peter Stephenson
05b06b1c08 fix autoloaded trap bug; rejig use of trapfuncs
(now traplists); improve trap tests
2005-02-06 20:36:09 +00:00
Bart Schaefer
684da738b0 20418: report parse error rather than crash on unfinished pipelines. 2004-10-02 21:44:13 +00:00
Peter Stephenson
241aa1d40d 20214: fix debugging test with recursive functions 2004-07-28 10:34:31 +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
Peter Stephenson
d591334e9d 20076, 20084: { ... } always { ... } syntax. 2004-06-22 13:09:55 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Wayne Davison
fea94cd79f Fixed two signed/unsigned comparisons. 2004-05-28 19:20:29 +00:00
Oliver Kiddle
95231270ed 19595: rename DO to DOLOOP to avoid conflict with curses.h on Tru64 5.1 2004-03-11 14:25:12 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
40c29457f2 18251: Fix select and make it respect EOF 2003-02-17 11:41:58 +00:00
Bart Schaefer
d4c7657014 17760: Fix case-pattern parsing bug in sh emulation. 2002-10-06 18:38:14 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Peter Stephenson
0e08b8c2e4 17299: Use reference counts in Eprogs so as to be able to free them as soon
as finished with.
2002-06-07 14:44:21 +00:00
Peter Stephenson
07047de129 17283: Src/parse.c: `func() { ... } this bit was ignored'. 2002-06-04 16:25:46 +00:00
Peter Stephenson
da6a201946 17272: inner function definition could define nonsense 2002-06-02 18:03:20 +00:00