Patch from David Daney:
[oweals/busybox.git] / Changelog
1 ---------------------
2 PatchSet 4304 
3 Date: 2004/07/26 11:45:25
4 Author: andersen
5 Branch: HEAD
6 Tag: (none) 
7 Log:
8 Make certain that udhcp shuts down the interface
9
10 Members: 
11         networking/ifupdown.c:1.43->1.44 
12
13 ---------------------
14 PatchSet 4305 
15 Date: 2004/07/26 11:45:47
16 Author: andersen
17 Branch: HEAD
18 Tag: (none) 
19 Log:
20 bump version to -rc2
21
22 Members: 
23         Rules.mak:1.33->1.34 
24
25 ---------------------
26 PatchSet 4306 
27 Date: 2004/07/26 11:46:50
28 Author: andersen
29 Branch: HEAD
30 Tag: (none) 
31 Log:
32 oops
33
34 Members: 
35         networking/ifupdown.c:1.44->1.45 
36
37 ---------------------
38 PatchSet 4307 
39 Date: 2004/07/26 12:05:12
40 Author: andersen
41 Branch: HEAD
42 Tag: (none) 
43 Log:
44 YAEGASHI Takeshi writes:
45
46 Hi,
47
48 With the following /etc/fstab (any two or more lines of nfs), mount -a
49 -t nfs causes a segmentation faults.
50
51 server:/exports/aaa /mnt/aaa nfs defaults 0 0
52 server:/exprots/bbb /mnt/bbb nfs defaults 0 0
53
54 In util-linux/nfsmount.c, it overwrites malloc'ed pointer *mount_opts
55 with a static pointer.  With this patch it does proper memory realloc
56 and data copy instead.
57
58 Members: 
59         util-linux/nfsmount.c:1.27->1.28 
60
61 ---------------------
62 PatchSet 4308 
63 Date: 2004/07/26 12:05:44
64 Author: andersen
65 Branch: HEAD
66 Tag: (none) 
67 Log:
68 Make certain that udhcp shuts down the interface
69
70 Members: 
71         networking/ifupdown.c:1.45->1.46 
72
73 ---------------------
74 PatchSet 4309 
75 Date: 2004/07/26 12:06:19
76 Author: andersen
77 Branch: HEAD
78 Tag: (none) 
79 Log:
80 Allow hex escape sequences
81
82 Members: 
83         libbb/process_escape_sequence.c:1.6->1.7 
84
85 ---------------------
86 PatchSet 4310 
87 Date: 2004/07/26 12:07:01
88 Author: andersen
89 Branch: HEAD
90 Tag: (none) 
91 Log:
92 Prepare for release
93
94 Members: 
95         Changelog:1.293->1.294 
96         Rules.mak:1.34->1.35 
97         docs/busybox.net/news.html:1.19->1.20 
98
99 ---------------------
100 PatchSet 4311 
101 Date: 2004/07/26 12:11:32
102 Author: andersen
103 Branch: HEAD
104 Tag: (none) 
105 Log:
106 bother.  unrevert my fix.
107
108 Members: 
109         libbb/process_escape_sequence.c:1.7->1.8 
110         networking/ifupdown.c:1.46->1.47 
111
112 ---------------------
113 PatchSet 4312 
114 Date: 2004/07/26 12:12:06
115 Author: andersen
116 Branch: HEAD
117 Tag: (none) 
118 Log:
119 bump version to -rc2
120
121 Members: 
122         Rules.mak:1.35->1.36 
123
124 ---------------------
125 PatchSet 4313 
126 Date: 2004/07/26 12:22:33
127 Author: andersen
128 Branch: HEAD
129 Tag: busybox_1_00_rc2 
130 Log:
131 add missing ;
132
133 Members: 
134         networking/ifupdown.c:1.47->1.48 
135
136 ---------------------
137 PatchSet 4314 
138 Date: 2004/07/26 18:57:49
139 Author: sandman
140 Branch: HEAD
141 Tag: (none) 
142 Log:
143 document stuff I have done
144
145 Members: 
146         AUTHORS:1.45->1.46 
147
148 ---------------------
149 PatchSet 4315 
150 Date: 2004/07/27 16:45:46
151 Author: andersen
152 Branch: HEAD
153 Tag: (none) 
154 Log:
155 Felipe Kellermann noticed a missing `break'.
156
157 Members: 
158         libbb/process_escape_sequence.c:1.8->1.9 
159
160 ---------------------
161 PatchSet 4316 
162 Date: 2004/07/28 19:15:04
163 Author: andersen
164 Branch: HEAD
165 Tag: (none) 
166 Log:
167 Thanks to Ken Roberts, fix the slackware url
168
169 Members: 
170         docs/busybox.net/products.html:1.11->1.12 
171
172 ---------------------
173 PatchSet 4317 
174 Date: 2004/07/29 23:15:16
175 Author: mjn3
176 Branch: HEAD
177 Tag: (none) 
178 Log:
179 Clean up hex escape support.
180
181 Members: 
182         libbb/process_escape_sequence.c:1.9->1.10 
183
184 ---------------------
185 PatchSet 4318 
186 Date: 2004/07/30 14:31:01
187 Author: andersen
188 Branch: HEAD
189 Tag: (none) 
190 Log:
191 As noted by Eric Spakman, calling static_down() and then calling
192 bootp_down() seems redundant, esp since bootp_down was a subset
193 of static_down, so just use that...
194
195 Members: 
196         networking/ifupdown.c:1.48->1.49 
197
198 ---------------------
199 PatchSet 4319 
200 Date: 2004/07/30 14:36:37
201 Author: andersen
202 Branch: HEAD
203 Tag: (none) 
204 Log:
205 Fix up brain damage with the way major and minor are used to
206 create a dev_t
207
208 Members: 
209         miscutils/makedevs.c:1.19->1.20 
210
211 ---------------------
212 PatchSet 4320 
213 Date: 2004/07/30 14:45:08
214 Author: andersen
215 Branch: HEAD
216 Tag: (none) 
217 Log:
218 use SIGTERM to kill off udhcpd, not SIGKILL
219
220 Members: 
221         networking/ifupdown.c:1.49->1.50 
222
223 ---------------------
224 PatchSet 4321 
225 Date: 2004/07/30 17:24:46
226 Author: andersen
227 Branch: HEAD
228 Tag: (none) 
229 Log:
230 Fixup getty, login, etc so the utmp and wtmp are updated, allowing
231 the 'who' and 'last' applets among other things to work as expected.
232  -Erik
233
234 Members: 
235         coreutils/Config.in:1.24->1.25 
236         loginutils/Config.in:1.7->1.8 
237         loginutils/getty.c:1.11->1.12 
238         loginutils/login.c:1.17->1.18 
239         miscutils/Config.in:1.17->1.18 
240
241 ---------------------
242 PatchSet 4322 
243 Date: 2004/07/30 17:39:08
244 Author: andersen
245 Branch: HEAD
246 Tag: (none) 
247 Log:
248 Umm.  Not guilty by reason of insanity.
249  -Erik
250
251 Members: 
252         loginutils/getty.c:1.12->1.13 
253         loginutils/login.c:1.18->1.19 
254
255 ---------------------
256 PatchSet 4323 
257 Date: 2004/07/30 17:48:21
258 Author: andersen
259 Branch: HEAD
260 Tag: (none) 
261 Log:
262 Fix incorrect arguments being passed to mknod
263
264 Members: 
265         miscutils/makedevs.c:1.20->1.21 
266
267 ---------------------
268 PatchSet 4324 
269 Date: 2004/07/30 23:52:08
270 Author: andersen
271 Branch: HEAD
272 Tag: (none) 
273 Log:
274 Simon Poole reports that awk segfaults when environment variables
275 with no value exist, i.e.
276
277         $ export BOB=''
278         % ./busybox awk
279         Segmentation fault
280
281 This patch teaches awk to not blow chunks on empty env variables.
282  -Erik
283
284 Members: 
285         editors/awk.c:1.9->1.10 
286
287 ---------------------
288 PatchSet 4325 
289 Date: 2004/08/01 18:54:45
290 Author: andersen
291 Branch: HEAD
292 Tag: (none) 
293 Log:
294 fixup cut-n-paste problem
295
296 Members: 
297         docs/busybox.net/news.html:1.20->1.21 
298
299 ---------------------
300 PatchSet 4326 
301 Date: 2004/08/03 00:14:01
302 Author: andersen
303 Branch: HEAD
304 Tag: (none) 
305 Log:
306 Tito, farmatito at tiscali dot it writes:
307
308 Hi to all,
309 This patch is useful for:
310 1) remove an unused var from extern char *find_real_root_device_name(const char* name)
311     changing it to extern char *find_real_root_device_name(void).
312 2) fixes include/libbb.h, coreutils/df.c, util-linux/mount.c and  util-linux/umount.c accordingly.
313 3) fixes a bug, really a false positive,  in find_real_root_device_name() that happens if
314     in the /dev directory exists a link named root (/dev/root) that should be skipped but
315     is not. This affects applets like df that display wrong results
316
317 Members: 
318         coreutils/df.c:1.57->1.58 
319         include/libbb.h:1.132->1.133 
320         libbb/find_root_device.c:1.12->1.13 
321         util-linux/mount.c:1.119->1.120 
322         util-linux/umount.c:1.64->1.65 
323
324 ---------------------
325 PatchSet 4327 
326 Date: 2004/08/03 08:23:33
327 Author: andersen
328 Branch: HEAD
329 Tag: (none) 
330 Log:
331 William Barsse writes:
332
333 fixes two other issues (plus the previous as well) with a 2.4 kernel :
334
335 - should be able to modprobe an already loaded module and get 0 return
336 code :
337 # modprobe <something> && modprobe <something> && echo "ok" || echo "failed"
338 ....
339 failed
340
341 Well, hope this helps and that I didn't screw up again,
342 - William
343
344 Members: 
345         modutils/modprobe.c:1.33->1.34 
346
347 ---------------------
348 PatchSet 4328 
349 Date: 2004/08/04 19:16:54
350 Author: andersen
351 Branch: HEAD
352 Tag: (none) 
353 Log:
354 Run msh through indent
355
356 Members: 
357         shell/msh.c:1.18->1.19 
358
359 ---------------------
360 PatchSet 4329 
361 Date: 2004/08/04 19:19:10
362 Author: andersen
363 Branch: HEAD
364 Tag: (none) 
365 Log:
366 Michael Leibow, MichaelLe at belkin.com writes:
367
368 A question was posted a month ago by Mark Alamo to see if others had
369 problems with sourcing subscripts within msh.  We asked his firm to fix the
370 msh.c bug he described because we didn't have enough time to do it
371 ourselves.
372
373 When msh.c is executing a compound statement and there is a . command to
374 source another script file, msh.c will not execute the subscript until it's
375 completed executing the rest of the compound statement.
376
377 His example was this:
378
379 Echo "Start" ; . ./subA; echo "mid" ; . ./subB ; echo "end"
380
381 subA and subB execute AFTER end is printed in reverse order.  The same is
382 true if the sourced files are inside an if else fi, case esac, or any
383 compound statement.
384
385 Attached is a patch to msh.c.  It fixes the problem.  Cd to the root of your
386 busybox tree and execute "patch -p1 < msh.c.patch"
387
388 Unfortunately, I won't have more time to work on this so I hope that there
389 aren't any problems!
390
391 Michael Leibow
392 Senior Software Engineer
393
394 Belkin Corporation
395
396 Members: 
397         shell/msh.c:1.19->1.20 
398
399 ---------------------
400 PatchSet 4330 
401 Date: 2004/08/06 00:58:53
402 Author: bug1
403 Branch: HEAD
404 Tag: (none) 
405 Log:
406 Part of patch from William Barsse, fixes a problem with unescaped %.
407
408 Members: 
409         sysklogd/klogd.c:1.22->1.23 
410
411 ---------------------
412 PatchSet 4331 
413 Date: 2004/08/06 01:49:04
414 Author: bug1
415 Branch: HEAD
416 Tag: (none) 
417 Log:
418 Patch from Tito to fix warnings about redifined functionions barrier and likely.
419
420 Members: 
421         shell/ash.c:1.103->1.104 
422
423 ---------------------
424 PatchSet 4332 
425 Date: 2004/08/11 02:30:30
426 Author: bug1
427 Branch: HEAD
428 Tag: (none) 
429 Log:
430 Willian Barsse wrote
431 "There seems to be a slight problem with the "mod_strcmp" function in
432 modprobe.c, it scans for the first occurence of the module name in the
433 "mod_path" variable and expects it to be the last path element. ie
434 /lib/modules/2.4.22-debug/kernel/fs/vfat in my example. The comparison
435 will always fail if mod_path contains another substring matching the
436 module name."
437
438 Robert McQueen wrote
439 "Although William Barsse's patch fixed mod_strcmp for 2.4 kernels, there
440 was a remaining problem which prevented it from working for me. I've
441 just tracked it down - when you enable kernel 2.6 module support it
442 hard-wired the extension to .ko instead of checking at runtime like the
443 other places where 2.4 differs from 2.6. The attached patch fixes this
444 for me."
445
446 Members: 
447         modutils/modprobe.c:1.34->1.35 
448
449 ---------------------
450 PatchSet 4333 
451 Date: 2004/08/11 02:32:18
452 Author: bug1
453 Branch: HEAD
454 Tag: (none) 
455 Log:
456 Patch from Phil Blundellto improve substring match
457
458 Members: 
459         modutils/modprobe.c:1.35->1.36 
460
461 ---------------------
462 PatchSet 4334 
463 Date: 2004/08/11 02:45:47
464 Author: bug1
465 Branch: HEAD
466 Tag: (none) 
467 Log:
468 Patch from Bastian Blank to add 64 bit support to the test command.
469 Example of broken usage: ./busybox test 2147483648 -gt 2147483648
470
471 Members: 
472         coreutils/Config.in:1.25->1.26 
473         coreutils/test.c:1.25->1.26 
474
475 ---------------------
476 PatchSet 4335 
477 Date: 2004/08/11 03:50:30
478 Author: bug1
479 Branch: HEAD
480 Tag: (none) 
481 Log:
482 Patch from Tito to fix memory leak upon error.
483
484 Members: 
485         libbb/xreadlink.c:1.5->1.6 
486
487 ---------------------
488 PatchSet 4336 
489 Date: 2004/08/11 05:56:30
490 Author: bug1
491 Branch: HEAD
492 Tag: (none) 
493 Log:
494 Patch from Mike Castle, dont print an empty line (patch modified by me to
495 change formatting).
496
497 Members: 
498         modutils/modprobe.c:1.36->1.37 
499
500 ---------------------
501 PatchSet 4337 
502 Date: 2004/08/11 08:10:58
503 Author: bug1
504 Branch: HEAD
505 Tag: (none) 
506 Log:
507 Set default command to list rather than get, its default behaviour now
508 coincides with upstream. Patch from debian diff.
509
510 Members: 
511         networking/libiproute/iproute.c:1.13->1.14 
512
513 ---------------------
514 PatchSet 4338 
515 Date: 2004/08/12 16:52:00
516 Author: andersen
517 Branch: HEAD
518 Tag: (none) 
519 Log:
520 Patch from solar to fix problems with get_name()
521
522 Members: 
523         libbb/interface.c:1.23->1.24 
524
525 ---------------------
526 PatchSet 4339 
527 Date: 2004/08/14 20:57:33
528 Author: andersen
529 Branch: HEAD
530 Tag: (none) 
531 Log:
532 Christian Ostheimer writes:
533
534 Hello,
535
536 function build_dep in modprobe.c assumes that dependencies of one module
537 have not more than 255 chars;
538 that is not sufficient in kernel 2.6.7 (alsa sound modules). - Below is
539 a diff that solves the problem for me.
540
541 With regards, Christian Ostheimer
542
543 Members: 
544         modutils/modprobe.c:1.37->1.38 
545
546 ---------------------
547 PatchSet 4340 
548 Date: 2004/08/16 08:29:44
549 Author: andersen
550 Branch: HEAD
551 Tag: (none) 
552 Log:
553 Aurelien Jacobs writes:
554
555 with a quick conversion you will see that 132608 == 0x20600
556 so noticed that the elif will never be matched !
557 Apparently there was already a try to modify this in CVS which
558 was reverted (it was plain wrong).
559
560 I don't know when __kernel_old_dev_t is needed, but with a 2.6.7
561 or a 2.6.8 this is __kernel_dev_t wich is needed.
562
563 I corrected this with the following patch but maybe older 2.6
564 still need __kernel_old_dev_t ?
565
566 I think this should be corrected before 1.0.
567
568 Thanks
569 Aurel
570
571 Members: 
572         libbb/loop.c:1.10->1.11 
573
574 ---------------------
575 PatchSet 4341 
576 Date: 2004/08/16 08:36:28
577 Author: andersen
578 Branch: HEAD
579 Tag: (none) 
580 Log:
581 Use __kernel_old_dev_t for 2.6.x kernels
582
583 Members: 
584         libbb/loop.c:1.11->1.12 
585
586 ---------------------
587 PatchSet 4342 
588 Date: 2004/08/16 08:38:34
589 Author: andersen
590 Branch: HEAD
591 Tag: (none) 
592 Log:
593 Joe.C writes:
594
595  This bug is in busybox 1.0.0-rc2. When using lash exec
596 builtin with redirection, the opened file fd keep increasing.
597 For example, please try the following command with lash.
598
599
600 ls -al /proc/<lash pid>/fd
601 exec /bin/sh 2>/dev/null
602 ls -al /proc/<lash pid>/fd
603
604   The last 'ls' command output will look like this. The fd
605 number 4 shouldn't exist.
606
607 lrwx------    1 501      100         64 Aug 13 13:56 4 -> /dev/pts/5
608 l-wx------    1 501      100         64 Aug 13 13:56 2 -> /dev/null
609 lrwx------    1 501      100         64 Aug 13 13:56 1 -> /dev/pts/5
610 lrwx------    1 501      100         64 Aug 13 13:56 0 -> /dev/pts/5
611 dr-xr-xr-x    3 501      100          0 Aug 13 13:56 ..
612 dr-x------    2 501      100          0 Aug 13 13:56 .
613
614   This one-line patch fix this problem by setting CLOEXEC flag for
615 squirrel fd. Please apply.
616
617 Joe.C
618
619 Members: 
620         shell/lash.c:1.160->1.161 
621
622 ---------------------
623 PatchSet 4343 
624 Date: 2004/08/16 09:07:39
625 Author: andersen
626 Branch: HEAD
627 Tag: (none) 
628 Log:
629 Bertrand Baudet writes:
630
631 Looks like the -D and -H options of the adduser applet aren't handle
632 properly in BusyBox.
633
634 This patch fixes the masks definition for those options according to
635 there position in the optstring.
636
637 Patch against RC2 but should also apply cleanly against CVS.
638
639 Bertrand
640
641 Members: 
642         loginutils/adduser.c:1.9->1.10 
643
644 ---------------------
645 PatchSet 4344 
646 Date: 2004/08/16 09:29:42
647 Author: andersen
648 Branch: HEAD
649 Tag: (none) 
650 Log:
651 Do not use vfork, as init is not vfork safe.  Do not allow
652 askfirst when mmuless.
653
654 Members: 
655         init/init.c:1.203->1.204 
656
657 ---------------------
658 PatchSet 4345 
659 Date: 2004/08/16 10:22:34
660 Author: andersen
661 Branch: HEAD
662 Tag: (none) 
663 Log:
664 Only pass modprobe module params with 2.6.x kernel support.
665  -Erik
666
667 Members: 
668         modutils/modprobe.c:1.38->1.39 
669
670 ---------------------
671 PatchSet 4346 
672 Date: 2004/08/16 10:23:33
673 Author: andersen
674 Branch: HEAD
675 Tag: (none) 
676 Log:
677 Bump version
678
679 Members: 
680         Rules.mak:1.36->1.37 
681