Re: busybox 1.10.0 : tail

2008-04-05 Thread Paul Stynen
Denys Vlasenko wrote:
 On Friday 04 April 2008 11:53, Paul Stynen wrote:
 Hi,

   uname -a :
 Linux ipbox 2.6.17-relook400 #1 Sun Mar 23 22:56:51 CET 2008 ppc unknown

 Problem :
 -
   tail file returns without any output.

 Version 1.9.2 on the same file works as expected (shows 10 last lines).
 
 There is a fix for it in
 
 http://busybox.net/downloads/fixes-1.10.0/
 
 Can you confirm that it works?

Hi Denys,

It works !
Thanks for the fast reply.

Best regards,

Paul.

___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox


Re: unzip : can't open ' ' : No such file or directory

2007-10-19 Thread Paul Stynen
Hi Denys,

Denys Vlasenko wrote:
 On Thursday 18 October 2007 13:42, Paul Stynen wrote:
 Hope this contains enough information but please ask if you need more.
 Does it happen if you build busybox with the same .config on i386?
 No, on i386 with the same .config unzip does not have the problem.

 Please send your .config and a.zip (or an URL to one)
 OK, see attachments please.
 
 I see that endianness conversion is messed up there, and yio end up
 reading 0-byte filename.
 
 Try replacing unzip.c in 1.7.2 tree with attached one.

Yes that fixed the problem! Thanks a lot.
Just note I had to add #define MAIN_EXTERNALLY_VISIBLE otherwise I get 
the following compilation errors :

   CC  archival/unzip.o
archival/unzip.c:122: error: parse error before MAIN_EXTERNALLY_VISIBLE
archival/unzip.c:122: warning: type defaults to `int' in declaration of 
`MAIN_EXTERNALLY_VISIBLE'
archival/unzip.c:122: warning: data definition has no type or storage 
class archival/unzip.c:124: warning: no previous prototype for 'unzip_main

Thanks again.

Paul.
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox


unzip : can't open ' ' : No such file or directory

2007-10-15 Thread Paul Stynen
Hi,
I wanted to report the following problem.

package: busybox
version: 1.7.2

When I execute busybox 'unzip' I get following error

$ ls
a.zip
$ unzip a.zip
Archive:  a.zip
unzip: can't open '': No such file or directory
$unzip -l a.zip
Archive:  a.zip
   Length Date   TimeName
     
557060  00-00-80 00:00
unzip: invalid zip magic 87FE4A29
$unzip --help
BusyBox v1.7.2 (2007-10-11 10:17:14 CEST) multi-call binary

Usage: unzip [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]

Extract files from ZIP archives

Options:
 -lList archive contents (short form)
 -nNever overwrite existing files (default)
 -oOverwrite files without prompting
 -pSend output to stdout
 -qQuiet
 -xExclude these files
 -dExtract files into this directory
$ uname -a
Linux ipbox 2.6.17-cubecafe #1 Sun Sep 30 00:17:33 CEST 2007 ppc unknown

Note that 'a.zip' is a valid zip file despite the 'invalid zip magic'
reported by 'unzip -l' and that I can unzip it on other platforms.
Also, all zip files I tried have the same problems on busybox.

Tools used to create busybox : gcc-3.4.4 en glibc-2.3.2 (cross-compiled
for powerpc on OpenSuse 10.2)

Hope this contains enough information but please ask if you need more.

Keep up the good work. I love busybox !!!

Paul.


___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox