Re: Ответ: Ответ : [patch] fix for autodocifier.pl uninitialized value in join

2008-09-01 Thread Bernhard Fischer
On Mon, Sep 01, 2008 at 09:19:32PM +0100, Roy Marples wrote: >On Mon, 2008-09-01 at 19:32 +, Vladimir Dronnikov wrote: >> I wish someone heard you, Roy. install -D is used heavily by >> buildroot, but I'm not so advanced in Makefiles to cope this by Ahem, i fear that at least some of them were

Re: [patch] fix for autodocifier.pl uninitialized value in join

2008-09-01 Thread Bernhard Fischer
On Mon, Sep 01, 2008 at 06:56:21PM +0200, Cristian Ionescu-Idbohrn wrote: >I changed my mind about that, as emacs21 cperl-mode does not suffer of >this and neither does emacs22. Still, this is a short example of what I >think is a more obvious/better special character protection: > >-

Re: [PATCH] httpd Accept Header Patch

2008-09-01 Thread Bernhard Fischer
On Tue, Aug 26, 2008 at 10:03:46PM +0200, Alina Friedrichsen wrote: > With this patch the BusyBox httpd pass the "Accept:" and > "Accept-Language:" header by the environment variables to the > CGI-Script, so this can make Content Negotiation to deliver the page in > the language, which was selected

Re: [PATCH] watchdog add settimeout ioctl

2008-08-18 Thread Bernhard Fischer
On Tue, Aug 12, 2008 at 03:50:18PM +0300, Darius wrote: >Bernhard Fischer wrote: >> On Wed, Aug 06, 2008 at 11:20:10AM +0300, Darius wrote: >> >>> #define OPT_FOREGROUND 0x01 >>> -#define OPT_TIMER 0x02 >>> +#define OPT_STIMER 0x02 >>>

Re: rngd : random number generator daemon

2008-08-18 Thread Bernhard Fischer
On Sun, Aug 17, 2008 at 09:07:32PM +, Malek wrote: > Tito a écrit : >> On Sunday 17 August 2008 16:55:16 Malek wrote: >>> This new applet adds the rngd daemon to Busybox like rng-tools >>> >>> Thanks >>> >>> Malek >>> >> >> Hi, >> please fix ioctl_or_perror_and_die as strerror(errno) and \n are

Re: [PATCH] watchdog add settimeout ioctl

2008-08-12 Thread Bernhard Fischer
On Wed, Aug 06, 2008 at 11:20:10AM +0300, Darius wrote: > #define OPT_FOREGROUND 0x01 >-#define OPT_TIMER 0x02 >+#define OPT_STIMER 0x02 >+#define OPT_HTIMER 0x03 >+ if (opts & OPT_STIMER) { >+ if (opts & OPT_HTIMER) I did not look closely, but it sounds like this will

Re: nroff applet

2008-08-06 Thread Bernhard Fischer
On Wed, Aug 06, 2008 at 05:54:09PM +0200, Ivana Varekova wrote: > Hello, > I'm sending the fixed version of nroff path - based on the version which > sent Denys Vlasenko, I hope I have not overlook anything. > Thanks for your feedback and your help. looks good to me. A potential follow up could

Re: Failed to make busybox 1.11.1 with gcc 3.2.2

2008-08-06 Thread Bernhard Fischer
On Wed, Aug 06, 2008 at 03:35:06PM +0800, Steven Shiau wrote: >Hi, >When I tried to compile busybox 1.11.1 with gcc on kernel 2.4.33.4-6, I >got the following error messages: >- > CC networking/hostname.o > CC networking/ifconfig.o > CC networking/interface.o >netw

Re: Default password uClibc

2008-08-05 Thread Bernhard Fischer
On Tue, Aug 05, 2008 at 01:53:40PM -0600, Mandeep Ahuja wrote: >Hi, >When Kernel boots up it starts the busybox (version 1.2.2.1). When I >telnet into the board it says >Trying 192.168.0.62... >Connected to 192.168.0.62. >Escape character is '^]'. >uclibc login: > >I enter 'root' for uclibc but Wh

Re: ?????: modprobe woes

2008-08-05 Thread Bernhard Fischer
On Tue, Aug 05, 2008 at 09:18:45PM +0300, Timo Teräs wrote: >Vladimir Dronnikov wrote: >> Wouldn't you try BB small modutils, Timo? It is designed to be clean >> and requires zero configuration. It is also open for feature requests. > >It has exactly the same problems: >- it loads all module inform

Re: Ответ: ?????: modprobe woes

2008-08-05 Thread Bernhard Fischer
On Tue, Aug 05, 2008 at 06:35:29PM +, Vladimir Dronnikov wrote: >Wonder what is the most time-consuming part of both BB and >module-init-tools modprobes? May be ># modprobe -r snd-hda-intel && time modprobe snd-hda-intel >(or whatever rather instead snd-hda-intel which has a big dependency >lis

Re: Ответ: TFTP Broadcast Patch

2008-08-05 Thread Bernhard Fischer
On Tue, Aug 05, 2008 at 04:58:24PM +, Vladimir Dronnikov wrote: >Please, provide exact command you're using. What is the tftpd server: >BB one or not? Also ># strace -f -v -s1024 -o send-me-to-the-list command-you-are-using >output is welcome. Also, please try to reproduce this with something

Re: busybox shells

