summary refs log tree commit diff
path: root/ChangeLog
blob: bb869f2577d9d91e02e497a456077f573ba4791c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
2010-04-15  H. Peter Anvin <hpa@zytor.com>

	* Fix for job control off warning.

2010-04-02  Herbert Xu <herbert@gondor.apana.org.au>

	* Use faccessat if available.

2010-04-02  Herbert Xu <herbert@gondor.apana.org.au>

	* Make trap signal name/number errors non-fatal.
	* Release 0.5.6.

2010-04-02  maximilian attems <max@stro.at>

	* Use TMPDIR in mkbuiltins.

2010-03-10  Jilles Tjoelker <jilles@stack.nl>

	* Fix logical or result value.

2010-03-09  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix binary operator parsing.

2009-11-26  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix off-by-one recordregion in readcmd.

2009-09-28  Jim Meyering  <meyering@redhat.com>

	don't read-uninitialized for \177 in a here-doc
	A DEL (0177, dec 127) byte in a here-document would cause dash to
	access uninitialized memory at the end of one of the syntax.c tables,
	since those tables are sized to accommodate a maximum index of
	BASESYNTAX + 126.  Make the generated tables one byte larger.
	printf ':<<\\E\n\200y\nE'|./dash
	* src/mksyntax.c (filltable): Use 258, not 257 as the size,
	so that BASESYNTAX(=130) + 127 is a valid index.
	(print): Likewise.
	Don't emit explicit array dimension in declaration.

2009-08-31  Eric Blake <ebb9@byu.net>

	* Avoid compiler warnings on isdigit.

2009-08-31  Matthew Burgess <matthew@linuxfromscratch.org>

	* Add another missing LC_COLLATE to mkbuiltins.

2009-08-31  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix NUL termination in readcmd.
	* Lookup PWD after going through CDPATH.

2009-08-11  Herbert Xu <herbert@gondor.apana.org.au>

	* Pass EV_TESTED into evalcmd.
	* Revert SKIPEVAL into EXEXIT.

2009-08-11  Rocky Bernstein <rocky.bernstein@gmail.com>

	* Add preliminary LINENO support.

2009-08-11  Stefan Potyra <stefan.potyra@informatik.uni-erlangen.de>

	* Honor tab as IFS whitespace when splitting fields in readcmd.

2009-06-30  Herbert Xu <herbert@gondor.apana.org.au>

	* Do not truncate file for FROMTO redirection.

2009-06-27  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix quoted pattern patch breakage.

2009-05-23  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix incorrect savefd conversions.

2009-02-22  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix dowait signal race.
	* Remove EXSIG.
	* Do not close stderr when /dev/tty fails to open.
	* Allow newlines after var name in for statements.
	* Use CHKNL to parse case statements.

2009-02-22  Gerrit Pape <pape@smarden.org>

	* Update manual page to differentiate dash from ash.

2009-01-14  Herbert Xu <herbert@gondor.apana.org.au>

	* Add arith_yacc.h to dash_SOURCES.
	* Release 0.5.5.1.

2009-01-13  Herbert Xu <herbert@gondor.apana.org.au>

	* Release 0.5.5.

2009-01-13  Mark Mentovai <mmentovai@gmail.com>

	* Fixed build on OS X.

2008-12-26  Aleksey Cheusov <vle@gmx.net>

	* Fixed build on NetBSD.

2008-10-17  Herbert Xu <herbert@gondor.apana.org.au>

	* Removed obsolete for loop syntax in manual.

2008-08-05  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed getcwd build error for the non-glibc case.

2008-06-13  Gerrit Pape <pape@smarden.org>

	* Added missing right parenthesis in manual page.

2008-06-13  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed 3,4-argument cases for test per POSIX.
	* Made aexpr/oexpr non-recursive.
	* Made t_lex reentrant.
	* Made setinputfd static.
	* Expand ENV before using it.
	* Added support for -l.

2008-05-19  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed non-leading slash treatment in expmeta.

2008-05-07  Gerrit Pape <pape@smarden.org>

	* Fixed lexical error in arithmetic expansion of & and |.

