small bug found after strength test
[oweals/busybox.git] / Changelog
index 9744dab6c910f4e8c0324cd58e2c4162dcbd57cc..721fc82707a33eaaef427dfa7588c87908969b80 100644 (file)
--- a/Changelog
+++ b/Changelog
 ---------------------
-PatchSet 3773 
-Date: 2003/12/11 02:48:15
+PatchSet 4347 
+Date: 2004/08/16 10:29:28
 Author: andersen
 Branch: HEAD
-Tag: busybox_1_00_pre4 
+Tag: busybox_1_00_rc3 
 Log:
-prepare for release
+Prepare for release
 
 Members: 
-       Changelog:1.284->1.285 
-       README:1.29->1.30 
-       docs/busybox.net/news.html:1.1->1.2 
+       Changelog:1.294->1.295 
+       docs/busybox_header.pod:1.17->1.18 
+       docs/busybox.net/news.html:1.21->1.22 
+       docs/busybox.net/screenshot.html:1.11->1.12 
 
 ---------------------
-PatchSet 3774 
-Date: 2003/12/11 07:13:15
+PatchSet 4348 
+Date: 2004/08/18 17:57:16
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-some minor website cleanups
+Fixup 'dc' usage
 
 Members: 
-       docs/busybox.net/cvs_anon.html:1.8->1.9 
-       docs/busybox.net/cvs_write.html:1.7->1.8 
-       docs/busybox.net/header.html:1.3->1.4 
-       docs/busybox.net/news.html:1.2->1.3 
+       include/usage.h:1.218->1.219 
 
 ---------------------
-PatchSet 3775 
-Date: 2003/12/11 08:04:49
+PatchSet 4349 
+Date: 2004/08/19 18:22:13
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Fixup some html bugs
+Patch from Vladimir N. Oleynik:
+
+On Wed Aug 18, 2004 at 06:52:57PM +0800, Matt Johnston wrote:
+> I've come across some strange-seeming behaviour when running programs
+> under Busybox (1.0.0-rc3) ash. If the child process sets stdin to be
+> non-blocking and then exits, the parent ash will also exit. A quick strace
+> shows that a subsequent read() from stdin returns EAGAIN (as would be
+> expected):
+
+Thanks!
+Patch attached.
+
+
+--w
+vodz
 
 Members: 
-       docs/busybox.net/cvs_anon.html:1.9->1.10 
-       docs/busybox.net/footer.html:1.1->1.2 
-       docs/busybox.net/header.html:1.4->1.5 
-       docs/busybox.net/news.html:1.3->1.4 
-       docs/busybox.net/oldnews.html:1.17->1.18 
-       docs/busybox.net/screenshot.html:1.7->1.8 
+       shell/ash.c:1.104->1.105 
+       shell/cmdedit.c:1.92->1.93 
 
 ---------------------
-PatchSet 3776 
-Date: 2003/12/11 18:03:15
+PatchSet 4350 
+Date: 2004/08/19 18:25:02
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-It appears the Netgear WG602 distributes source
+Patch from Tito documenting the '-q' option
 
 Members: 
-       docs/busybox.net/products.html:1.2->1.3 
-       docs/busybox.net/shame.html:1.2->1.3 
+       include/usage.h:1.219->1.220 
 
 ---------------------
-PatchSet 3777 
-Date: 2003/12/12 00:08:57
+PatchSet 4351 
+Date: 2004/08/19 18:26:26
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Fix compile when CONFIG_FEATURE_HDPARM_GET_IDENTITY is disabled
+Patch from Tito adding support for '-q'
 
 Members: 
-       miscutils/hdparm.c:1.8->1.9 
+       procps/kill.c:1.52->1.53 
 
 ---------------------
-PatchSet 3778 
-Date: 2003/12/12 07:01:14
+PatchSet 4352 
+Date: 2004/08/19 18:30:31
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Doh!  I broke automatic filesystem type guessing.  Fix mount so
-it will properly fall back to /proc/mounts when /etc/filesystems
-is missing, allowing mount to guess the correct fs type when a
-fs type is not explicitly specified.
- -Erik
+Patch from Mike Castle to cleanup some modutils issues, in
+particular making alias support work better.
 
 Members: 
-       util-linux/mount.c:1.114->1.115 
+       modutils/modprobe.c:1.39->1.40 
 
 ---------------------
-PatchSet 3779 
-Date: 2003/12/12 19:05:15
+PatchSet 4353 
+Date: 2004/08/19 19:15:06
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Be certain we use a correct entity when performing the
-BLKGETSIZE64 ioctl -- don't just assume 8,
+regularly update the status line display
+ -Erik
 
 Members: 
-       util-linux/fdisk.c:1.13->1.14 
+       editors/vi.c:1.37->1.38 
 
 ---------------------
-PatchSet 3780 
-Date: 2003/12/15 21:57:43
-Author: russ
+PatchSet 4354 
+Date: 2004/08/19 19:17:30
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Get vfork_daemon_rexec working under uclinux
+Patch from Rodney Radford adding x86_64 support.
 
 Members: 
-       include/libbb.h:1.122->1.123 
-       libbb/vfork_daemon_rexec.c:1.1->1.2 
-       miscutils/crond.c:1.10->1.11 
-       sysklogd/klogd.c:1.18->1.19 
-       sysklogd/syslogd.c:1.104->1.105 
+       modutils/insmod.c:1.122->1.123 
 
 ---------------------
-PatchSet 3781 
-Date: 2003/12/15 22:09:36
-Author: russ
+PatchSet 4355 
+Date: 2004/08/25 02:02:19
+Author: bug1
 Branch: HEAD
 Tag: (none) 
 Log:
-options is a pretty common symbol, bad idea to use as a global in udhcp when compiling into busybox
+Patch from Manousaridis Angelos to cleanup stale file descriptors, it was preventing unmounting an initial filesystem.
 
 Members: 
-       networking/udhcp/clientpacket.c:1.3->1.4 
-       networking/udhcp/files.c:1.4->1.5 
-       networking/udhcp/options.c:1.5->1.6 
-       networking/udhcp/options.h:1.3->1.4 
-       networking/udhcp/script.c:1.5->1.6 
+       loginutils/getty.c:1.13->1.14 
+       loginutils/login.c:1.19->1.20 
 
 ---------------------