2008-08-05 Thread Bernhard Fischer
On Mon, Jul 28, 2008 at 02:16:48AM +0200, Denys Vlasenko wrote: Can you please put r22808 into the busybox_1_11_stable branch? "ash: fix segfault in "command -v"" TIA, ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listi

Re: How to use telnetd

2008-08-05 Thread Bernhard Fischer
On Tue, Aug 05, 2008 at 12:05:00PM +0200, Rahul Jain wrote: >On Tue, Aug 5, 2008 at 11:50 AM, Denys Vlasenko >>> Thanks for the help though, I wish I could have compiled busybox in stead. >>> :) >> >> Why you cannot compile busybox? Can I help? Currently there is >> a "How to build static busybox

Re: conceptual map of the kernel source (Interactive Linux kernel map)

2008-07-31 Thread Bernhard Fischer
Hi Constantine, On Thu, Jul 31, 2008 at 04:44:26PM +0300, Constantine Shulyupin wrote: >Hi, >I am updating the kernel map: http://www.makelinux.net/kernel_map >It is conceptual map consisting of more than 200 most important kernel >functions. Looks nice and reminds me that there once was those sc

Re: Does mdev support ataraid cciss ida??

2008-07-31 Thread Bernhard Fischer
On Thu, Jul 31, 2008 at 01:26:43PM +0200, Natanael Copa wrote: >On Wed, 2008-07-30 at 11:50 +0200, Bernhard Fischer wrote: >> On Mon, Jul 28, 2008 at 10:17:28AM +0200, Natanael Copa wrote: >> >On Sat, 2008-07-26 at 20:35 +0200, Denys Vlasenko wrote: >> >> On Saturday

Re: nroff applet

2008-07-31 Thread Bernhard Fischer
On Thu, Jul 31, 2008 at 10:00:39AM +0200, Ivana Varekova wrote: >Hello, thanks for your fast work (and thanks all guys who review the >applet) - I don't find any problem in changes you have done. Sure you do. Please take the various comments into account and base off vda's last .c, fix, shrink r

Re: nroff applet

2008-07-30 Thread Bernhard Fischer
On Wed, Jul 30, 2008 at 05:36:13PM +0400, Vladimir Dronnikov wrote: >> >> >> Do not bother applying them, use attached nroff.c as a base for further >> work. >> >> >fclose(file) at the line 290 should account for file might be stdin. right. fclose_if_not_stdin() ___

Re: nroff applet

2008-07-30 Thread Bernhard Fischer
On Tue, Jul 29, 2008 at 10:43:56AM +0200, Ivana Varekova wrote: > Hello, > I have just written something like the first "publicable" version of > nroff applet (it could be used by man applet). > It is impossible to parse whole special format characters - so I chose > bunch of them which seems f

Re: CONFIG (makedevs)

2008-07-30 Thread Bernhard Fischer
On Mon, Jul 28, 2008 at 11:25:18AM -0700, [EMAIL PROTECTED] wrote: >makedevs shrank a little. Have no table for testing... See e.g. http://repo.or.cz/w/buildroot.git?a=tree;f=target/generic Specifically http://repo.or.cz/w/buildroot.git?a=blob_plain;f=target/generic/device_table.txt;hb=HEAD or htt

Re: Does mdev support ataraid cciss ida??

2008-07-30 Thread Bernhard Fischer
On Mon, Jul 28, 2008 at 10:17:28AM +0200, Natanael Copa wrote: >On Sat, 2008-07-26 at 20:35 +0200, Denys Vlasenko wrote: >> On Saturday 26 July 2008 19:27, Michael D. Setzer II wrote: >> mdev will not create directories by itself, but if you will explain >> it how to map device name to the directo

Re: Does mdev support ataraid cciss ida??

2008-07-26 Thread Bernhard Fischer
On Fri, Jul 25, 2008 at 01:53:14PM -0700, Michael D. Setzer II wrote: >I don't have any of these raid systems, but in the past users of my g4l >project >had this hardware, and it required creating these directories and a very large >number of nods to support various configurations. The previous

Re: question about mkdevs dot sh

2008-07-25 Thread Bernhard Fischer
On Fri, Jul 25, 2008 at 09:13:25PM +0200, gb wrote: >hello > >i want to know if it's ok to do : > >for i in $(seq 0 9); do > mknod vcsa$i b 7 $i >done > >I found this script lines in the folder of busybox source archive. > >But I found in a kernel source archive (Documentation/device.txt) th

Re: How to use fdisk for simple partitioning job

2008-07-25 Thread Bernhard Fischer
On Fri, Jul 25, 2008 at 06:38:54PM +0100, Cefn Hoile wrote: >I thought it was busybox as I'm dropping out of the debian firmware-based >installer from a Slug (NSLU2) into the shell, which greets me with this >notification... > >BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash) >Enter 'help' fo

Re: How to use fdisk for simple partitioning job

2008-07-25 Thread Bernhard Fischer
On Fri, Jul 25, 2008 at 12:28:33PM +0100, Cefn Hoile wrote: >I have a USB key which I plan to format with 128M swap, and the remainder >Linux native (ext2 or ext3) so it can host a debian OS, running as the >external disk on a slug (NSLU2). However, I can't find any way to actually >set up these pa

Re: PATCH: netstat '-p' optional feature

2008-07-23 Thread Bernhard Fischer
On Tue, Jul 22, 2008 at 10:39:38PM -0400, L. Gabriel Somlo wrote: >On Tue, Jul 22, 2008 at 11:00:57PM +0200, Denys Vlasenko wrote: >> Can you do it? > >Allright, how about this one ? bloat-o-meter output? size(1) before and after your patch, with and without -p support? >diff -NarU5 busybox-svn-2

Re: Your message to busybox awaits moderator approval

2008-07-22 Thread Bernhard Fischer
On Tue, Jul 22, 2008 at 08:07:56PM +0200, Cristian Ionescu-Idbohrn wrote: >Gzipped, as the omnipotent listmaster doesn't like big attachments :) Applied as 22917 (dropped those superfluous ". " that may be only used in a small part of the world). Thanks! _

Re: [patch] fixes most error: Overlong line...

2008-07-22 Thread Bernhard Fischer
On Tue, Jul 22, 2008 at 09:26:20AM +0200, Cristian Ionescu-Idbohrn wrote: >On Mon, 21 Jul 2008, Denys Vlasenko wrote: > >> On Monday 21 July 2008 21:43, Cristian Ionescu-Idbohrn wrote: >> > ...and a little more. >> >> I personally don't see the value of following "tow spaces after >> the period" ru

Re: CONFIG

2008-07-21 Thread Bernhard Fischer
On Mon, Jul 21, 2008 at 02:09:59PM +0400, Vladimir Dronnikov wrote: >Among the few remaining applets there are inetd, httpd, something in ip >(rt_table_*?) and vanilla modprobe.*/modules.dep. >Can you enumerate more? >> Let's build a list (perhaps in TODO) so we can check if all potential >> use

Re: CONFIG

2008-07-21 Thread Bernhard Fischer
On Mon, Jul 21, 2008 at 11:56:04AM +0400, Vladimir Dronnikov wrote: >Hi! > >I'm sceptical about this new interface. How can i state that i >> -) accept _no_ comment chars but e.g. ";," as delimiter? > > >pass "\0;," as delims > >We can go farther and pass "\0" as >delims; this will require a trivia

Re: CONFIG

2008-07-21 Thread Bernhard Fischer
On Sat, Jul 19, 2008 at 11:31:45AM +0200, Denys Vlasenko wrote: >On Saturday 19 July 2008 08:58, [EMAIL PROTECTED] wrote: >> Added verbose comments on config_read(). >> Added testsuite (runtest parse). >> Let us collect interesting cases and thoroughly test them. >> Fixed inittab parsing. Bernhard,

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 >&

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

2008-07-17 Thread Bernhard Fischer
On Tue, Jul 15, 2008 at 09:41:57PM +, Vladimir Dronnikov wrote: >I was waiting for a draft to be committed so we could work on >particular piece of code. Thank you for applying, Denys! Folks, looking at the code that was committed, i'm questioning if crap^Wstuff like that should be enabled per

Re: svn commit: trunk/busybox: coreutils testsuite

2008-07-17 Thread Bernhard Fischer
On Thu, Jul 17, 2008 at 02:17:53AM -0700, [EMAIL PROTECTED] wrote: >Author: vda >Date: 2008-07-17 02:17:51 -0700 (Thu, 17 Jul 2008) >New Revision: 22854 > >Log: >printf: protect against bogus format specifiers. Hopefully closes bug 4184 > > > >Modified: > trunk/busybox/coreutils/printf.c > trun

Re: LIBBB: config_*()

2008-07-16 Thread Bernhard Fischer
On Tue, Jul 15, 2008 at 11:05:53PM +0200, Denys Vlasenko wrote: >Making testsuite clever enough to correctly exclude tests >depending on .config requires some serious work. No, it shouldn't. I've added "optional" quite some time ago (see e.g. pidof.tests) and i really hope that it still does what

Re: CONFIG_FEATURE_FLOAT_SLEEP

2008-07-15 Thread Bernhard Fischer
On Tue, Jul 15, 2008 at 09:24:00AM +0200, Loïc Grenié wrote: >2008/7/15 Denys Vlasenko <[EMAIL PROTECTED]>: >> On Tuesday 15 July 2008 08:58, Loïc Grenié wrote: >>> This is a patch that implements a config option for the >>> fractional sleep arguments. >> >> -#if ENABLE_FEATURE_FANCY_SLEEP >

Re: Creating /dev/cdrom

2008-07-14 Thread Bernhard Fischer
On Mon, Jul 14, 2008 at 07:51:08AM -0700, Michael D. Setzer II wrote: >Is there a process to create /dev/cdrom to point to the cdrom device? Sure. Suppose your cdrom lives at hdc, somthing like the following should do the trick: echo 'hdc root:cdrom 660 *ln -s $MDEV cdrom' >> /etc/mdev.conf HTH,

Re: our own, tiny regex support?

2008-07-14 Thread Bernhard Fischer
On Mon, Jul 14, 2008 at 08:24:26AM -0400, Poly-poly man wrote: >On Monday 14 July 2008 03:57:28 am you wrote: >> On Sun, Jul 13, 2008 at 05:59:58PM -0400, Poly-p man wrote: >> >uclibc's regexp code is 53k by itself. >> >> There are 2 regexp in uClibc, which one are you talking about? > >not sure -

Re: our own, tiny regex support?