2008-05-03  Dan McGee <dpmcgee@gmail.com>

	* Fixed klibc/klcc build problems.
	* Added gitignore.

2008-05-03  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed _PATH_BSHELL warning.
	* Test __GLIBC__ instead of _GNU_SOURCE.
	* Restored warning when getcwd fails.
	* Set default exvwarning2 arg0 for errors during early initialisation.
	* Use uninitialized_var to silence bogus warnings.

2008-05-02  Herbert Xu <herbert@gondor.apana.org.au>

	* Restored non-glibc getcwd support.

2008-03-07  Larry Doolittle <ldoolitt@recycle.lbl.gov>

	* Fix cmdtxt crash on if statements.

2008-01-01  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix slash treatment in expmeta.

2007-12-27  Herbert Xu <herbert@gondor.apana.org.au>

	* Add FAKEEOFMARK for expandstr.
	* Do not show prompts in expandstr.

2007-12-23  Gerrit Pape <pape@smarden.org>

	* If imaxdiv() isn't available, use / and % operators.

2007-12-23  Richard M Kreuter <kreuter@progn.net>

	* Add set +o support.

2007-12-23  Steve Langasek <steve.langasek@canonical.com>

	* Fixed bad pointer arithmetic in evalcommand.

2007-11-11  Herbert Xu <herbert@gondor.apana.org.au>

	* Removed noexpand/length check on eofmark.
	* Removed herefd hack.
	* Expand here-documents in the current shell environment.

2007-10-20  Herbert Xu <herbert@gondor.apana.org.au>

	* Added configure --enable-glob and --enable-fnmatch options.
	* Fix here-doc corruption.

2007-10-17  Herbert Xu <herbert@gondor.apana.org.au>

	* Replace shared illnum message by badnum function.

2007-10-17  Oleg Verych <olecom@flower.upol.cz>

	* Disallow completely blank strings in non-arithmetic context.

2007-10-15  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed execing of scripts with no hash-bang.

2007-10-11  Herbert Xu <herbert@gondor.apana.org.au>

	* Add assignment support in arithmetic expansions.
	* Size optimisations in arithmetic lexer.
	* Add likely flags in expari.
	* Use setvarint to set OPTIND.

2007-10-08  Herbert Xu <herbert@gondor.apana.org.au>

	* Report substition errors at expansion time.

2007-10-06  Herbert Xu <herbert@gondor.apana.org.au>

	* Add pushstackmark.
	* Treat OPTIND=0 in the same way as OPTIND=1.
	* Remove setvarsafe.
	* Use intmax_t arithmetic in test.

2007-10-05  Herbert Xu <herbert@gondor.apana.org.au>

	* Made grabstackblock an inline wrapper for stalloc.