-PatchSet 3782 
-Date: 2003/12/15 22:11:26
-Author: russ
+PatchSet 4356 
+Date: 2004/08/26 21:45:21
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-make udhcp work under uclinux, to an extent
+Felipe Kellermann writes:
+
+Unfortunatelly I've not followed the last two or three weeks commits (new
+semester started and so now I rarely have time to fix my personal bridge)
+but tonight I synched my tree and immediately noticed a rather nasty bug!
+
+[Using libbb/interface.c:1.24]
+# grep eth0 /proc/net/dev | xargs
+eth0:311708397 237346 1670 0 1789 1670 0 0 22580308 120297 0 0 0 102 0 0
+
+# ifconfig eth0
+eth0      Link encap:Ethernet  HWaddr 00:20:AF:7C:EA:B7
+          inet addr:10.0.0.1  Bcast:10.0.0.127  Mask:255.255.255.128
+          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
+          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
+          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
+          collisions:0 txqueuelen:1000
+          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
+          Interrupt:5 Base address:0x320
+
+
+All values `ifconfig' is showing are `zeroed' -- I quickly looked at the
+last commits I missed and noticed that there were a commit relating to
+ifconfig, libbb/interface.c:1.23->1.24 (PatchSet 4338).
+
+I've reversed the patch and now everything is working again.  I compared
+the get_name's return values from the 1.23 and 1.24 and quickly noticed
+that the new revision is leaving `p' right on the sep while the rev 1.23
+was leaving it right on the starting of the values...
+
+1-line, 1/3-minute patch attached  :-)
 
 Members: 
-       networking/udhcp/common.c:1.2->1.3 
-       networking/udhcp/script.c:1.6->1.7 
+       libbb/interface.c:1.24->1.25 
 
 ---------------------
-PatchSet 3783 
-Date: 2003/12/16 01:29:40
-Author: russ
+PatchSet 4357 
+Date: 2004/08/26 22:18:56
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-not sure who made this change, but it certainly mucks things up (note 'fwrite(leases, ...'), adds a bit more code, and some stack overhead. Anywho, this fixes it, and retains the spirit of what the submitter of this change was attempting to acheive (the entire lease is written at once in a struct)
+Tito writes:
+
+Hi,
+I've spent the half night staring at the devilish  my_getpwuid and my_getgrgid functions
+trying to find out a way to avoid actual and future potential buffer overflow problems
+without breaking existing code.
+Finally I've  found a not intrusive way to do this that surely doesn't break existing code
+and fixes a couple of problems too.
+The attached patch:
+1) changes the behaviour of my_getpwuid and my_getgrgid to avoid potetntial buffer overflows
+2) fixes all occurences of this function calls in tar.c , id.c , ls.c, whoami.c, logger.c, libbb.h.
+3) The behaviour of tar, ls and  logger is unchanged.
+4) The behavior of ps with somewhat longer usernames messing up output is fixed.
+5) The only bigger change was the increasing of size of the buffers in id.c to avoid
+     false negatives (unknown user: xxxxxx) with usernames longer than 8 chars.
+     The value i used ( 32 chars ) was taken from the tar header ( see gname and uname).
+     Maybe this buffers can be reduced a bit  ( to 16 or whatever ), this is up to you.
+6) The increase of size of the binary is not so dramatic:
+     size busybox
+       text    data     bss     dec     hex filename
+     239568    2300   36816  278684   4409c busybox
+    size busybox_fixed
+       text    data     bss     dec     hex filename
+     239616    2300   36816  278732   440cc busybox
+7) The behaviour of whoami changed:
+    actually it  prints out an username cut down to the size of the buffer.
+    This could be fixed by increasing the size of the buffer as in id.c or
+    avoid the use of my_getpwuid and use getpwuid directly instead.
+    Maybe this colud be also remain unchanged......
+
+Please apply if you think it is ok to do so.
+The diff applies on today's cvs tarball (2004-08-25).
+Thanks in advance,
+Ciao,
+Tito
 
 Members: 
-       networking/udhcp/files.c:1.5->1.6 
+       archival/tar.c:1.194->1.195 
+       coreutils/id.c:1.24->1.25 
+       coreutils/ls.c:1.110->1.111 
+       coreutils/whoami.c:1.21->1.22 
+       include/libbb.h:1.133->1.134 
+       libbb/my_getgrgid.c:1.7->1.8 
+       libbb/my_getpwuid.c:1.7->1.8 
+       libbb/procps.c:1.13->1.14 
+       sysklogd/logger.c:1.39->1.40 
 
 ---------------------
-PatchSet 3784 
-Date: 2003/12/16 01:33:38
-Author: russ
+PatchSet 4358 
+Date: 2004/08/26 22:22:50
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-whoops
+Vladimir N. Oleynik writes:
+
+Ming-Ching,
+
+>>No. Here there are no mistakes.
+>>You using POST metod.
+>>For get data you should read from stdin CONTENT_LENGTH bytes.
+
+>Hower as I posted a little while ago, there is indeed a bug
+>in POST method if the CONTENT_LENGTH is bigger
+>than sizeof(wbuf[128]). So if your CGI script is expecting to
+>read the full CONTENT_LENGTH, it might block forever,
+>because it will only transfer sizeof(wbuf) to the CGI.
+
+Ok, Ok. I should find time to understand with a problem.
+Try attached patch.
+
+
+--w
+vodz
 
 Members: 
-       networking/udhcp/files.c:1.6->1.
+       networking/httpd.c:1.26->1.2
 
 ---------------------
-PatchSet 3785 
-Date: 2003/12/16 01:42:18
-Author: russ
+PatchSet 4359 
+Date: 2004/08/26 22:26:26
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-when compiled standalone, udhcp needs these headers
+Save a line or two
 
 Members: 
-       networking/udhcp/files.c:1.7->1.8 
+       loginutils/getty.c:1.14->1.15 
+       loginutils/login.c:1.20->1.21 
 
 ---------------------
-PatchSet 3786 
-Date: 2003/12/16 02:28:20
-Author: russ
+PatchSet 4360 
+Date: 2004/08/26 22:36:02
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-start attempting to bring udhcp in busybox back to the state where it is (ideally) an exact copy of udhcp outside of busybox so that its easy to merge back and forth
+Tito writes:
+
+Hi,
+I've fixed also the issue of whoami cutting down usernames.
+This time I cannot send a diff because i don't know if my previous patches will be applied
+or not, so I send in the whole file.
+The changes I've made don't affect size but ensure that usernames of whatever lenght
+are correctly displayed.
+root@localhost:/dev/pts/3:/root/Desktop/busybox/coreutils# size whoami_orig.o
+   text    data     bss     dec     hex filename
+    102       0       0     102      66 whoami_orig.o
+root@localhost:/dev/pts/3:/root/Desktop/busybox/coreutils# size whoami.o
+   text    data     bss     dec     hex filename
+     93       0       0      93      5d whoami.o
+
+This should be applied even if the other patches aren't as this matches the behaviour of the  GNU whoami.
+
+Thanks in advance,
+Ciao,
+Tito
 
 Members: 
-       networking/udhcp/dhcpc.c:1.13->1.14 
-       networking/udhcp/dumpleases.c:1.5->1.6 
-       networking/udhcp/libbb_udhcp.h:1.3->1.4 
+       coreutils/whoami.c:1.22->1.23 
 
 ---------------------
-PatchSet 3787 
-Date: 2003/12/16 02:29:46
-Author: russ
+PatchSet 4361 
+Date: 2004/08/26 23:01:34
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-why the complication of a static string rather than a define? gcc isn't dumb
+The login applet should always be setuid root
 
 Members: 
-       networking/udhcp/dhcpd.h:1.3->1.4 
-       networking/udhcp/dumpleases.c:1.6->1.7 
-       networking/udhcp/files.c:1.8->1.9 
+       include/applets.h:1.114->1.115 
 
 ---------------------
-PatchSet 3788 
-Date: 2003/12/16 02:34:19
-Author: russ
+PatchSet 4362 
+Date: 2004/08/26 23:13:00
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-forgotten include
+Improve the setuid situation a bit, and make it more apparent
+when people really ought to make busybox setuid root.
+ -Erik
 
 Members: 
-       networking/udhcp/dumpleases.c:1.7->1.8 
+       Makefile:1.296->1.297 
+       loginutils/Config.in:1.8->1.9 
+       miscutils/Config.in:1.18->1.19 
 
 ---------------------
-PatchSet 3789 
-Date: 2003/12/16 02:38:09
-Author: russ
+PatchSet 4363 
+Date: 2004/08/26 23:15:29
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-revert removal of define
+Togg writes:
+
+Syslogd wont start if remote-logging is enabled and the connection to the
+remote-log server is not possible on syslogd startup.
+
+I found a patch somewhere which works like a charm. It uses sendto() which
+seems more reliable for this issue.
+
+Please see attached patch. Many people will be more happy with this included
+I think.
+
+Regards,
+Togg
 
 Members: 
-       networking/udhcp/Makefile.in:1.7->1.8 
+       sysklogd/syslogd.c:1.113->1.114 
 
 ---------------------
-PatchSet 3790 
-Date: 2003/12/16 07:43:20
+PatchSet 4364 
+Date: 2004/08/27 19:55:28
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Using vlock also requires libcrypt
+Quiet a few warnings
 
 Members: 
-       loginutils/Makefile.in:1.5->1.6 
+       init/mesg.c:1.2->1.3 
+       shell/msh.c:1.20->1.21 
 
 ---------------------
-PatchSet 3791 
-Date: 2003/12/16 12:04:01
+PatchSet 4365 
+Date: 2004/08/28 00:43:05
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-remove reference to missing header file which is breaking the build
+Fixup some warnings
 
 Members: 
-       networking/udhcp/files.c:1.9->1.10 
+       archival/bunzip2.c:1.19->1.20 
+       archival/libunarchive/decompress_bunzip2.c:1.13->1.14 
+       coreutils/uniq.c:1.21->1.22 
+       modutils/insmod.c:1.123->1.124 
+       networking/ipcalc.c:1.10->1.11 
+       util-linux/mkfs_minix.c:1.42->1.43 
 
 ---------------------
-PatchSet 3792 
-Date: 2003/12/16 20:44:15
-Author: russ
+PatchSet 4366 
+Date: 2004/09/02 22:21:39
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-include headers with prototypes to make sure prototypes match
+Tito writes:
+
+Hi Erik,
+Hi to all,
+This is part five of the my_get*id story.
+I've tweaked a bit this two functions to make them more flexible,
+but this changes will not affect existing code.
+Now they work so:
+1) my_getpwuid( char *user, uid_t uid, int bufsize)
+
+   if bufsize is > 0 char *user cannot be set to NULL
+                     on success username is written on static allocated buffer
+                     on failure uid as string is written to buffer and NULL is returned
+   if bufsize is = 0 char *user can be set to NULL
+                     on success username is returned
+                     on failure NULL is returned
+   if bufsize is < 0 char *user can be set to NULL
+                     on success username is returned
+                     on failure an error message is printed and the program exits
+
+  2) 1) my_getgrgid( char *group, uid_t uid, int bufsize)
+
+   if bufsize is > 0 char *group cannot be set to NULL
+                     on success groupname is written on static allocated buffer
+                     on failure gid as string is written to buffer and NULL is returned
+   if bufsize is = 0 char *group can be set to NULL
+                     on success groupname is returned
+                     on failure NULL is returned
+   if bufsize is < 0 char *group can be set to nULL
+                     on success groupname is returned
+                     on failure an error message is printed and the program exits
+
+This changes were needed mainly for my new id applet.
+It is somewhat bigger then the previous but matches the behaviour of GNU id
+and is capable to handle usernames of whatever length.
+BTW: at a first look it seems to me that it will integrate well (with just a few changes)
+with the pending patch  in patches/id_groups_alias.patch.
+The increase in size is balanced by the removal of my_getpwnamegid.c
+from libbb as this was used only in previous id applet and by size optimizations
+made possible in whoami.c and in passwd.c.
+I know that we are in feature freeze but I think that i've tested it enough
+(at least I hope so.......).
 
 Members: 
-       networking/udhcp/clientpacket.c:1.4->1.5 
-       networking/udhcp/clientpacket.h:1.1->1.2 
-       networking/udhcp/leases.c:1.2->1.3 
-       networking/udhcp/packet.c:1.2->1.3 
-       networking/udhcp/script.c:1.7->1.8 
-       networking/udhcp/serverpacket.c:1.2->1.3 
-       networking/udhcp/serverpacket.h:1.1->1.2 
-       networking/udhcp/socket.c:1.4->1.5 
+       coreutils/id.c:1.25->1.26 
+       coreutils/whoami.c:1.23->1.24 
+       include/libbb.h:1.134->1.135 
+       libbb/Makefile.in:1.36->1.37 
+       libbb/my_getgrgid.c:1.8->1.9 
+       libbb/my_getpwuid.c:1.8->1.9 
+       loginutils/passwd.c:1.7->1.8 
 
 ---------------------
-PatchSet 3793 
-Date: 2003/12/16 22:46:33
-Author: russ
+PatchSet 4367 
+Date: 2004/09/02 22:22:16
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-clean up some bad, bad formatting
+Tito writes:
+
+The second patch contains:
+1) a size optimization for adduser.c
+2) removes a warning about an unused variable in syslogd.c if CONFIG_FEATURE_REMOTE_LOG is not set
+3)cosmetic fixes for addgroup_full_usage and adduser_full_usage
+
+Ciao,
+Tito
 
 Members: 
-       networking/udhcp/files.c:1.10->1.11 
+       include/usage.h:1.220->1.221 
+       loginutils/adduser.c:1.10->1.11 
+       sysklogd/syslogd.c:1.114->1.115 
 
 ---------------------
-PatchSet 3794 
-Date: 2003/12/18 22:25:38
-Author: russ
+PatchSet 4368 
+Date: 2004/09/02 23:03:24
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Finish remerging busybox udhcp and udhcp. Some cleanups as well.
+Based on patches from Mike Frysinger, add insmod support for
+sparc and ia64 (itanium).
+
+Also, reorganize the insmod architecture support code to be
+alphasorted and less messy.
+
+Update the readme to list current insmod arch support.
 
 Members: 
-       networking/udhcp/AUTHORS:1.2->1.3 
-       networking/udhcp/ChangeLog:1.6->1.7 
-       networking/udhcp/Makefile.in:1.8->1.9 
-       networking/udhcp/README:1.2->1.3 
-       networking/udhcp/TODO:1.2->1.3 
-       networking/udhcp/arpping.c:1.3->1.4 
-       networking/udhcp/clientsocket.c:INITIAL->1.1 
-       networking/udhcp/clientsocket.h:INITIAL->1.1 
-       networking/udhcp/common.c:1.3->1.4 
-       networking/udhcp/common.h:1.1->1.2 
-       networking/udhcp/dhcpc.c:1.14->1.15 
-       networking/udhcp/dhcpc.h:1.2->1.3 
-       networking/udhcp/dhcpd.c:1.3->1.4 
-       networking/udhcp/files.c:1.11->1.12 
-       networking/udhcp/leases.c:1.3->1.4 
-       networking/udhcp/leases.h:1.2->1.3 
-       networking/udhcp/leases_file.c:1.1->1.2(DEAD) 
-       networking/udhcp/libbb_udhcp.h:1.4->1.5 
-       networking/udhcp/pidfile.c:1.2->1.3 
-       networking/udhcp/pidfile.h:1.2->1.3 
-       networking/udhcp/script.c:1.8->1.9 
-       networking/udhcp/signalpipe.c:INITIAL->1.1 
-       networking/udhcp/signalpipe.h:INITIAL->1.1 
-       networking/udhcp/socket.c:1.5->1.6 
-       networking/udhcp/socket.h:1.1->1.2 
+       README:1.35->1.36 
+       modutils/insmod.c:1.124->1.125 
 
 ---------------------
-PatchSet 3795 
-Date: 2003/12/18 22:40:58
-Author: russ
+PatchSet 4369 
+Date: 2004/09/02 23:11:52
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-rename __getgrent so that it doesn't conflict with some libc's
+No longer needed
 
 Members: 
-       include/grp_.h:1.1->1.2 
-       libpwdgrp/__getgrent.c:1.4->1.5 
-       libpwdgrp/fgetgrent.c:1.2->1.3 
-       libpwdgrp/getgrgid.c:1.3->1.4 
-       libpwdgrp/getgrnam.c:1.3->1.4 
-       libpwdgrp/grent.c:1.3->1.4 
-       libpwdgrp/initgroups.c:1.5->1.6 
+       libbb/my_getpwnamegid.c:1.7->1.8(DEAD) 
+       patches/id_groups_alias.patch:1.1->1.2(DEAD) 
 
 ---------------------
-PatchSet 3796 
-Date: 2003/12/19 10:13:10
-Author: bug1
+PatchSet 4370 
+Date: 2004/09/02 23:13:10
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Fix a bug preventing use of escaped characters that use the signed bit
+Jonas Holmberg from axis dot com writes:
+
+This patch makes msh handle variable expansion within backticks more
+correctly.
+
+Current behaviour (wrong):
+--------------------------
+
+BusyBox v1.00-rc3 (2004.08.26-11:51+0000) Built-in shell (msh)
+Enter 'help' for a list of built-in commands.
+
+$ A='`echo hello`'
+$ echo $A
+`echo hello`
+$ echo `echo $A`
+hello
+$
+
+
+New behaviour (correct):
+------------------------
+
+BusyBox v1.00-rc3 (2004.08.26-11:51+0000) Built-in shell (msh)
+Enter 'help' for a list of built-in commands.
+
+$ A='`echo hello`'
+$ echo $A
+`echo hello`
+$ echo `echo $A`
+`echo hello`
+$
+
+The current behaviour (wrong according to standards) was actually my
+fault. msh handles backticks by executing a subshell (which makes it
+work on MMU-less systems). Executing a subshell makes it hard to only
+expand variables once in the parent. Therefore I export all variables
+that will be expanded within the backticks and let the subshell handle
+the expansion instead.
+
+The bug was found while searching for security leaks in CGI-scripts.
+Current behaviour of msh makes it easy to expand backticks by mistake
+in $QUERY_STRING. I recommend appling the patch before release of bb
+1.00.
+
+/Jonas
 
 Members: 
-       libbb/getopt_ulflags.c:1.3->1.4 
+       shell/msh.c:1.21->1.22 
 
 ---------------------
-PatchSet 3797 
-Date: 2003/12/19 10:34:36
+PatchSet 4371 
+Date: 2004/09/08 10:01:07
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-vodz noticed we need to cast things back to an unsigned long
-or the syscall will not get the proper arguments.
+Patrick Huesmann noticed BusyBox would not link when
+CONFIG_FEATURE_COMMAND_EDITING was defined *and*
+CONFIG_FEATURE_COMMAND_TAB_COMPLETION was undefined.
+
+Vladimir N. Oleynik writes:
+
+Its declare always, also if CONFIG_FEATURE_COMMAND_TAB_COMPLETION
+undefined.
+Patch to CVS version attached.
+
+--w
+vodz
 
 Members: 
-       util-linux/fdisk.c:1.14->1.15 
+       shell/ash.c:1.105->1.106 
 
 ---------------------
-PatchSet 3798 
-Date: 2003/12/19 10:37:52
-Author: bug1
+PatchSet 4372 
+Date: 2004/09/08 10:56:06
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Use getopt_ulflags
+Felipe Kellermann writes:
+
+The Togg's sysklogd patch to use sendto() on remote logging is formatting
+strangely (using `<' and '>' surrounding the `msg' string message).  This
+is OK, but this is not the standard way of formatting this message.
+
+So this patch does the following:
+
+o Fix the formatting to the standard way.
+o Uses `MAXLINE' when needed;
+o Don't loop sending messages without a "sleeping time",
+  I'm now doing `now = 1', `now <<= 1';
+o Don't die on `init_RemoteLog' when starting up (feature!)
+  We're now trying to connect every time we have an invalid fd;
+o Removes one static uneeded variable.
+o Removes two automatic uneeded variables.
 
 Members: 
-       networking/ftpgetput.c:1.9->1.10 
+       sysklogd/syslogd.c:1.115->1.116 
 
 ---------------------
-PatchSet 3799 
-Date: 2003/12/19 10:40:56
+PatchSet 4373 
+Date: 2004/09/08 20:13:05
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-don't use kernel headers
+Fixup URL
 
 Members: 
-       networking/vconfig.c:1.3->1.4 
+       docs/busybox.net/cvs_write.html:1.9->1.10 
 
 ---------------------
-PatchSet 3800 
-Date: 2003/12/19 10:46:00
-Author: andersen
+PatchSet 4374 
+Date: 2004/09/14 13:59:44
+Author: bug1
 Branch: HEAD
 Tag: (none) 
 Log:
-Manousaridis Angelos writes:
+I have to assume both Avaks and LSILogic are deliberatly ignoring me.
 
-Hello,
+Members: 
+       docs/busybox.net/shame.html:1.18->1.19 
 
-I have been using busybox for some time now, for an ARM based platform.
-I was very pleased when I tried the 1.00preX series, with all the new
-utilities and daemons.
+---------------------
+PatchSet 4375 
+Date: 2004/09/14 16:08:02
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Patch from tito to add argument checking.
+
+Members: 
+       loginutils/addgroup.c:1.12->1.13 
 
-I found out that the ifupdown in busybox does not behave exaclty like
-the debian version. Then the pre-up script fails, the interface is
-getting up. Also when the post-up script fails the return value is
-ignored. Actually everything is always run and the return value is
-always true. I looked at the original implementation from debian and
-fixed the busybox version to do the same. A patch is attached if anyone
-is interested.
+---------------------
+PatchSet 4376 
+Date: 2004/09/14 16:23:56
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Patch from Felipe Kellermann, adds missing applet usage options, removes usage
+for options that are currently not implemented and fixes typos.
 
 Members: 
-       networking/ifupdown.c:1.34->1.35 
+       include/usage.h:1.221->1.222 
 
 ---------------------
-PatchSet 3801 
-Date: 2003/12/19 10:47:40
-Author: andersen
+PatchSet 4377 
+Date: 2004/09/14 17:24:58
+Author: bug1
 Branch: HEAD
 Tag: (none) 
 Log:
-Manousaridis Angelos writes:
+Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few extra const's also.
 
-Another issue I found was with the iproute utility. While using another
-program I found that it failed because the "ip route del" command was
-not found. I looked at the full iproute implementation and this command
-exists. The busybox version has the "ip route delete" command. I have
-created a patch which makes the "ip route del" command an alias to the
-"ip route delete" command.
+Members: 
+       networking/ifupdown.c:1.50->1.51 
+       networking/telnet.c:1.43->1.44 
+       networking/telnetd.c:1.12->1.13 
+       networking/tftp.c:1.28->1.29 
+       util-linux/getopt.c:1.13->1.14 
+
+---------------------
+PatchSet 4378 
+Date: 2004/09/14 18:12:13
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Patch by Felipe Kellermann, fix a bug introduced in the last patch by adding a condition around the remote logging, also adds some comments.
 
 Members: 
-       networking/libiproute/iproute.c:1.11->1.12 
+       sysklogd/syslogd.c:1.116->1.117 
 
 ---------------------
-PatchSet 3802 
-Date: 2003/12/19 11:07:59
-Author: andersen
+PatchSet 4379 
+Date: 2004/09/14 18:56:52
+Author: bug1
 Branch: HEAD
 Tag: (none) 
 Log:
-Tito writes:
+Apply patch from Felipe Kellermann to simlify logic of sort functions.
+I reversed the result of the sort functions to make the big numbers go to the top.
 
-Hi to all,
-here is a new patch for bb's devfsd. The news are:
+Members: 
+       procps/top.c:1.12->1.13 
 
-1) Size reduction for the basic setup with no options compiled in from :
-     text        data     bss     dec       hex   filename
-    10591     392      543    11526   2d06 devfsd.o
-    rw-r--r--    1 root     root        18536 Dec 18 21:52 devfsd.o
+---------------------
+PatchSet 4380 
+Date: 2004/09/14 19:14:00
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+remove a cut/paste mistake, i better get some sleep.
 
-    to:
+Members: 
+       procps/top.c:1.13->1.14 
 
-    text        data     bss     dec        hex  filename
-    9303      392      543    10238    27fe devfsd.o
-    rw-r--r--    1 root     root        16528 Dec 18 22:02 devfsd.o
+---------------------
+PatchSet 4381 
+Date: 2004/09/15 02:05:23
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Patch by Felipe Kellermann, use the common escape handling function and remove some unused code.
 
-   With this setup you should not expect much output from devfsd
-    ( just at start or with -v) and if some error occurs it only exits 1.
-   To have more output enable:  " Increases logging (and size)" (+1568 b).
+Members: 
+       coreutils/printf.c:1.22->1.23 
 
-2) The option "Adds function names to program output" was removed from config menu
-    and now to enable debug output you can use bb's standard option:
-    "Build BusyBox with Debugging symbols".
-    Be careful as with this option enabled a lot of data are outputted to /dev/log and/or to stderr.
+---------------------
+PatchSet 4382 
+Date: 2004/09/15 02:39:09
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Only write to shadow file is shadow passwords are enabled. Patch by magicfox modified by myself to retain check for shadow file access.
 
-3) A new option: "Enables the -fg and -np option" was added to config menu  (+128 b).
+Members: 
+       loginutils/passwd.c:1.8->1.9 
 
-BTW: option "Adds support for MODLOAD keyword in devsfd.conf"  adds 268 b.
+---------------------
+PatchSet 4383 
+Date: 2004/09/15 03:04:07
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Tito writes,
+"This patch fixes all the bugs in id previously spotted by vodz and me.
+The binary size increased a bit,  but now it should work as expected."
 
-4) The following keywords in devsfd.conf are supported:
-   "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
-   "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",  "MKOLDCOMPAT",
-   "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
+Members: 
+       coreutils/id.c:1.26->1.27 
+       include/libbb.h:1.135->1.136 
+       libbb/Makefile.in:1.37->1.38 
+       libbb/my_getgrgid.c:1.9->1.10 
+       libbb/my_getpwuid.c:1.9->1.10 
+       libbb/my_getug.c:INITIAL->1.1 
 
-   But only if they are written UPPERCASE!!!!!!!!
+---------------------
+PatchSet 4384 
+Date: 2004/09/15 03:24:32
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Add a missing brace, patch by Hideki IWAMOTO
 
-5)Help text in usage.h was modified.
+Members: 
+       coreutils/stty.c:1.9->1.10 
 
-6)Something that I have forgotten..........
+---------------------
+PatchSet 4385 
+Date: 2004/09/23 20:08:46
+Author: andersen
+Branch: HEAD
+Tag: (none) 
+Log:
+Add some notes on how to make telnetd actually work
 
-I've tested this for the last week on my box and it seems to work as expected.
+Members: 
+       networking/Config.in:1.28->1.29 
 
-Thanks in advance and please apply.
+---------------------
+PatchSet 4386 
+Date: 2004/09/24 01:25:39
+Author: andersen
+Branch: HEAD
+Tag: (none) 
+Log:
+A bit of extra explanation regarding STANDALONE
 
-Ciao,
+Members: 
+       shell/Config.in:1.16->1.17 
 
-Tito
+---------------------
+PatchSet 4387 
+Date: 2004/09/24 02:04:13
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Patch from David Daney to make the -i option work with -l.
 
 Members: 
-       include/usage.h:1.177->1.178 
-       miscutils/Config.in:1.11->1.12 
-       miscutils/devfsd.c:1.5->1.6 
+       coreutils/ls.c:1.111->1.112 
 
 ---------------------
-PatchSet 3803 
-Date: 2003/12/19 11:23:47
-Author: andersen
+PatchSet 4388 
+Date: 2004/09/24 02:36:44
+Author: bug1
 Branch: HEAD
 Tag: (none) 
 Log:
-Patch from Stephane Billiart:
+Remove this error message at Vodz request, it was misleading.
+
+Members: 
+       libbb/correct_password.c:1.4->1.5 
 
-This removes references to config->remoteuser when
-CONFIG_FEATURE_HTTPD_CGI=y but CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
+---------------------
+PatchSet 4389 
+Date: 2004/09/24 09:09:44
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Fix a typo
 
 Members: 
-       networking/httpd.c:1.20->1.21 
+       shell/Config.in:1.17->1.18 
 
 ---------------------
-PatchSet 3804 
-Date: 2003/12/19 11:29:29
-Author: andersen
+PatchSet 4390 
+Date: 2004/09/24 09:18:55
+Author: bug1
 Branch: HEAD
 Tag: (none) 
 Log:
-Patch from Fillod Stephane:
+Patch from Egor Duda
+Attached patch prevents modprobe from trying to call 'insmod (null)'
+whenever nonexistent module is either passed to modprobe via command
+line or mentioned in modules.dep
+
+this replaces cryptic error
+sh: Syntax error: word unexpected (expecting ")")
+with
+modprobe: module some-module not found.
 
-* The "rdate.patch" file makes rdate to NOT settimeofday if the date to be
-set equals current date. This prevents the system from experiencing nasty time
-discontinuities caused by sub-second changes, with a protocol that has only
-over second resolution. Depending on your taste, the "fprintf(stderr..." may be
-removed.
+egor.
 
 Members: 
-       util-linux/rdate.c:1.29->1.30 
+       modutils/modprobe.c:1.40->1.41 
 
 ---------------------
-PatchSet 3805 
-Date: 2003/12/19 11:30:13
-Author: andersen
+PatchSet 4391 
+Date: 2004/09/24 09:24:27
+Author: bug1
 Branch: HEAD
 Tag: (none) 
 Log:
-Patch from Fillod Stephane:
+Patch from Dmitry Zakharov to fix a bug triggered by freeswan's scripts.
 
-* While I'm at it, there's also a "telnetd.patch" which maps CRLF to CR,
-  like netkit-telnet does, required by the loosy Windows telnet clients.
+Members: 
+       editors/awk.c:1.10->1.11 
+
+---------------------
+PatchSet 4392 
+Date: 2004/09/30 00:24:21
+Author: bug1
+Branch: HEAD
+Tag: (none) 
+Log:
+Patch from William Barsse to fix a segfault when multiple files are specified.
 
 Members: 
-       networking/telnetd.c:1.8->1.9 
+       coreutils/tail.c:1.47->1.48 
 
 ---------------------
-PatchSet 3806 
-Date: 2003/12/19 11:32:13
+PatchSet 4393 
+Date: 2004/10/07 00:35:59
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Patch from Fillod Stephane:
+Make it more apparent that archive creation is not supported
 
-  You will find in the attached file "syslog.patch" a patch which adds
-  config options to set at compile time the size of the circular buffer,
-  and some documentation update.
+Members: 
+       archival/ar.c:1.49->1.50 
+
+---------------------
+PatchSet 4394 
+Date: 2004/10/08 07:21:58
+Author: andersen
+Branch: HEAD
+Tag: (none) 
+Log:
+Patch from Michael Tokarev:
+
+Scenario:
+
+  touch x -- creates plain file name `x'
+  mkdir x -- exits successefully
+
+libbb/make_directory.c, bb_make_directory(), contains
+the following code:
+
+        if (mkdir(path, 0777) < 0) {
+            /* If we failed for any other reason than the directory
+             * already exists, output a diagnostic and return -1.*/
+            if (errno != EEXIST) {
+                fail_msg = "create";
+                umask(mask);
+                break;
+            }
+            /* Since the directory exists, don't attempt to change
+             * permissions if it was the full target.  Note that
+             * this is not an error conditon. */
+            if (!c) {
+                umask(mask);
+                return 0;
+            }
+        }
+
+The assumption that EEXIST error is due to that the *directory*
+already exists is wrong: any file type with that name will cause
+this error to be returned.  Proper way IMHO will be is to stat()
+the path and check whenever this is really a directory.  Below
+(attached) is a patch to fix this issue.
 
 Members: 
-       docs/busybox.sgml:1.50->1.51 
-       include/usage.h:1.178->1.179 
-       sysklogd/Config.in:1.5->1.6 
-       sysklogd/logread.c:1.13->1.14 
-       sysklogd/syslogd.c:1.105->1.106 
+       libbb/make_directory.c:1.15->1.16 
 
 ---------------------
-PatchSet 3807 
-Date: 2003/12/19 12:03:18
-Author: bug1
+PatchSet 4395 
+Date: 2004/10/08 07:45:08
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Allow escaped 8 bit characters in bb_opt_complementaly
+egor duda writes:
+
+Hi!
+
+I've created a patch to busybox' build system to allow building it in
+separate tree in a manner similar to kbuild from kernel version 2.6.
+
+That is, one runs command like
+'make O=/build/some/where/for/specific/target/and/options'
+and everything is built in this exact directory, provided that it exists.
+
+I understand that applyingc such invasive changes during 'release
+candidates' stage of development is at best unwise. So, i'm currently
+asking for comments about this patch, starting from whether such thing
+is needed at all to whether it coded properly.
+
+'make check' should work now, and one make creates Makefile in build
+directory, so one can run 'make' in build directory after that.
+
+One possible caveat is that if we build in some directory other than
+source one, the source directory should be 'distclean'ed first.
+
+egor
 
 Members: 
-       libbb/getopt_ulflags.c:1.4->1.5 
+       Makefile:1.297->1.298 
+       Rules.mak:1.37->1.38 
+       applets/Makefile:1.5->1.6 
+       applets/Makefile.in:1.5->1.6 
+       archival/Makefile:1.7->1.8 
+       archival/Makefile.in:1.5->1.6 
+       archival/libunarchive/Makefile:1.5->1.6 
+       archival/libunarchive/Makefile.in:1.23->1.24 
+       console-tools/Makefile:1.4->1.5 
+       console-tools/Makefile.in:1.5->1.6 
+       coreutils/Makefile:1.3->1.4 
+       coreutils/Makefile.in:1.9->1.10 
+       coreutils/libcoreutils/Makefile:1.3->1.4 
+       coreutils/libcoreutils/Makefile.in:1.3->1.4 
+       debianutils/Makefile:1.3->1.4 
+       debianutils/Makefile.in:1.5->1.6 
+       editors/Makefile:1.4->1.5 
+       editors/Makefile.in:1.5->1.6 
+       findutils/Makefile:1.4->1.5 
+       findutils/Makefile.in:1.4->1.5 
+       init/Makefile:1.5->1.6 
+       init/Makefile.in:1.9->1.10 
+       libbb/Makefile:1.10->1.11 
+       libbb/Makefile.in:1.38->1.39 
+       libpwdgrp/Makefile:1.3->1.4 
+       libpwdgrp/Makefile.in:1.4->1.5 
+       loginutils/Makefile:1.3->1.4 
+       loginutils/Makefile.in:1.8->1.9 
+       miscutils/Makefile:1.7->1.8 
+       miscutils/Makefile.in:1.12->1.13 
+       modutils/Makefile:1.4->1.5 
+       modutils/Makefile.in:1.3->1.4 
+       networking/Makefile:1.7->1.8 
+       networking/Makefile.in:1.19->1.20 
+       networking/libiproute/Makefile:1.3->1.4 
+       networking/libiproute/Makefile.in:1.6->1.7 
+       networking/udhcp/Makefile:1.3->1.4 
+       networking/udhcp/Makefile.in:1.10->1.11 
+       procps/Makefile:1.4->1.5 
+       procps/Makefile.in:1.6->1.7 
+       scripts/config/Makefile:1.4->1.5 
+       shell/Makefile:1.4->1.5 
+       shell/Makefile.in:1.3->1.4 
+       sysklogd/Makefile:1.5->1.6 
+       sysklogd/Makefile.in:1.3->1.4 
+       testsuite/runtest:1.8->1.9 
+       testsuite/du/du-h-works:1.1->1.2 
+       testsuite/du/du-k-works:1.1->1.2 
+       testsuite/du/du-l-works:1.1->1.2 
+       testsuite/du/du-m-works:1.1->1.2 
+       testsuite/du/du-s-works:1.1->1.2 
+       testsuite/du/du-works:1.1->1.2 
+       testsuite/head/head-n-works:1.1->1.2 
+       testsuite/head/head-works:1.1->1.2 
+       testsuite/ls/ls-1-works:1.1->1.2 
+       testsuite/ls/ls-h-works:1.1->1.2 
+       testsuite/ls/ls-l-works:1.1->1.2 
+       testsuite/ls/ls-s-works:1.1->1.2 
+       testsuite/sort/sort-n-works:1.1->1.2 
+       testsuite/sort/sort-r-works:1.1->1.2 
+       testsuite/sort/sort-works:1.1->1.2 
+       testsuite/tail/tail-n-works:1.1->1.2 
+       testsuite/tail/tail-works:1.1->1.2 
+       testsuite/xargs/xargs-works:1.1->1.2 
+       util-linux/Makefile:1.6->1.7 
+       util-linux/Makefile.in:1.8->1.9 
 
 ---------------------
-PatchSet 3808 
-Date: 2003/12/19 12:08:56
-Author: bug1
+PatchSet 4396 
+Date: 2004/10/08 07:58:30
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Use getopt_ulflags
+As noticed by egor duda, current_menu is declared as 'extern struct menu
+*current_menu;' in scripts/config/lkc.h line 63, and this conflicts with
+static definition in mconf.c.
 
 Members: 
-       networking/wget.c:1.61->1.62 
+       scripts/config/mconf.c:1.5->1.6 
 
 ---------------------
-PatchSet 3809 
-Date: 2003/12/19 21:04:19
+PatchSet 4397 
+Date: 2004/10/08 08:03:29
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Patch from Woody Suwalski:
+last_patch139.gz from Vladimir N. Oleynik:
+
+>I also don't mean to disagree about leaving 30x status codes until after
+>1.0.  In fact, although redirecting http://host/dir to http://host/dir/
+>with a 301 is common practice (e.g. Apache, IIS), AFAIK it isn't
+>actually required (or mentioned) by the HTTP specs.
+
+Ok.
+Attached patch have 302 and 408 implemented features.
+
 
-Erik, I think we have met online some time ago when I was in Corel/Rebel
-    Netwinder project....
+--w
+vodz
 
-Anyway, I would like to use BB on 2.6.0 initrd. 1.00-pre4 works OK, if
-insmod is actually presented with a full path to the module. Otherwise -
-problems (not to mention conflicts when 2.4 modutil is enabled)
+Members: 
+       networking/httpd.c:1.27->1.28 
 
-Here are some patches for insmod and modprobe which try to walk around
-the default ".o" module format for 2.2/2.4 modules (you have probably
-noticed it is now .ko in 2.6 ;-)) Trying to steal as little space as
-possible if 2.6 not enabled...
+---------------------
+PatchSet 4398 
+Date: 2004/10/08 08:07:40
+Author: andersen
+Branch: HEAD
+Tag: (none) 
+Log:
+Tito writes:
 
-The modprobe is still not perfect on 2.6 - seems to be jamming on some
-dependencies, but works with some (to be debugged). Anyway after the
-patches it at least tries to work....
+Hi to all,
+This patch contains just some fixes for some misleading
+comments in my_getpwuid.c and my_getug.c.
+The code is untouched so this patch will not
+cause troubles.
 
-Will there be a 1.00-pre5 coming any time soon?
+Please apply.
 
-Thanks, Woody
+Thanks in advance and Ciao,
+Tito
 
 Members: 
-       modutils/insmod.c:1.107->1.108 
-       modutils/modprobe.c:1.23->1.24 
+       libbb/my_getpwuid.c:1.10->1.11 
+       libbb/my_getug.c:1.1->1.2 
 
 ---------------------
-PatchSet 3810 
-Date: 2003/12/20 01:47:16
-Author: bug1
+PatchSet 4399 
+Date: 2004/10/08 08:10:57
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Change interface to bb_lookup_host, dont try and set port inside this
-function as there is no gracefull way of handling failures.
-Rename bb_getport to bb_lookup_port, allow a default port to be
-specified so it always returns a correct value.
-Modify ftpgetput/rdate/wget to use the new interface.
-wget/rdate now use etc/services with a falback default value.
+Hiroshi Ito writes:
+
+    Hello
+
+    I'm using busy box on mipsel machine.
+
+    "grep -f file" will cause segmentation fault.
+
+Vladimir N. Oleynik writes:
+
+Hiroshi,
+
+Thank for bug report, but your patch is full broken.
+Worked patch attached.
+(really changes is zero initialize, and indent correcting).
+
+
+--w
+vodz
 
 Members: 
-       include/libbb.h:1.123->1.124 
-       libbb/xconnect.c:1.8->1.9 
-       networking/ftpgetput.c:1.10->1.11 
-       networking/telnet.c:1.39->1.40 
-       networking/wget.c:1.62->1.63 
-       util-linux/rdate.c:1.30->1.31 
+       findutils/grep.c:1.85->1.86 
 
 ---------------------
-PatchSet 3811 
-Date: 2003/12/20 03:19:27
-Author: bug1
+PatchSet 4400 
+Date: 2004/10/08 08:14:58
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-display the port number number correctly, other minor optimisations
+Hiroshi Ito writes:
+
+ash
+   "unset OLDPWD; cd -"  causes segmentation fault.
+    ( OLDPWD is not set when sh is invoked from getty. )
+
+patch against current CVS is attached.
 
 Members: 
-       networking/ftpgetput.c:1.11->1.12 
+       shell/ash.c:1.106->1.107 
 
 ---------------------
-PatchSet 3812 
-Date: 2003/12/20 04:38:01
-Author: bug1
+PatchSet 4401 
+Date: 2004/10/08 08:17:39
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Use low level file descriptors to match bb_copyfd_eof
+Hiroshi Ito writes:
+
+"kill -HUP 1" reloads inittab, and when I append one line to inittab
+and send HUP signal two times, It will starts 2 process.
+
+patch against current CVS is attached.
 
 Members: 
-       libbb/copy_file.c:1.26->1.27 
+       init/init.c:1.204->1.205 
 
 ---------------------
-PatchSet 3813 
-Date: 2003/12/20 05:43:34
-Author: bug1
+PatchSet 4402 
+Date: 2004/10/08 08:21:54
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Allow recieving file to stdout, sending files from stdin, use the '-'
-filename. Save a variable.
+Hiroshi Ito writes:
+
+Hello, all.
+
+Busybox init does not handle removed inittab entry correctly.
+
+# I'm sorry about my poor english, but you can find
+# what I would like to say from patch, isn't it?
+
+even if you apply this path,
+when yoy try to change a command line option in inittab,
+you have to do following steps.
+1. remove old line from initrd
+2. send HUP signal to init
+3. kill old proces which is invoked from init.
+4. append new line to inittab
+5. send HUP signal to init, again
+
+patch is against current CVS + last patch witch I send it last.
 
 Members: 
-       networking/ftpgetput.c:1.12->1.13 
+       init/init.c:1.205->1.206 
 
 ---------------------
-PatchSet 3814 
-Date: 2003/12/20 06:00:08
-Author: bug1
+PatchSet 4403 
+Date: 2004/10/08 08:27:40
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Use bb_xopen
+Patch from Denis Vlasenko to fix a problem where
+wget http://1.2.3.4/abc/ loses last '/'
 
 Members: 
-       console-tools/dumpkmap.c:1.16->1.17 
-       console-tools/loadacm.c:1.23->1.24 
-       console-tools/loadfont.c:1.20->1.21 
-       console-tools/openvt.c:1.5->1.6 
+       networking/wget.c:1.74->1.75 
 
 ---------------------
-PatchSet 3815 
-Date: 2003/12/20 07:07:22
+PatchSet 4404 
+Date: 2004/10/08 08:49:25
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Kill off the loadacm applet.  It is unused, unmaintained
-garbage leftover from before I started maintaining BusyBox.
-As the Klingon's like to say, Today is a good day to die.
- -Erik
+Wade Berrier writes:
+
+Hello,
+
+Here's a patch for a first attempt at static leases for udhcpd.
+Included in the tarball are 2 files (static_leases.c, static_leases.h)
+and a patch against the latest cvs.
+
+In the config file you can configure static leases with the following
+format:
+
+static_lease 00:60:08:11:CE:4E 192.168.0.54
+static_lease 00:60:08:11:CE:3E 192.168.0.44
+
+Comments/suggestions/improvements are welcome.
+
+
+Wade
 
 Members: 
-       console-tools/Config.in:1.3->1.4 
-       console-tools/Makefile.in:1.3->1.4 
-       console-tools/loadacm.c:1.24->1.25(DEAD) 
-       console-tools/reset.c:1.11->1.12 
-       debian/config-deb:1.9->1.10 
-       debian/config-static:1.12->1.13 
-       debian/config-udeb:1.16->1.17 
-       debian/config-udeb-linux-i386:1.2->1.3 
-       include/applets.h:1.107->1.108 
-       sysdeps/linux/defconfig:1.5->1.6 
+       examples/udhcp/udhcpd.conf:1.3->1.4 
+       networking/udhcp/Makefile.in:1.11->1.12 
+       networking/udhcp/dhcpd.c:1.6->1.7 
+       networking/udhcp/dhcpd.h:1.6->1.7 
+       networking/udhcp/files.c:1.14->1.15 
+       networking/udhcp/leases.c:1.6->1.7 
+       networking/udhcp/serverpacket.c:1.6->1.7 
+       networking/udhcp/static_leases.c:INITIAL->1.1 
+       networking/udhcp/static_leases.h:INITIAL->1.1 
 
 ---------------------
-PatchSet 3816 
-Date: 2003/12/20 07:16:21
+PatchSet 4405 
+Date: 2004/10/08 08:57:35
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Eradicate all references to loadacm
+Patch from Claus Klein to increase, and make more apparent
+the hard coded limit on the number of mounts
 
 Members: 
-       docs/busybox.sgml:1.51->1.52 
-       docs/busybox_header.pod:1.11->1.12 
-       docs/busybox.net/screenshot.html:1.8->1.9 
-       include/usage.h:1.179->1.180 
+       libbb/mtab.c:1.5->1.6 
 
 ---------------------
-PatchSet 3817 
-Date: 2003/12/20 07:26:10
+PatchSet 4406 
+Date: 2004/10/08 09:43:34
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Try to accomodate systems that do not define PAGE_SHIFT
+Fix CONFIG_ASH_MATH_SUPPORT_64 so it actually works
 
 Members: 
-       libbb/procps.c:1.8->1.9 
+       shell/ash.c:1.107->1.108 
 
 ---------------------
-PatchSet 3818 
-Date: 2003/12/20 07:30:34
-Author: bug1
+PatchSet 4407 
+Date: 2004/10/08 10:50:08
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-New applet, rx, by Christopher Hoover
+Add an initial FAQ
 
 Members: 
-       include/applets.h:1.108->1.109 
-       include/usage.h:1.180->1.181 
-       miscutils/Config.in:1.12->1.13 
-       miscutils/Makefile.in:1.10->1.11 
-       miscutils/rx.c:INITIAL->1.1 
+       docs/busybox.net/FAQ.html:INITIAL->1.1 
+       docs/busybox.net/header.html:1.8->1.9 
 
 ---------------------
-PatchSet 3819 
-Date: 2003/12/20 09:17:50
+PatchSet 4408 
+Date: 2004/10/08 10:52:08
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-doh!
+Fix the supported architectures section
 
 Members: 
-       libbb/procps.c:1.9->1.10 
+       README:1.36->1.37 
 
 ---------------------
-PatchSet 3820 
-Date: 2003/12/20 10:23:28
+PatchSet 4409 
+Date: 2004/10/08 10:52:33
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-bother.  It seems I can't read.
+Bump version
 
 Members: 
-       libbb/procps.c:1.10->1.11 
+       Rules.mak:1.38->1.39 
 
 ---------------------
-PatchSet 3821 
-Date: 2003/12/21 08:59:24
+PatchSet 4410 
+Date: 2004/10/08 10:54:20
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Don't hose up perms for files that happen to have symlinks
-in the tarball that point to them.
- -Erik
+unmerged fix
 
 Members: 
-       archival/libunarchive/data_extract_all.c:1.17->1.18 
+       docs/busybox.net/news.html:1.22->1.23 
 
 ---------------------
-PatchSet 3822 
-Date: 2003/12/21 09:04:54
+PatchSet 4411 
+Date: 2004/10/08 11:11:02
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Bump version
+oops
 
 Members: 
-       Rules.mak:1.24->1.25 
+       docs/busybox.net/FAQ.html:1.1->1.2 
 
 ---------------------
-PatchSet 3823 
-Date: 2003/12/22 21:02:41
-Author: bug1
+PatchSet 4412 
+Date: 2004/10/11 20:52:16
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Fix a bug of mine where extracting files to stdout would extract to
-much, modified patch from Bastian Blank
+Patch from David Daney:
+
+It seems that date  -s MMDDHHMMYYYY.ss
+
+will ignore the .ss part.  This patch tries to fix the problem.
+
+David Daney.
 
 Members: 
-       archival/libunarchive/data_extract_to_stdout.c:1.3->1.4 
+       coreutils/date.c:1.47->1.48 
 
 ---------------------
-PatchSet 3824 
-Date: 2003/12/23 07:21:33
-Author: bug1
+PatchSet 4413 
+Date: 2004/10/13 06:25:51
+Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Fix compile error, the indenting really needs to be fixed here
+Make certain clients of bb_make_directory default to honoring
+the user's umask
 
 Members: 
-       miscutils/crond.c:1.11->1.12 
+       archival/libunarchive/data_extract_all.c:1.20->1.21 
+       libbb/make_directory.c:1.16->1.17 
+       miscutils/devfsd.c:1.9->1.10 
 
 ---------------------
-PatchSet 3825 
-Date: 2003/12/23 08:53:51
+PatchSet 4414 
+Date: 2004/10/13 07:18:05
 Author: andersen
 Branch: HEAD
 Tag: (none) 
 Log:
-Patch from Matt Kraai:
+Simon Poole writes:
+
+Erik,
 
-sed is broken:
+Attached is a patch for the udhcpc sample scripts, to correct the order in
+which routers are applied if the DHCP server provides more than one (as per
+section 3.5 of RFC2132).
 
- busybox sed -n '/^a/,/^a/p' >output <<EOF
- a
- b
- a
- b
- EOF
- cmp -s output - <<EOF
- a
- b
- a
- EOF
+Apologies for not being on the mailing list and thanks for your continued
+efforts.
 
-The attached patch fixes it.
+Simon.
+
+Members: 
+       examples/udhcp/sample.bound:1.1->1.2 
+       examples/udhcp/sample.renew:1.1->1.2 
+       examples/udhcp/simple.script:1.1->1.2 
+
+---------------------
+PatchSet 4415 
+Date: 2004/10/13 07:25:01
+Author: andersen
+Branch: HEAD
+Tag: (none) 
+Log:
+return failure when nslookup fails
 
 Members: 
-       editors/sed.c:1.156->1.157 
+       networking/nslookup.c:1.32->1.33