[Bug 3229] [regression, patch] 1.18.x wget breaks with script-generated output due to not considering errno=EAGAIN

bugzilla at busybox.net bugzilla at busybox.net
Fri Feb 11 21:53:40 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3229

--- Comment #7 from Denys Vlasenko <vda.linux at googlemail.com>  ---
(In reply to comment #6)
> hi,
> 
> this patch is a slight improvement over the last one, but it's broken

Actually, it is not an improvement at all, because I forgot to *upload* the
improved patch to the server :(

Sorry. Uploaded now.

Here's how I tested it:

set -e
wget http://busybox.net/downloads/busybox-1.18.3.tar.bz2
wget http://busybox.net/downloads/fixes-1.18.3/busybox-1.18.3-wget.patch
tar xf busybox-1.18.3.tar.bz2
cd busybox-1.18.3
patch -p1 <../busybox-1.18.3-wget.patch
make defconfig
make
./busybox wget
http://git.alpinelinux.org/cgit/aports.git/snapshot/aports-2.1.4.tar.bz2
ls -l aports-2.1.4.tar.bz2
bunzip2 -t aports-2.1.4.tar.bz2
echo Test result: $?


Result:
...
...
  CC      util-linux/volume_id/util.o
  CC      util-linux/volume_id/volume_id.o
  CC      util-linux/volume_id/xfs.o
  AR      util-linux/volume_id/lib.a
  LINK    busybox_unstripped
Trying libraries: crypt m
 Library crypt is not needed, excluding it
 Library m is needed, can't exclude it (yet)
Final link with: m
  DOC     busybox.pod
  DOC     BusyBox.txt
  DOC     busybox.1
  DOC     BusyBox.html
Connecting to git.alpinelinux.org (91.220.88.36:80)
aports-2.1.4.tar.bz2 100% |************************|  1092k --:--:-- ETA
-rw-r--r--    1 root     root       1566380 Feb 11 22:52 aports-2.1.4.tar.bz2
Test result: 0

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list