2008-07-14 Thread Bernhard Fischer
On Sun, Jul 13, 2008 at 05:59:58PM -0400, Poly-p man wrote: >uclibc's regexp code is 53k by itself. There are 2 regexp in uClibc, which one are you talking about? > >Since things like expr, awk, etc. need it, I was wondering if it was >even feasible to consider writing our own miniature, >just-wha

Re: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341403 just fixed on svn

2008-07-13 Thread Bernhard Fischer
On Sat, Jul 12, 2008 at 07:07:20PM +0200, Denys Vlasenko wrote: >See attachment. Do you mind if i put this either in a separate CONFIG_SLEEP_FRACTION or into the already existing FANCY? I wouldn't want to turn on the kitchen-sink DESKTOP just for sleeping sub-second periods of time.. What do you

Re: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405108: NAK...

2008-07-13 Thread Bernhard Fischer
On Sat, Jul 12, 2008 at 07:19:56PM +0200, Denys Vlasenko wrote: >>From: Joey Hess <[EMAIL PROTECTED]> >>My version: >>TAB=" " >>busybox --help | grep -A 100 'Currently defined functions' | \ >> tail -n +2 | grep "^$TAB" | sed 's/,/ /g' >>> Currently to get a list of the supported commands

Re: udhcpc and Infiniband support

2008-07-13 Thread Bernhard Fischer
On Sat, Jul 12, 2008 at 11:45:15PM +0200, Denys Vlasenko wrote: >On Friday 11 July 2008 22:28, Frank Leers wrote: >> While searching the archives for info about udhcpc and IB support, I >> came across one post that was relevant - >> >> http://www.mail-archive.com/busybox@busybox.net/msg00747.htm

cpio does not unpack hardlink to empty files

2008-07-11 Thread Bernhard Fischer
Hi, Just mentioning this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771 mkdir test touch test/solo touch test/empty echo -n x >test/nonempty ln test/empty test/empty1 ln test/nonempty test/nonempty1 mkdir z find test | cpio -H newc --create | (cd z && ../busybox cpio -i) ___

Re: wget error message parsing.

2008-07-11 Thread Bernhard Fischer
On Fri, Jul 11, 2008 at 08:08:50PM +0200, Denys Vlasenko wrote: >Wait a second. What is "debian installer"? Are you saying http://bugs.debian.org/cgi-bin/pkgreport.cgi?ordering=archfirst;archive=0;maint=debian-boot%40lists.debian.org;repeatmerged=1;package=busybox >there is some part of Debian d

Re: mdev scan

2008-07-10 Thread Bernhard Fischer
On Thu, Jul 10, 2008 at 09:19:38AM +0200, Denys Vlasenko wrote: >On Thursday 10 July 2008 00:18, Bernhard Fischer wrote: >> >> > What's ACTION_FOLLOWLINKS? I don't see it in the 1.10.0 >> >> > util-linux/mdev.c... >> >> >> >&g

Re: mdev scan

2008-07-09 Thread Bernhard Fischer
On Sun, Jul 06, 2008 at 07:23:47PM -0500, Rob Landley wrote: >On Sunday 06 July 2008 01:42:23 Denys Vlasenko wrote: >> > > > The first is to ignore links while traversing, >> > > >> > > Yeah, pity mdev author forgot to document why ACTION_FOLLOWLINKS >> > > is necessary (example would be most usefu

Re: insmod don't compile (was: Missing libbb/xrealloc_vector.c)

2008-07-09 Thread Bernhard Fischer
On Wed, Jul 09, 2008 at 07:23:55PM +0200, Cristian Ionescu-Idbohrn wrote: >On Wed, 9 Jul 2008, Cristian Ionescu-Idbohrn wrote: > >> There seems to be more to it: >> >> modutils/insmod.c: In function 'obj_allocate_commons': >> modutils/insmod.c:3085: error: too many arguments to function 'xreall

Re: LIBBB: parse_config()

2008-07-07 Thread Bernhard Fischer
On Mon, Jul 07, 2008 at 12:31:29PM -0700, [EMAIL PROTECTED] wrote: >A helper function for parsing vanilla config files is added. >I see mdev, crond and others can use it to uniformly process their configs. It would be better if you would convert a few users to this new parse_config() and show the

Re: BusyBox 1.11.0 man patch for "cat"

2008-07-04 Thread Bernhard Fischer
On Fri, Jul 04, 2008 at 09:55:48AM +0200, Jason Curl wrote: >Hello, > >I'd like to welcome comments on my first bb patch (it's the first I've needed >to do since I've started using 1.0.0). I like the new "man" applet, but it >needs nroff and gtbl. Unfortunately, I didn't prepare the c++ compiler

Re: svn commit: trunk/busybox: archival archival/libunarchive debianuti etc...

2008-07-01 Thread Bernhard Fischer
On Tue, Jul 01, 2008 at 03:40:41AM -0700, [EMAIL PROTECTED] wrote: >Author: vda >Date: 2008-07-01 03:40:41 -0700 (Tue, 01 Jul 2008) >New Revision: 22582 > >Log: >*: introduce and use xvfork() >Modified: trunk/busybox/libbb/Kbuild >===

Re: missing iwconfig in busybox

