CONFIG

2008-07-18 Thread dronnikov
Added verbose comments on config_read(). Added testsuite (runtest parse). Let us collect interesting cases and thoroughly test them. Fixed inittab parsing. Bernhard, please test. Fixed crond. Please comment and consider applying. TIA, -- Vladimir 64.patch Description: Binary data

'test' behavior.

2008-07-18 Thread Chris Larson
Greetings, I have an issue which a customer reported with the busybox implementation of test. It occurs with current busybox svn. Original test case: -f = a -o b Minimal test case: -f = a w/ explicit 3 argument handling disabled in the code The minimal test case errors, as it picks up the -f a

Re: why does asking to build libbusybox change the size of busybox?

2008-07-18 Thread Denys Vlasenko
On Friday 18 July 2008 14:16, Robert P. J. Day wrote: > > perhaps a dumb question but, with a "defconfig" confguration, i > built busybox and here are the results: > > $ ls -l > total 2104 > -rwxrwxr-x 1 rpjday rpjday 638976 2008-07-18 05:19 busybox > -rwxrwxr-x 1 rpjday rpjday 760454 2008-07-1

Re: some general questions about libbb/

2008-07-18 Thread Denys Vlasenko
On Friday 18 July 2008 18:27, Robert P. J. Day wrote: > > just some questions about the content of libbb/ in general. > obviously, the whole point of the contents of libbb/ is to centralize > routines which have general applicability across the applets in BB. > so, with that as a starting point,

Re: svn commit: trunk/busybox: coreutils testsuite

2008-07-18 Thread Denys Vlasenko
On Thursday 17 July 2008 11:54, Bernhard Fischer wrote: > >--- trunk/busybox/coreutils/printf.c 2008-07-17 08:48:13 UTC (rev 22853) > >+++ trunk/busybox/coreutils/printf.c 2008-07-17 09:17:51 UTC (rev 22854) > >@@ -251,10 +252,12 @@ > > ++f; > >

Re: [PATCH] insmod.c doesn't compile for mips

2008-07-18 Thread Brian Daniels
Bernhard Fischer wrote: > On Thu, Jul 17, 2008 at 05:38:22PM -0400, Brian Daniels wrote: >> The following patch will fix the compile for mips. >> >> Index: modutils/insmod.c >> === >> --- modutils/insmod.c (revision 22874) >> +++ mod

some general questions about libbb/

2008-07-18 Thread Robert P. J. Day
just some questions about the content of libbb/ in general. obviously, the whole point of the contents of libbb/ is to centralize routines which have general applicability across the applets in BB. so, with that as a starting point, the questions. 1) is that, in fact, a good description of what

[PATCH] Write pid-file in httpd

2008-07-18 Thread Ralf Friedl
Some time ago I sent this patch for httpd. Is there something wrong with it or was it simply ignored? This is a patch to create a pid-file when httpd is started. A pid-file is useful to stop httpd or to send SIGHUP to reload the config. The filename is passed as a parameter so that multiple insta

Re: [PATCH] Tidy up some missing loose ends re: cleaning.

2008-07-18 Thread Tito
On Friday 18 July 2008 14:18:41 Robert P. J. Day wrote: > On Fri, 18 Jul 2008, Tito wrote: > > > Hi, > > please don't remove busybox_old with make clean > > as it is used for bloat-checks like: > > 1) compile with your config > > 2) mv busybox_unstripped to busybox_old > > 3) change stuff and reco

Re: [PATCH] Tidy up some missing loose ends re: cleaning.

2008-07-18 Thread Robert P. J. Day
On Fri, 18 Jul 2008, Tito wrote: > Hi, > please don't remove busybox_old with make clean > as it is used for bloat-checks like: > 1) compile with your config > 2) mv busybox_unstripped to busybox_old > 3) change stuff and recompile > 4) run scripts\bloat-o-meter busybox_old busybox_unstripped > >

why does asking to build libbusybox change the size of busybox?

2008-07-18 Thread Robert P. J. Day
perhaps a dumb question but, with a "defconfig" confguration, i built busybox and here are the results: $ ls -l total 2104 -rwxrwxr-x 1 rpjday rpjday 638976 2008-07-18 05:19 busybox -rwxrwxr-x 1 rpjday rpjday 760454 2008-07-18 05:19 busybox_unstripped -rw-rw-r-- 1 rpjday rpjday 712694 2008-07-1

Re: [PATCH] Tidy up some missing loose ends re: cleaning.

2008-07-18 Thread Tito
On Friday 18 July 2008 12:02:10 Robert P. J. Day wrote: > On Fri, 18 Jul 2008, walter harms wrote: > > > there is something called MRPROPER_FILES. maybe a better place ? > > > > more thinking about that there is a CLEAN_DIR and CLEAN_FILE why is there > > a find statement ? what is additonal to fi

[PATCH] Add some extra cleaning to "clean" and "mrproper" targets.

2008-07-18 Thread Robert P. J. Day
Add more files and directories to be cleaned: _install/, 0_lib/, busybox.links and busybox_old. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- the first three objects to be cleaned were added to the basic "make clean" target while, since denys seemed to think busybox_old had some ext

Re: [PATCH] Tidy up some missing loose ends re: cleaning.

2008-07-18 Thread Robert P. J. Day
On Fri, 18 Jul 2008, walter harms wrote: > there is something called MRPROPER_FILES. maybe a better place ? > > more thinking about that there is a CLEAN_DIR and CLEAN_FILE why is there > a find statement ? what is additonal to find ? > > re, > wh > > > Robert P. J. Day wrote: > > Add some extra

Re: [PATCH] Tidy up some missing loose ends re: cleaning.

2008-07-18 Thread walter harms
there is something called MRPROPER_FILES. maybe a better place ? more thinking about that there is a CLEAN_DIR and CLEAN_FILE why is there a find statement ? what is additonal to find ? re, wh Robert P. J. Day wrote: > Add some extra files to remove for "make distclean", and add an entry > for

Re: Ответ: Ответ: LIBBB: config_*()

2008-07-18 Thread Vladimir Dronnikov
> consider: > ::sysinit:echo "it:works" In the last patch I tried to cope this. "seen" variable is not exactly what is needed. I introduced PARSE_DONT_TRIM flag to inhibit trimming config line prior to parsing. With this flag set one can correctly parse, say, aa:: line of a virtual config fil

getting started with BB: just download the package

2008-07-18 Thread Robert P. J. Day
perhaps worth mentioning in the FAQ here: http://busybox.net/FAQ.html#getting_started some linux distros have a busybox package. for instance, fedora 9 has: $ rpm -q busybox busybox-1.9.1-1.fc9.i386 $ which exists as a dependency for the kexec-tools package. not sure if it's worth me

Re: [PATCH] insmod.c doesn't compile for mips

2008-07-18 Thread Bernhard Fischer
On Thu, Jul 17, 2008 at 05:38:22PM -0400, Brian Daniels wrote: >The following patch will fix the compile for mips. > >Index: modutils/insmod.c >=== >--- modutils/insmod.c (revision 22874) >+++ modutils/insmod.c (working copy) >@@ -

Re: Ответ: Отве т: LIBBB: config_*()

2008-07-18 Thread Bernhard Fischer
On Thu, Jul 17, 2008 at 07:35:35PM +0200, Denys Vlasenko wrote: >On Thursday 17 July 2008 16:24, Bernhard Fischer wrote: >> Anyway. I've touched the parser now and converted init to use it (see >> r22865 and before). Of course i did _not_ test it, so if init somehow >> fails to chdir to your slash