2007-10-04  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix parsing of ${##1}.
	* Size optimisations in parameter expansion parser.

2007-10-04  Alexey Gladkov <legion@altlinux.org>

	* Add --enable-static option to configure.

2007-09-26  Herbert Xu <herbert@gondor.apana.org.au>

	* Recognise here-doc delimiters terminated by EOF.

2007-09-26  Roy Marples <uberlord@gentoo.org>

	* Refresh stack pointers after makestrspace in _rmescapes.

2007-09-25  Gerrit Pape <pape@smarden.org>

	* Clarify description of -nt, -ot options to test builtin.
	* Clarify syntax of the for command.

2007-09-25  Herbert Xu <herbert@gondor.apana.org.au>

	* Do not expand tilde in parameter expansion within quotes.
	* Move parse-time quote flag detection to run-time.

2007-09-24  Herbert Xu <herbert@gondor.apana.org.au>

	* Do not quote back slashes in parameter expansions outside quotes.
	* Perform tilde expansion in all parameter expansion words.
	* Remove superfluous arinest test in CENDQUOTE.
	* Remove superfluous arinest test for dqvarnest.
	* Remove superfluous dblquote settings when ending arith.
	* Remove arithmetic expansion collapsing at parse time.

2007-09-22  Oleg Verych <olecom@flower.upol.cz>

	* White space fixes for test(1).
	* Use direct comparison instead of strcmp in test(1).

2007-09-22  Herbert Xu <herbert@gondor.apana.org.au>

	* Move flushall to the point just before _exit.

2007-09-21  Denis Vlasenko <vda.linux@googlemail.com>

	* Restore foreground process group on exit.

2007-07-12  Herbert Xu <herbert@gondor.apana.org.au>

	* Release 0.5.4.

2007-05-12  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix redirect restore on closed file descriptors.
	* Size optimisations in redir.c.

2007-05-06  Herbert Xu <herbert@gondor.apana.org.au>

	* Removed unnecessary inclusion of redir.h from parser.c.
	* Invoke sh_error on error in copyfd.
	* Use dup2 instead of copyfd in evalbackcmd.
	* Replace copyfd by savefd and dup2.
	* Removed redundant CLOEXEC calls.

2007-05-05  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed typo in parser.h comment.

2007-04-28  Dan Nicholson <dbn.lists@gmail.com>

	* Set LC_COLLATE for sort in mkbuiltin.

2006-10-22  Gerrit Pape <pape@smarden.org>

	* Fixed command -v segmentation fault.

2006-10-13  Alexey Gladkov <legion@altlinux.org>

	* Check return code for getgroups and fwrite.

2006-10-04  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed inverted char class matching.

2006-05-23  Alexey Gladkov <legion@altlinux.org>

	* Added --with-libedit option to configure.

2006-03-29  Herbert Xu <herbert@gondor.apana.org.au>

	* Removed useless parsebackquote flag.
	* Use alloca to get rid of setjmp in parse.c.
	* Only use signed char for syntax arrays.

2006-01-12  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed eval exit status with empty arguments.

2005-11-26  Herbert Xu <herbert@gondor.apana.org.au>

	* Release 0.5.3.

2005-11-14  Herbert Xu <herbert@gondor.apana.org.au>

	* Fix \c spillage across echo commands.

2005-11-13  Herbert Xu <herbert@gondor.apana.org.au>

	* Remove unnecessary truncation in _STPUTC.
	* Always call conv_escape_str in echocmd.

2005-11-04  Herbert Xu <herbert@gondor.apana.org.au>

	* Use mktemp if tempfile is not available.

2005-10-30  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed support for disabling job control.

2005-10-29  Herbert Xu <herbert@gondor.apana.org.au>

	* Updated BSD licence to 3-clause version per NetBSD.
	* Updated copyright.
	* Removed CVS IDs and inclusion of sys/cdefs.h.
	* Removed use of __P from error.h.
	* Use bsd_signal if it exists and signal does not.
	* Stop using sysexits.h in commandcmd.
	* Use stat if stat64 does not exist.
	* Added default implementation of bsearch.
	* Added getpwhome as a wrapper for getpwnam.
	* Fixed gcc 4.0 compilation problems.
	* Added missing system.h inclusion for mempcpy.
	* Added default implementation of strsignal.
	* Added default implementation of killpg.
	* Disable ulimit if there is no getrlimit.
	* Disable histcmd completely when SMALL is defined.
	* Added default definition for SSIZE_MAX.
	* Removed standalone/csh support from printf.
	* Added dummy strtod implementation.
	* Removed standalone/csh support from test.
	* Added dummy sysconf implementation.
	* Include system.h for stpcpy in nodes.c.
	* Added out-of-line ctypes functions for klibc.
	* Fixed fallback stpcpy implementation.

2005-10-26  Herbert Xu <herbert@gondor.apana.org.au>

	* Size optimisations in preadbuffer().

2005-10-01  Herbert Xu <herbert@gondor.apana.org.au>

	* Skip NUL characters properly in input.c.

2005-03-28  Herbert Xu <herbert@gondor.apana.org.au>

	* Removed some unnecessary inclusions of input.h.
	* Removed unnecessary inclusion of main.h from eval.c.
	* Removed unnecessary inclusion of eval.h from parser.c.
	* Generalise setinputfile for use in read_profile/readcmdfile.
	* Handle SKIPEVAL in read_profile by exiting.
	* Let evaltree handle traps from cmdloop.
	* Reset evalskip after minusc is executed.
	* Stop executing traps once SKIPEVAL is seen.
	* Only handle each signal once in dotrap.

2005-03-25  Gerrit Pape <pape@smarden.org>

	* Add trailing equal sign in setvar for variables set to null.

2005-03-25  Herbert Xu <herbert@gondor.apana.org.au>

	* Cleaned up src/Makefile.am.
	* Get rid of duplicate -g -O2 in CFLAGS.
	* Eliminate first null termination in setvar.
	* Turn evalskip into a bit field.

2005-03-25  Gilles Chanteperdrix <gilles.chanteperdrix@laposte.net>

	* Fixed support for cross-compilation.

2005-03-03  Herbert Xu <herbert@gondor.apana.org.au>

	* Removed qflag.
	* Removed redundant setstackmark from dotcmd.
	* Do not clobber exit status in dotcmd.

2005-03-02  Herbert Xu <herbert@gondor.apana.org.au>

	* Renamed symbols to avoid conflict with libc.
	* Optimisations in bltin/test.c.

2005-02-28  Herbert Xu <herbert@gondor.apana.org.au>

	* Replaced EXEVAL with SKIPEVAL.
	* Update funcnest atomically.
	* Only set skipcount for break and continue.
	* Removed expcmd built-in.
	* Normalise input in likely/unlikely macros.

2005-02-28  A Costa <agcosta@gis.net>

	* Corrected that/than typo in manual page.

2005-02-25  A Costa <agcosta@gis.net>

	* Corrected grammar in manual page.

2005-02-25  Herbert Xu <herbert@gondor.apana.org.au>

	* Changed boolean rootshell into shlvl counter.
	* Catch set -e exits within built-in commands.
	* Size optimisations with setjmp in main().
	* Only reread exitstatus on EXEXIT in exitshell.
	* Eliminated global exerrno.

2005-01-31  Gerrit Pape <pape@smarden.org>

	* Release 0.5.2.
	* Corrected manual entry about ENV and non-interactive shells.

2004-11-24  Gerrit Pape <pape@smarden.org>

	* Spell behaviour consistently in manual page.

2004-11-23  A Costa <agcosta@gis.net>

	* Fixed spelling errors in manual page.

2004-08-21  Herbert Xu <herbert@gondor.apana.org.au>

	* Size optimisations around varvalue() in src/expand.c.
	* Fixed signed char promotion in src/expand.c.

2004-08-18  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed $@ expansion when leading argument is null in src/expand.c.

2004-08-07  Herbert Xu <herbert@gondor.apana.org.au>

	* Allow negative pid argument to kill(1) in src/jobs.c.

2004-08-04  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed cd - when OLDPWD is unset in src/cd.c.

2004-07-09  Herbert Xu <herbert@gondor.apana.org.au>

	* Include system.h (Gerrit Pape):
	  . src/mystring.c
	  . src/var.c
	  . src/bltin/printf.c

2004-07-03  Herbert Xu <herbert@gondor.apana.org.au>

	* Release 0.5.1.
	* Use automake and autoconf.
	* Include stdlib.h for exit(3) in src/mksyntax.c.

2004-06-29  Herbert Xu <herbert@gondor.apana.org.au>

	* Added sigclearmask.
	* Removed hack for _setjmp/_longjmp.
	* Added default implementations of mempcpy/stpcpy/strchrnul.
	* Use strtoll/strtoull if strtoimax/strtoumax are unavailable.
	* Removed sh.1 to dash.1.

2004-05-28  Herbert Xu <herbert@gondor.apana.org.au>

	* Fixed vstype trim operator ordering in cmdputs.
	* Fixed quote for CTLENDVAR in cmdputs.
	* Fixed VSLENGTH crash in cmdputs.
	* Turned vstype back into a 2-d array of chars.
	* Added POSIX character class support in pmatch.

For older ChangeLogs see ChangeLog.O.

ChangeLog ends here