2008-06-27 Thread Bernhard Fischer
>iwconfig? > > > >- Original Message >From: Bernhard Fischer <[EMAIL PROTECTED]> >To: Wilson Khoo <[EMAIL PROTECTED]> >Cc: busybox@busybox.net >Sent: Friday, June 27, 2008 9:49:29 AM >Subject: Re: missing iwconfig in busybox > >On Fri, Jun 27, 2008 at 06:05:

Re: missing iwconfig in busybox

2008-06-27 Thread Bernhard Fischer
On Fri, Jun 27, 2008 at 06:05:30AM -0700, Wilson Khoo wrote: >I am running busybox 1.6, which is old. >How can I build busybox to include iwconfig? I am missing all the wireless >command. Busybox does not have iwconfig, you have to use the normal iwconfig package for this functionality. HTH, ___

Re: problems to compile busybox 1.10.4

2008-06-27 Thread Bernhard Fischer
On Fri, Jun 27, 2008 at 01:59:26PM +0200, Reinhard Thies wrote: >Hi, >I am cross compiling busybox using eldk 4.1 (ARCH=ppc CROSS_COMPILE=ppc_4xx- ) >and got the following error: > > CC libbb/bb_qsort.o > CC libbb/bb_strtonum.o >libbb/bb_strtonum.c: In function 'ret_ERANGE': >libbb/bb_

Re: 1.11.0 and 1.10.4 are out

2008-06-26 Thread Bernhard Fischer
On Thu, Jun 26, 2008 at 04:16:48PM +0200, Marc Leeman wrote: >> Strange. 1.10.3 has absolutely the same modutils. right? > >nope. > >[EMAIL PROTECTED] diff]$ diff -Nrup busybox-1.10.3/modutils/ >busybox-1.11.0/modutils/ |wc -l >911 Marc, that's mostly depmod. diff -Nr busybox-1.10.3/modutils bus

Re: MODPROBE: next generation

2008-06-23 Thread Bernhard Fischer
On Mon, Jun 23, 2008 at 10:02:51AM -0700, [EMAIL PROTECTED] wrote: >Hello, Denys! > >Made a patch: >1. lsmod, modprobe, rmmod, depmod retain compatible interface: 1717 octets for >all. >2. insmod: do we really need to "publish" it as applet? >3. modules.dep move to /tmp/modules.dep.bb: that way we

Re: [PATCH]: Create vim -> vi alias

2008-06-20 Thread Bernhard Fischer
On Fri, Jun 20, 2008 at 11:55:17AM -0500, [EMAIL PROTECTED] wrote: > Hello, > > I'm not sure if this would be useful to anyone else. On our embedded > product we don't have support for shell command aliases, and I'm in the > habit of typing 'vim' instead of 'vi'. This patch adds a configurable

Re: MODPROBE: next generation

2008-06-20 Thread Bernhard Fischer
On Fri, Jun 20, 2008 at 04:58:04PM +0200, Denys Vlasenko wrote: >We already have open_transformer(), so you just call > >fd = open_transformer(gzfile_fd, unpack_gz_stream, "gunzip"); > >and voila - you can gunzip file on the fly :) Can we have a libunarchival wrapper that sets up open_transformer

Re: snapshot-20080618 'ls' inverted return status

2008-06-18 Thread Bernhard Fischer
On Wed, Jun 18, 2008 at 06:38:50PM +0200, Denys Vlasenko wrote: >On Wednesday 18 June 2008 15:15, George Boudreau wrote: >> Hi, >> While building busybox-20080618, with defconfig, I stumbled upon a >> problem with 'ls'. >> >> ./busybox ls; echo $? >> 1 >> ./busybox ls qwert; echo $? >> 0 >> >>

Re: [PATCH] fix last corner case in strrstr.c

2008-06-18 Thread Bernhard Fischer
On Tue, Jun 17, 2008 at 09:38:38PM +0200, Tito wrote: >Hi, >current implementation fails to be coherent with real strstr() >on the last test case: >./test >'baaabaaab' vs. 'aaa' : PASSED >'baaabb' vs. 'aaa' : PASSED >'baaabaab' vs. 'aaa' : PASSED >'aaa'vs. 'aaa'

Re: Busybox-1.10.3: ENABLE_FEATURE_TASKSET_FANCY -> cpu_set_tundefined

2008-06-18 Thread Bernhard Fischer
On Wed, Jun 18, 2008 at 02:45:57PM +0800, [EMAIL PROTECTED] wrote: >Hi; > I build against uClibc-0.9.28. Is there any specific uClibc >version that is prerequisite to build the latest busybox-1.10.3 without >that error (with cpu_set_t definition in some header files)? In the Please read all

Re: MODPROBE: modules.dep with bundled aliases

2008-06-17 Thread Bernhard Fischer
o that one can choose >modules.dep at configuration time. > >Would you rephrase the idea in better English and post to the list, Bernhard? Your english is perfectly fine, let's see what other people think about the idea. Yann, vda, ping? > >TIA, >-- >Vladimir > > >2

Re: [RFC] strrstr function in libbb failes on some corner cases

2008-06-17 Thread Bernhard Fischer
On Tue, Jun 17, 2008 at 01:52:20PM +0200, Tito wrote: >HI, >Attached you can find a test.c file with both strrstr, mine and Denys', they >show little >differences on "" vs. "" test case. >The test cases are improved and checked against the real strstr for >consistency. I picked vda's since yours

Re: Busybox-1.10.3: ENABLE_FEATURE_TASKSET_FANCY -> cpu_set_t undefined

2008-06-17 Thread Bernhard Fischer
On Tue, Jun 17, 2008 at 09:46:36AM +0200, walter harms wrote: >cpumask_t is not defined in older kernels. cpumask_t is not used by taskset. cpu_set_t comes from libc and he very, very likely just uses an inappropriate libc. Oh, and note that unless you have more than (let's say) 64 CPUs in you b

Re: [RFC] strrstr function in libbb failes on some corner cases

2008-06-17 Thread Bernhard Fischer
On Mon, Jun 16, 2008 at 09:48:07PM +0200, Tito wrote: >On Monday 16 June 2008 09:47:31 Bernhard Fischer wrote: >> On Mon, Jun 16, 2008 at 08:45:18AM +0200, Tito wrote: >> >On Monday 16 June 2008 06:33:35 you wrote: >> >> char* strrstr(const char

Re: Busybox-1.10.3: ENABLE_FEATURE_TASKSET_FANCY -> cpu_set_t undefined

2008-06-17 Thread Bernhard Fischer
On Tue, Jun 17, 2008 at 11:48:55AM +0800, [EMAIL PROTECTED] wrote: >Hi; > I turn on ENABLE_FEATURE_TASKSET_FANCY and cpu_set_t is >undefined. Linux kernel source has cpumask_t defined in >include/linux/cpumask.h. Please advise. Let's see. You ask about "cpu_set_t" and "taskset" which would b

Re: Ответ : MODPROBE: modules.dep with bundled aliases

2008-06-16 Thread Bernhard Fischer
On Mon, Jun 16, 2008 at 06:58:24PM +, Vladimir Dronnikov wrote: >BB depmod has ability to dump alias= definitions to modules.dep. When >I later run BB modprobe which uses modules.dep which was generated >with BB depmod (which has dumped alias= definitions :) I get SEGV. >Modprobe indeed has ali

Re: MODPROBE: modules.dep with bundled aliases

2008-06-16 Thread Bernhard Fischer
On Mon, Jun 16, 2008 at 11:32:23AM -0700, [EMAIL PROTECTED] wrote: >Hello, Bernhard! > >Seems modprobe gets stuck (SEGV) on subj. > >It assumes modules.dep contain only module dependencies of format >module: dep [ ...] >where ":" delimits the parts of definition. > >Bundled alias definitions of for

Re: [RFC] strrstr function in libbb failes on some corner cases

2008-06-16 Thread Bernhard Fischer
On Mon, Jun 16, 2008 at 08:45:18AM +0200, Tito wrote: >On Monday 16 June 2008 06:33:35 you wrote: >There was one more reason to avoid strlen, but it was just my personal stupid >paranoia: > >as we don't know the lenght of the strings it was difficult to decide >the correct type for the result to

Re: [RFC] strrstr function in libbb failes on some corner cases

2008-06-15 Thread Bernhard Fischer
On Sun, Jun 15, 2008 at 11:06:17PM +0200, Tito wrote: >Hi, >while inspecting the last changes in busybox code I hit some issues in >libbb/strrstr.c. The strrtstr function fails on some corner cases of a little >test program I wrote (and bombs out on NULL pointers): This was intended, see below. >

Re: [rfc] macros and macro usage

2008-06-15 Thread Bernhard Fischer
On Sun, Jun 15, 2008 at 03:08:46PM +0200, walter harms wrote: > > >Cristian Ionescu-Idbohrn wrote: >> On Sun, 15 Jun 2008, Denys Vlasenko wrote: >> >>> On Saturday 14 June 2008 21:20, Cristian Ionescu-Idbohrn wrote: $ egrep _ARPING include/autoconf.h #define CONFIG_ARPING 1 #define

Re: [rfc] macros and macro usage

2008-06-14 Thread Bernhard Fischer
On Sat, Jun 14, 2008 at 09:20:08PM +0200, Cristian Ionescu-Idbohrn wrote: >--- networking/udhcp/dhcpc.c.~1~ 2008-06-14 19:37:37.0 +0200 >+++ networking/udhcp/dhcpc.c 2008-06-14 20:24:20.0 +0200 >@@ -201,40 +197,26 @@ > OPT_f = 1 << 20, > /* The rest has variabl

bloat in parse_rtattr

2008-06-12 Thread Bernhard Fischer
Hi, parse_rtattr and it's users look like it should zero-out tb on it's own instead of everywhere in it's users. As always, tested patches are welcome. ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: msh if not

2008-06-11 Thread Bernhard Fischer
On Wed, Jun 11, 2008 at 09:45:58AM +0200, Roberto A. Foglietta wrote: >Hi to all, > > I would know how I can write this > > if ! true; then echo ciao; fi if test ! true; then echo use test;fi ___ busybox mailing list busybox@busybox.net http://busybox.ne

Re: Need help solve " We unsupport $((arith)) " Syntax Error

2008-06-09 Thread Bernhard Fischer
On Mon, Jun 09, 2008 at 01:39:30PM +0200, Gilles Espinasse wrote: >Would it not more clear to answer something like 'math support no selected' >than >'We unsupport $((arith))'? see r22276 ___ busybox mailing list busybox@busybox.net http://busybox.net/

Re: just seen a warning I didn't notice before

2008-06-08 Thread Bernhard Fischer
On Sun, Jun 08, 2008 at 07:42:03PM +0200, Cristian Ionescu-Idbohrn wrote: >Showing up with 'make {menu,old}config': > > HOSTCC scripts/kconfig/zconf.tab.o >scripts/kconfig/lex.zconf.c:1609: warning: 'input' defined but not used I think you should discuss that with the kconfig people and fix it t

Re: [PATCH] libbb print_flags() -380 bytes

2008-06-06 Thread Bernhard Fischer
On Fri, Jun 06, 2008 at 01:39:15PM +0200, Natanael Copa wrote: >Hi, > >I have looked more at the print_flags() I started with yesterday. > >Attatched are some patches and they should probably be committed to svn >separatly (easier to revert in case they have bugs). > >I tried to use print_flags() i

Re: [PATCH] dpkg: don't error out on missing conffiles

2008-06-05 Thread Bernhard Fischer
On Thu, Jun 05, 2008 at 01:53:18PM +0200, Peter Korsgaard wrote: >From: Peter Korsgaard <[EMAIL PROTECTED]> > >The conffiles control file isn't required in Debian packages, so don't >error out if it's missing. Applied with the comment extended accordingly. Thanks __

Re: [PATCH] dpkg: create_list: zero terminate list in loop

2008-06-05 Thread Bernhard Fischer
On Thu, Jun 05, 2008 at 01:53:17PM +0200, Peter Korsgaard wrote: >From: Peter Korsgaard <[EMAIL PROTECTED]> > >Saves a few bytes: > >function old new delta >create_list 124 103 -21 >--

Re: [PATCH] Support for the LOWER_UP flag

2008-06-04 Thread Bernhard Fischer
On Wed, Jun 04, 2008 at 08:29:56PM +0200, Natanael Copa wrote: > Hi, > > Attatched is a patch for the LOWER_UP flag in 'ip link/addr' output. > Useful to check if network cable is inserted or not. > > The code does an ugly ifdef to check if IFF_LOWER_UP is declared or not. > On my zenwalk deskt

Re: DEPMOD again

2008-06-04 Thread Bernhard Fischer
On Mon, Jun 02, 2008 at 09:13:20AM -0700, [EMAIL PROTECTED] wrote: >Hello, Bernhard! [hey there. Replying on the ML, hope you don't mind] > >Please, tell me: do you test your code before you submit it? occasionally, yes ;P In this case i did, see below. > >I put my modules into /usr/lib/modules. I

Re: depmod

2008-06-04 Thread Bernhard Fischer
On Thu, May 29, 2008 at 08:13:41PM +0400, Vladimir Dronnikov wrote: >2008/5/29, Bernhard Fischer <[EMAIL PROTECTED]>: >> >> On Wed, May 28, 2008 at 11:06:09PM +0400, Vladimir Dronnikov wrote: >> >> >5. I've prepared modules.tar.bz2 (of size 2.7Mb). Sorry,

Re: svn commit: trunk/busybox

2008-06-04 Thread Bernhard Fischer
On Wed, Jun 04, 2008 at 04:53:24AM -0700, [EMAIL PROTECTED] wrote: >Author: vda >Date: 2008-06-04 04:53:24 -0700 (Wed, 04 Jun 2008) >New Revision: 22212 > >Log: >remove -fno-jump-tables - after stripping it proved to be worse The only thing that really makes sense and is (imo) benefical is http://

Re: [patch] rtcwake: fix default suspend value

2008-06-02 Thread Bernhard Fischer
On Mon, Jun 02, 2008 at 04:35:43PM -0400, Mike Frysinger wrote: >On Monday 02 June 2008, Paulius Zaleckas wrote: >> Writing "suspend" to /sys/power/state does nothing. > >it depends solely on your kernel configuration If i'm not looking at the wrong spot, then # grep -A3 "\[PM_SUSPEND_MAX\]" kerne

Re: [patch] rtcwake: fix default suspend value

2008-06-02 Thread Bernhard Fischer
On Mon, Jun 02, 2008 at 11:21:12AM +0300, Paulius Zaleckas wrote: > Writing "suspend" to /sys/power/state does nothing. > Even --help says that default should be "standby" :) Applied as 22178. Thanks! ___ busybox mailing list busybox@busybox.net http://b

Re: DEPMOD again

2008-06-01 Thread Bernhard Fischer
On Sun, Jun 01, 2008 at 05:52:15AM -0700, [EMAIL PROTECTED] wrote: >Hello! > >Now depmod is really useful. >Bernhard, Denys, please, consider applying. I'll fix depmod next week. Thanks for your patience. ___ busybox mailing list busybox@busybox.net http

Re: [patch] coreutils/printf.c

2008-05-29 Thread Bernhard Fischer
On Thu, May 29, 2008 at 11:53:03PM +0200, Cristian Ionescu-Idbohrn wrote: >@@ -8540,6 +8541,9 @@ > { BUILTIN_NOSPEC"let", letcmd }, > #endif > { BUILTIN_ASSIGN"local", localcmd }, >+#if ENABLE_ASH_BUILTIN_PRINTF >+ { BUILTIN_REGULAR "[", printfcmd }, >

Re: depmod

2008-05-29 Thread Bernhard Fischer
On Wed, May 28, 2008 at 11:06:09PM +0400, Vladimir Dronnikov wrote: >5. I've prepared modules.tar.bz2 (of size 2.7Mb). Sorry, have no location to >upload it. Do you have? Or can I send you that tarball directly? I'd like to see the output of the patched modprobe first. ___

Re: something looks broken :(

2008-05-29 Thread Bernhard Fischer
On Wed, May 28, 2008 at 11:57:57PM +0200, Cristian Ionescu-Idbohrn wrote: >Alright. This seems to be now fixed both in the kernel and debian package >linux-libc-dev (2.6.25-4). Great. Thanks for your patience. ___ busybox mailing list busybox@busybox.n

Re: svn commit: trunk/busybox/procps

2008-05-28 Thread Bernhard Fischer
On Wed, May 28, 2008 at 05:41:01PM +0200, Denys Vlasenko wrote: >> >pid_t pid; >> >pid_list *plist; >> > >> >+ xchdir("/proc"); >> >d = opendir("/proc"); >> >> I don't think that this will work. At least /me doesn't have a directory >> /proc/proc/ :) > >opendir("/proc") uses absolut

Re: depmod

2008-05-28 Thread Bernhard Fischer
On Wed, May 28, 2008 at 07:02:50PM +0400, Vladimir Dronnikov wrote: >Hello, Bernhard! > > >> [Vladimir, please do not break the threading in the ML archives, TIA] > > >Sorry for some inconvenience -- I'll try my best. > > >> Why is strstr evil again? >> And why is it a good idea to increase the siz

Re: svn commit: trunk/busybox/procps

2008-05-28 Thread Bernhard Fischer
On Wed, May 28, 2008 at 07:57:59AM -0700, [EMAIL PROTECTED] wrote: >Author: vda >Date: 2008-05-28 07:57:58 -0700 (Wed, 28 May 2008) >New Revision: 22108 > >Log: >fuser: a now, the corrected fix (vda botched previous one) > > > >Modified: > trunk/busybox/procps/fuser.c > > >Changeset: >Modified: t

Re: where is “Do you wan t to build BusyBox with a Cross Compiler? ”in 1.8 .2?

2008-05-28 Thread Bernhard Fischer
On Wed, May 28, 2008 at 05:30:30PM +0800, wang9736 wrote: >hello everyone: >I cannot find this option in busybox-1.8.2,who can tell me where it is?In > busybox-1.8.2 ,I can see it. We inherited kbuild from the kernel some time ago. Nowadays you have to make CROSS_COMPILE=/path/to/my/your-cros

Re: depmod

2008-05-28 Thread Bernhard Fischer
On Mon, May 26, 2008 at 06:25:52PM +, Vladimir Dronnikov wrote: [Vladimir, please do not break the threading in the ML archives, TIA] > Hello, Bernhard! > > Attached is slightly modified depmod.c. > Sorry, I can not provide diff. I marked changed points with DVV with > comments. > > Suggest

Re: [PATCH] mdev regex fix

2008-05-23 Thread Bernhard Fischer
On Fri, May 23, 2008 at 02:30:28PM +0200, Natanael Copa wrote: >Attatched patch fixes the issue. (for 1.10.2 + current patches) -ENOPATCH ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: Format for /var/log/wtmp entries

2008-05-22 Thread Bernhard Fischer
On Thu, May 22, 2008 at 12:38:15PM +0200, Friedemann Schorer wrote: > Hi! > I use busybox 1.9.2 on a DSL router (Fritzbox) which runs a modified > firmware. Now I enabled the 'last' tool in the busybox conf and built > busybox freshly, as I did with the dropbear daemon whom I configured to >

Re: improved last

2008-05-21 Thread Bernhard Fischer
On Wed, May 21, 2008 at 07:44:49PM +0200, Denys Vlasenko wrote: >On Wednesday 21 May 2008 17:59, Cristian Ionescu-Idbohrn wrote: >> On Wed, 21 May 2008, Denys Vlasenko wrote: >> >> > On Wednesday 21 May 2008 01:04, Cristian Ionescu-Idbohrn wrote: >> > > Please consider for inclusion this optional

Re: latest bloat-o-meter change introduced some regression

2008-05-21 Thread Bernhard Fischer
On Wed, May 21, 2008 at 11:53:28PM +0200, Cristian Ionescu-Idbohrn wrote: >On Wed, 21 May 2008, Bernhard Fischer wrote: > >> funny. Seems to come from: >> size, type, name = l[:-1].split() >> >> No idea why the name is truncated on purpose.. *shrug* >> I&

Re: latest bloat-o-meter change introduced some regression

2008-05-21 Thread Bernhard Fischer
On Wed, May 21, 2008 at 11:07:35PM +0200, Cristian Ionescu-Idbohrn wrote: >If I back this patch: > >Index: scripts/bloat-o-meter >=== >--- scripts/bloat-o-meter (revision 22041) >+++ scripts/bloat-o-meter (working copy) >@@ -

Re: something looks broken :(

2008-05-21 Thread Bernhard Fischer
On Tue, May 20, 2008 at 11:45:43PM +0200, Cristian Ionescu-Idbohrn wrote: >On Tue, 20 May 2008, Bernhard Fischer wrote: >> This should be fixed in the kernel: >> http://repo.or.cz/w/buildroot.git?a=blob_plain;f=toolchain/kernel-headers/linux-2.6.25.4-netfilter.h-missing-include.pat

  1   2   3   4   >