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 by the

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] 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] 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 +#define OPT_HTIMER 0x03 + if (opts OPT_STIMER

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 not

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

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

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: Ответ: ?????: 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 list)

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 What is

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

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 26 July 2008 19:27, Michael D. Setzer II

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

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 for me

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

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' for a

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) that

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

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 rule, but if you

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: 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, please

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 users are

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

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) @@ -841,7

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

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: 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: 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,

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 - the config

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: 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.html So,

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 in busybox I need

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

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... Here: ... recursive_action(/sys/block

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 'xrealloc' That

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 useful). What's

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 and

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: 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':

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: missing iwconfig in busybox

2008-06-27 Thread Bernhard Fischer
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:30AM -0700, Wilson Khoo wrote: I am running busybox 1.6, which is old. How can

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

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 ensure

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 for

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: 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: [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: 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 Looks like the

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 *haystack, const char *needle) { char *r = NULL

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 used the

Re: MODPROBE: modules.dep with bundled aliases

2008-06-17 Thread Bernhard Fischer
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 2008/6/17, Bernhard Fischer [EMAIL PROTECTED]: On Mon, Jun 16, 2008 at 12:39:03PM -0700, [EMAIL PROTECTED] wrote

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: 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 form alias

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 ENABLE_ARPING 1

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. For

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 variable bit

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

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

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() in arp.c

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] 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: 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

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, have no location to upload it. Do you have? Or can I

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 set

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 desktop it

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

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\]

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

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

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: [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_NOSPEClet, letcmd }, #endif { BUILTIN_ASSIGNlocal, localcmd }, +#if ENABLE_ASH_BUILTIN_PRINTF + { BUILTIN_REGULAR [, printfcmd }, +#endif are

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. Suggested:

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

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 size needlessly?

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 absolute path. alright, 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) @@ -21,12

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 (and yes,

Re: something looks broken :(

2008-05-20 Thread Bernhard Fischer
On Tue, May 20, 2008 at 09:59:22PM +0200, Cristian Ionescu-Idbohrn wrote: # make clean # make defconfig # make CC networking/tcpudp.o In file included from /usr/include/linux/netfilter_ipv4.h:8, from networking/tcpudp.c:34: /usr/include/linux/netfilter.h:40: error:

Re: svn commit: trunk/busybox

2008-05-16 Thread Bernhard Fischer
On Thu, May 15, 2008 at 02:44:46PM -0700, [EMAIL PROTECTED] wrote: Author: vda Date: 2008-05-15 14:44:46 -0700 (Thu, 15 May 2008) New Revision: 21984 Log: Add more -W options to gcc. Modified: trunk/busybox/Makefile.flags Changeset: Modified: trunk/busybox/Makefile.flags

Re: choice of control operators in scripts

2008-05-13 Thread Bernhard Fischer
On Mon, May 12, 2008 at 11:02:22PM -0400, Paul Fox wrote: denys wrote: On Monday 12 May 2008 23:06, Paul Fox wrote: If you fell paranoid today (highly recommended), add x to guard against less than ideal implementations of [] which can be confused by e.g. foo=-n : [

missing busybox dependency on scripts/trylink

2008-05-09 Thread Bernhard Fischer
Hi, If i change trylink then busybox isn't re-linked. ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: Add tftp command in a busybox compiled

2008-05-09 Thread Bernhard Fischer
On Fri, May 09, 2008 at 01:52:00PM +0200, berganz françois wrote: But, it is a busybox from 'asterisk appliance aa50' (Digium.com) and I don't know everythings... get busybox-1.10.2, make allnoconfig; make menuconfig select the applets you want to use (e.g. only tftp) and build it and put it on

[PATCH*,RFC] shrinkage

2008-05-09 Thread Bernhard Fischer
[resending with patch*, sorry if you get this twice, vda] Hi, The attached patch provides shrinkage when building a shared lib. textdata bss dec hex filename 69619073259432 712947 ae0f3 trunk_lib/libbusybox.so.1.11.0.svn 69488071899432 711501 adb4d

Re: [busybox] problems with mdev -s

2008-05-09 Thread Bernhard Fischer
On Fri, May 09, 2008 at 11:21:34AM -0400, Rich Mahn wrote: On Tuesday 06 May 2008 22:02, Rich Mahn wrote: The problem: With certain configurations, when 'mdev -s' is run, all devices created are character devices, including those which should be block devices. This is easily

Re: [PATCH*,RFC] shrinkage

2008-05-09 Thread Bernhard Fischer
On Fri, May 09, 2008 at 05:50:00PM +0200, Denys Vlasenko wrote: On Friday 09 May 2008 16:14, Bernhard Fischer wrote: [resending with patch*, sorry if you get this twice, vda] Hi, The attached patch provides shrinkage when building a shared lib. textdata bss dec hex

Re: ash_ptr_hack.c:14: error: conflicting type qualifiers for 'ash_ptr_to_globals_misc'

2008-05-08 Thread Bernhard Fischer
On Fri, Apr 11, 2008 at 02:51:43PM +0200, Denys Vlasenko wrote: Can't reproduce it. Traditional link wins for me. Fixed in r21949. ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: [patch] miscutils/last.c: old sin :)

2008-05-05 Thread Bernhard Fischer
Applied as 21932. Thanks! ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: Best use of mdev?

2008-05-02 Thread Bernhard Fischer
On Fri, May 02, 2008 at 12:49:33AM +1000, Michael D. Setzer II wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was just contacted by a user that has 11 partitions on a large hard disk. My g4l project currently has the nods setup as being precreated in the /dev directory. It had massive

Re: [patch] testsuite/cpio.tests: fixes half of it

2008-05-02 Thread Bernhard Fischer
On Fri, May 02, 2008 at 07:33:30PM +0200, Cristian Ionescu-Idbohrn wrote: hexdump on my system (part of the bsdmainutils v6.1.10) does not support the '-R' option, so I need to use busybox hexdump with FEATURE_HEXDUMP_REVERSE enabled. I'm a bit unsure about proper usage of the 'optional'

Re: PATCH: brctl show

2008-04-30 Thread Bernhard Fischer
On Sun, Apr 06, 2008 at 09:19:24AM +0200, Denys Vlasenko wrote: On Saturday 05 April 2008 23:10, L. Gabriel Somlo wrote: Hi, I need to be able to see the list of ports currently configured on a bridge, so I took a shot at implementing 'brctl show'. Might follow up with 'showmacs' later, but

testing a single applet; command command [was: Re: svn commit: trunk/busybox/testsuite]

2008-04-29 Thread Bernhard Fischer
On Tue, Apr 29, 2008 at 07:11:57AM -0700, [EMAIL PROTECTED] wrote: Author: vda Date: 2008-04-29 07:11:57 -0700 (Tue, 29 Apr 2008) New Revision: 21894 Log: runtest: more cleanups Modified: trunk/busybox/testsuite/runtest Changeset: Modified: trunk/busybox/testsuite/runtest

Re: [PATCH] selinux support on mkswap applet

2008-04-25 Thread Bernhard Fischer
On Fri, Apr 25, 2008 at 04:57:41PM +0900, KaiGai Kohei wrote: Bernhard Fischer wrote: Index: busybox/util-linux/mkswap.c === --- busybox/util-linux/mkswap.c (revision 20280) +++ busybox/util-linux/mkswap.c (working copy

Re: getty 64 char limit per line?

2008-04-25 Thread Bernhard Fischer
On Fri, Apr 25, 2008 at 08:07:18AM +0100, Chris Humphreys wrote: I too have seen this problem. It is not in getty but at the command prompt when logged in. I am using Busybox 1.9.1 on an Arm processor. Linux 2.6.21.1 Please provide the .config you used and state what toolchain you used to build

Re: [PATCH] selinux support on mkswap applet

2008-04-24 Thread Bernhard Fischer
On Thu, Oct 18, 2007 at 07:41:09PM +0900, KaiGai Kohei wrote: Hi, The attached patch enables to relabel the security context of regular files to swapfile_t, when mkswap attempt to initialize a regular file as a swap. The reason of this extension is that swapfile can store memory regions of any

Re: just another one of my rumblings

2008-04-24 Thread Bernhard Fischer
On Thu, Apr 24, 2008 at 04:30:48PM -0400, Paul Fox wrote: On Thu, 2008-04-24 at 21:09 +0200, Cristian Ionescu-Idbohrn wrote: [ -n $bindir ] || bindir=$(dirname $(pwd)) Even better is to avoid dirname altogether. It's actually not necessary at all in a POSIX shell; neither is

  1   2   3   >