Re: Suboptimal header getopt.h for busybox?

2007-03-23 Thread Bernhard Fischer
On Fri, Mar 23, 2007 at 12:47:52PM +0100, Mats Erik Andersson wrote: Hello all, in trying to optimise a minimal system even further for size, I had the idea to switch off full GNU getopt support in uClibc and make do with SuSv3 standards. It turned out that Busybox refused to compile due to

Re: On feature configuration for Busybox

2007-03-28 Thread Bernhard Fischer
[taking this on-list again] On Wed, Mar 28, 2007 at 11:52:15PM +0200, Denis Vlasenko wrote: Hi Bernhard, On Wednesday 28 March 2007 22:42, Bernhard Fischer wrote: just for the sake of patching, thus mimiking the good fortune I could use when dealing with run_parts.c? There is a severe risk

Re: [PATCH] shrink wget a bit; use skip_non_whitespace some more

2007-04-10 Thread Bernhard Fischer
On Sat, Apr 07, 2007 at 12:59:41PM +0200, Denis Vlasenko wrote: On Friday 06 April 2007 17:06, Bernhard Fischer wrote: Hi vda, all Attached patch shrinks wget a little bit and uses skip_non_whitespace in some additional places. vda, please checkin if you like it. --- libbb/str_tolower.c

Re: [PATCH] support for optional -delete and -path in 'find'

2007-04-10 Thread Bernhard Fischer
On Tue, Apr 10, 2007 at 02:15:20PM +0200, Natanael Copa wrote: Hi, Attached is a patch against current svn for optional support of the -delete and -path option in the 'find' applet. For the record: The -delete option can be dangerous. Use at your own risk. (its turned off by default) I was not

Re: custom initramfs: switch_root woes

2007-04-10 Thread Bernhard Fischer
On Tue, Apr 10, 2007 at 11:35:58AM +0200, Natanael Copa wrote: On Mon, 2007-04-09 at 19:59 -0500, [EMAIL PROTECTED] wrote: I'm implementing the dm-crypt w/ Luks disk encryption solution as outlined in this wiki entry http://gentoo-wiki.com/SECURITY_System_Encryption_DM-Crypt_with_LUKS. [

Re: Figured out ARM problem.

2007-04-10 Thread Bernhard Fischer
On Tue, Apr 10, 2007 at 08:07:19PM +0100, James Simmons wrote: I tracked it down to way ash was hanging at start up. It was setjmp. Looking into the problem was uClibc was set to USE_FPU. This caused a lookup. So I disabled USE_FPU in uClibc but I'm getting arm-linux-uclibc-ld: ERROR:

Re: ip route problem

2007-04-11 Thread Bernhard Fischer
On Wed, Apr 11, 2007 at 05:11:37PM +0200, Jean Wolter wrote: Jean Wolter [EMAIL PROTECTED] writes: busybox ip and the original ip utility behave differently when setting the following route (verified with ip route show using the original ip utility): ip route add 10.0.0.138 dev eth0 In

Re: [Buildroot] busybox-1.5.0 miscutils/taskset.c compile errors

2007-04-12 Thread Bernhard Fischer
On Wed, Apr 11, 2007 at 10:07:23PM +0200, Ulf Samuelsson wrote: On Wednesday 11 April 2007 12:29, Ulf Samuelsson wrote: It seems that there is some undefined defines's in the taskset.c CPU_ISSET CPU_SETSIZE CPU_ZERO CPU_SET They are supposed to be set in sched.h, and they are present

Re: svn commit: trunk/busybox/shell

2007-04-15 Thread Bernhard Fischer
On Sat, Apr 14, 2007 at 11:07:49PM +0200, Denis Vlasenko wrote: On Saturday 14 April 2007 18:30, Bernhard Fischer wrote: On Sat, Apr 14, 2007 at 08:08:42AM -0700, [EMAIL PROTECTED] wrote: Author: vda Date: 2007-04-14 08:08:41 -0700 (Sat, 14 Apr 2007) New Revision: 18440 --- trunk/busybox

Re: Build broken

2007-04-17 Thread Bernhard Fischer
On Tue, Apr 17, 2007 at 08:41:53AM +0200, Tito wrote: On Monday 16 April 2007 21:51:41 Denis Vlasenko wrote: On Sunday 15 April 2007 14:09, Tito wrote: Hi, current svn r 18452 doesn't compile. :-( Should be fixed now. Yell if it doesn't -- vda Yes, thanks! Works for me. I see only a

Re: dd error found

2007-04-19 Thread Bernhard Fischer
On Thu, Apr 19, 2007 at 08:49:55PM +0200, Dirk Clemens wrote: Dirk Clemens wrote: dd works wrong for at least this command line: dd if=a_file ibs=64 skip=16 count=1 the output of busybox dd start with byte at offset #0 from 'a_file', but not at 64*16 - skip is ignored. this is the error

Re: svn commit: trunk/busybox/coreutils

2007-04-19 Thread Bernhard Fischer
On Thu, Apr 19, 2007 at 12:55:55PM -0700, [EMAIL PROTECTED] wrote: Author: vda Date: 2007-04-19 12:55:54 -0700 (Thu, 19 Apr 2007) New Revision: 18499 Changeset: Modified: trunk/busybox/coreutils/stty.c === ---

Re: PATCH: fix for broken run-parts

2007-04-30 Thread Bernhard Fischer
On Sun, Apr 29, 2007 at 08:59:07AM -0400, Gabriel L. Somlo wrote: On Sun, Apr 29, 2007 at 12:14:30PM +0200, Denis Vlasenko wrote: If the --lsbsysinit option is not given then the names must consist entirely of upper and lower case letters, digits, underscores, and hyphens. But that should

Re: [patch] New-applet howto. (and new applet)

2007-05-08 Thread Bernhard Fischer
On Tue, May 08, 2007 at 10:22:46PM +0200, Tito wrote: On Tuesday 08 May 2007 21:32:28 Tito wrote: On Tuesday 08 May 2007 19:52:31 Denis Vlasenko wrote: On Tuesday 08 May 2007 15:15, Thomas Lundquist wrote: On Tue, May 08, 2007 at 12:39:55AM +0200, Denis Vlasenko wrote: string is

Re: ASH and autocompletion

2007-05-16 Thread Bernhard Fischer
On Wed, May 16, 2007 at 04:16:55PM +0200, [EMAIL PROTECTED] wrote: Hello, I've just upgraded to BusyBox 1.5.0 (from 1.21 and even earlier 1.00) and using the ASH shell as default. After the upgrade (I compile busybox independent to buildroot, but use buildroot to create a toolchain only),

Re: RFC: remove lash?

2007-05-23 Thread Bernhard Fischer
On Tue, May 22, 2007 at 07:43:39PM -0400, Paul Fox wrote: It could make sense to remove hush if msh is a little bigger than hush and maintain lash in order to have a very very small shell for very tiny devices. This will leave me without shell which is small enough to be

Re: wget downloads file with wrong size

2007-05-23 Thread Bernhard Fischer
On Wed, May 23, 2007 at 11:09:38AM +0200, Alexander Kriegisch wrote: Hi! BB 1.4.2, mipsel Can you try to reproduce this with 1.5.1 or trunk, please? ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: insmod path search

2007-05-25 Thread Bernhard Fischer
On Fri, May 25, 2007 at 07:59:59PM +0200, Yann E. MORIN wrote: so in the BusyBox options i removed the 2.2 and 2.4 old module support and the result is that at boot time no module were loaded. I investigated a bit and I noticed that OpenWrt 's scripts calls insmod without a full path, like

Re: udhcpc and Infiniband support

2007-05-31 Thread Bernhard Fischer
On Wed, May 30, 2007 at 03:01:49PM -0700, Greg Kurtzer wrote: I noticed that the Infiniband driver is dropping the outgoing packets from udhcpc: # ifconfig ib0 ib0 Link encap:UNSPEC HWaddr 00-00-04-04-FE-80-00-00-00-00-00-00-00-00-0 Reminds me that i have a patch lying around that fixes

Re: udhcpc and Infiniband support

2007-05-31 Thread Bernhard Fischer
On Thu, May 31, 2007 at 07:41:40AM -0700, Greg Kurtzer wrote: On 5/31/07, Bernhard Fischer [EMAIL PROTECTED] wrote: IIRC Hal did once post a patch that added verbs support to dhcpd (not our udhcp). Not sure if this was added to upstream. How did that work? Did it use verbs to do

Re: mdev : bug corrected (patch attached)

2007-06-01 Thread Bernhard Fischer
On Fri, Jun 01, 2007 at 03:15:10PM +0200, Renaud Cerrato wrote: Dear, Using mdev, we noticed that some devices were not attached to /dev/ using mdev -s. Looking at the source code, the function which walk through the /sys/ tree make use of lstat, but the /sys tree can use symlink as seen here :

Re: mdev : bug corrected (patch attached)

2007-06-01 Thread Bernhard Fischer
On Fri, Jun 01, 2007 at 07:08:16PM +0200, Souf wrote: Le vendredi 01 juin 2007 à 15:57 +0200, Bernhard Fischer a écrit : recursive_action() anyone? I had already sent a large patch to improve mdev but it does not seem to interest many people, in any case I resend it here, it uses

Re: mdev : bug corrected (patch attached)

2007-06-01 Thread Bernhard Fischer
On Fri, Jun 01, 2007 at 08:36:19PM +0200, Souf wrote: Le vendredi 01 juin 2007 à 19:16 +0200, Bernhard Fischer a écrit : On Fri, Jun 01, 2007 at 07:08:16PM +0200, Souf wrote: Le vendredi 01 juin 2007 à 15:57 +0200, Bernhard Fischer a écrit : recursive_action() anyone? I had already sent

Re: [patch] optional -lsepol

2007-06-05 Thread Bernhard Fischer
On Tue, Jun 05, 2007 at 04:08:26PM +0900, Yuichi Nakamura wrote: Hi. If you configured ENABLE_SELINUX, and enabled SELinux applets, libsepol is linked. However, current SELinux applets do not use libsepol. In addition, size of libsepol is big, so it is better not to link it by default. I

Re: How can I do to make a busybox shared library (libbusybox.so) for other application?

2007-06-06 Thread Bernhard Fischer
On Wed, Jun 06, 2007 at 06:46:38PM +0800, [EMAIL PROTECTED] wrote: DIV DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2Dears,/FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2I want to use some of busybox's function for my application./FONT/DIV

Re: [patch] ps -Z fixes again

2007-06-06 Thread Bernhard Fischer
On Wed, Jun 06, 2007 at 09:40:43AM +0200, Denis Vlasenko wrote: On Wednesday 06 June 2007 02:00, Yuichi Nakamura wrote: On Wed, 6 Jun 2007 01:39:55 +0200 Denis Vlasenko wrote: We would like to submit patch again. Please review attached 3.patch, it is a patch to latest svn. I think it

Re: Problem with test applet - Negation

2007-06-06 Thread Bernhard Fischer
On Wed, Jun 06, 2007 at 07:33:48PM +0200, Milos Wimmer wrote: Hello, I found bug in busybox-1.6.0 test applet. my bug, will fix ASAP. ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: Problem with test applet - Negation

2007-06-07 Thread Bernhard Fischer
On Wed, Jun 06, 2007 at 09:21:28PM +0200, Bernhard Fischer wrote: On Wed, Jun 06, 2007 at 07:33:48PM +0200, Milos Wimmer wrote: Hello, I found bug in busybox-1.6.0 test applet. my bug, will fix ASAP. this was fixed in the meantime on trunk and also the 1_6_stable branch. Please update

Re: mdev : bug corrected (patch attached) - recursive_action version

2007-06-11 Thread Bernhard Fischer
On Mon, Jun 11, 2007 at 09:56:37AM +0200, Renaud Cerrato wrote: Dear, Here's the patch correcting mdev, using recursive_action : We noticed that some devices were not attached to /dev/ using mdev -s. Looking at the source code, the function which walk through the /sys/ tree make use of lstat,

Re: Where is my help text?

2007-06-11 Thread Bernhard Fischer
On Sun, Jun 10, 2007 at 05:09:30PM +0200, Denis Vlasenko wrote: On Sunday 10 June 2007 16:49, Denis Vlasenko wrote: On Sunday 10 June 2007 15:43, Hamish Moffatt wrote: On Sun, Jun 10, 2007 at 03:06:56PM +0200, Denis Vlasenko wrote: Worsk for me: # ./busybox dpkg --help BusyBox

Re: Problem with test applet

2007-06-11 Thread Bernhard Fischer
On Mon, Jun 11, 2007 at 03:31:24PM +0200, Milos Wimmer wrote: Hello, I found another bug in busybox-1.6.0 test applet. ./busybox-1.5.0 sh $ GMT=-u $ [ $GMT = -u ] echo ok ok ./busybox-1.6.0 sh $ GMT=-u $ [ $GMT = -u ] echo ok sh: -u: unknown operand hmz. The NOT operator check is

Re: Problem with test applet

2007-06-11 Thread Bernhard Fischer
On Mon, Jun 11, 2007 at 05:39:16PM +0200, Bernhard Fischer wrote: On Mon, Jun 11, 2007 at 03:31:24PM +0200, Milos Wimmer wrote: Hello, I found another bug in busybox-1.6.0 test applet. ./busybox-1.5.0 sh $ GMT=-u $ [ $GMT = -u ] echo ok ok ./busybox-1.6.0 sh $ GMT=-u $ [ $GMT = -u ] echo

Re: [PATCH Try#2 3/3] Major improvements to RPM

2007-06-13 Thread Bernhard Fischer
Andy, On Wed, Jun 13, 2007 at 12:02:28PM +0200, Steve M. wrote: I tried the Patches and got some compiler warnings while building. Functionality seems ok after a quick tryout. CC archival/rpm.o archival/rpm.c:268: warning: no previous prototype for ?rpm_construct_scan_state? has to

Re: libbb/trim.c

2007-06-13 Thread Bernhard Fischer
On Thu, Jun 14, 2007 at 12:29:55AM +0200, souf wrote: I tried to rewrite libbb/trim.c by adding new functions, a similar functions are dispersed in busybox: coreutils/cal.c miscutils/crond.c procps/sysctl.c shell/lash.c shell/ash.c applets/applets.c trim.c

Re: [PATCH] mini port scanner for busybox

2007-06-14 Thread Bernhard Fischer
On Wed, Jun 13, 2007 at 11:54:05PM +0200, Tito wrote: Hi, this patch adds a very simple port scanner based on connect() to busybox. I developed it for fun and to improve my skills. Include it if you like it. Critics, hints and improvements are welcome. Apart from vda's comments, perhaps it should

Re: libbb/trim.c

2007-06-15 Thread Bernhard Fischer
On Thu, Jun 14, 2007 at 11:42:57PM +0200, souf wrote: Le jeudi 14 juin 2007 à 10:14 +0200, Denis Vlasenko a écrit : From name I can infer that this function trims something from a string. What does it trim? where (from the start, end, both)? In my mind trim() strips off trailing whitespace

Re: Latest change in correct_password.c

2007-06-15 Thread Bernhard Fischer
On Thu, Jun 14, 2007 at 11:48:59PM +0200, Denis Vlasenko wrote: I vote for xx :) changed back to this in r18824 ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

regfree() missing? [was Re: svn commit: trunk/busybox: findutils include]

2007-06-16 Thread Bernhard Fischer
On Fri, Jun 15, 2007 at 04:43:11PM -0700, [EMAIL PROTECTED] wrote: Author: vda Date: 2007-06-15 16:43:11 -0700 (Fri, 15 Jun 2007) New Revision: 18827 Log: find: add conditional support for -maxdepth and -regex (needed for Linux 2.6.22-rc4 build) Is there a regfree() missing for CLEAN_UP?

Re: wget support for no_proxy env var

2007-06-19 Thread Bernhard Fischer
On Mon, Jun 18, 2007 at 03:23:20PM -0600, dann frazier wrote: hey, The following patch adds support for the no_proxy envvar to the wget applet. Most of the code is lifted directly from GNU's wget source (with a few simplifications). This is my first contribution to busybox and a rare attempt at C

Re: correct searchpath for configdata

2007-06-20 Thread Bernhard Fischer
On Wed, Jun 20, 2007 at 01:40:33PM +0200, walter harms wrote: hi list, i was wondering why bb-1.6 produced a whole bunch of warnings for my .config even when freshly unpacked. More over i had random bits selected while most other stuff was empty, an indication that defconfig was never loaded.

Re: ctrl-c doesn't work but ctrl-z is ok in telnet

2007-06-21 Thread Bernhard Fischer
On Thu, Jun 21, 2007 at 10:51:21AM +0800, Bin Chen wrote: I am using busybox-1.1 and I found the ctrl-c can't work when I telnet into the board, but ctrl-z can work. Any idea? Does it work with current trunk or at least 1.6.0? Did you read the FAQ (there

Re: [rfc] xioctl()

2007-06-23 Thread Bernhard Fischer
On Sat, Jun 23, 2007 at 01:31:19PM -0400, Mike Frysinger wrote: On Saturday 23 June 2007, Mike Frysinger wrote: +int xioctl(int fd, int request, unsigned long arg) +{ + int ret = ioctl(fd, request, arg); + if (ret != 0) + bb_perror_msg_and_die(ioctl); + return

segfault with 'ash -c type'

2007-06-25 Thread Bernhard Fischer
Hi, consider: $ ./busybox ash -c type Segmentation fault How about Index: shell/ash.c === --- shell/ash.c (revision 18919) +++ shell/ash.c (working copy) @@ -6986,7 +6986,7 @@ int verbose = 1; /* type -p ... ? (we

Re: [PATCH] size reduction and code clean up for devfsd.c

2007-06-27 Thread Bernhard Fischer
On Wed, Jun 27, 2007 at 09:44:39AM +0200, Tito wrote: On Wednesday 27 June 2007 02:20:00 Denis Vlasenko wrote: BTW: I'm seeing a lot of error messages now when compiling busybox: miscutils/devfsd.c: In function ???devfsd_main???: miscutils/devfsd.c:457: warning: ignoring return value of

Re: Is there a way to /* silence gcc */?

2007-07-02 Thread Bernhard Fischer
On Sun, Jul 01, 2007 at 08:36:41PM +0200, Cristian Ionescu-Idbohrn wrote: On Sun, 1 Jul 2007, Denis Vlasenko wrote: On Sunday 01 July 2007 19:25, Cristian Ionescu-Idbohrn wrote: findutils/find.c: In function `parse_params': findutils/find.c:512: warning: no previous prototype for

r18727 broke fdisk

2007-07-08 Thread Bernhard Fischer
vda, util-linux/fdisk.c: In function 'seek_sector': util-linux/fdisk.c:641: warning: implicit declaration of function 'lseek64' util-linux/fdisk.c:641: error: 'off64_t' undeclared (first use in this function) util-linux/fdisk.c:641: error: (Each undeclared identifier is reported only once

Re: devmem2

2007-07-11 Thread Bernhard Fischer
On Wed, Jul 11, 2007 at 03:11:26PM +0200, Marc Leeman wrote: A patch to include a small program that reads from/to physical memory. Useful for e.g. tuning the processor register map after bootup. I put in util-linux. It isn't in the util-linux package, is it? Perhaps miscutils would be a better

Re: [PATCH 1/7] bb_ioctl implementation - improved

2007-07-11 Thread Bernhard Fischer
On Wed, Jul 11, 2007 at 06:38:15PM +0200, Tito wrote: On Wednesday 11 July 2007 13:48:52 Alex Landau wrote: Tito [EMAIL PROTECTED] wrote: Hi, this series of 7 patches is a first attempt to add an ioctl api to libbb and to use it in all applets where: if ( ioctl() 0 [!= 0])

Re: [patch]setfiles/restorecon applet

2007-07-23 Thread Bernhard Fischer
On Mon, Jul 23, 2007 at 02:56:57PM +0100, Denis Vlasenko wrote: On 7/23/07, Bernhard Fischer [EMAIL PROTECTED] wrote: On Mon, Jul 23, 2007 at 10:16:38AM +0900, Yuichi Nakamura wrote: Hi. in setfiles_full_usage: \n -q Suppress no-error output \ do you mean Suppress warnings or be quiet

Re: [PATCH] resbumit: wget support for no_proxy env var

2007-07-24 Thread Bernhard Fischer
On Tue, Jul 24, 2007 at 03:12:22PM -0600, dann frazier wrote: hey, The following patch adds support for the no_proxy envvar to the wget applet. Most of the code is lifted directly from GNU's wget source (with a few simplifications). Originally submitted here:

Re: multiple target patterns error while building under cygwin

2007-07-27 Thread Bernhard Fischer
On Fri, Jul 27, 2007 at 01:04:00PM -0400, Crane, Matthew wrote: Hi, Thanks for your response. I think my build error is the result of the dos2unix + unix2dos patch. My cygwin system was installed with Unix text mode, and I've tried to explicitly set the locale, but fixdep always seems to

Re: disable network module at boot time

2007-08-22 Thread Bernhard Fischer
On Wed, Aug 22, 2007 at 04:27:34AM -0700, Vivek-Kumar Gupta wrote: Regarding ep93xx-eth, I just mean to say that, I am using Cirrus logic board, and I have also seen ep93xx_eth.c, which generates ep93xx-eth driver. I am searching ep93xx-eth in booting scripts to turn OFF the Network Support from

Re: [PATCH] ifupdown and allow-hotplug

2007-08-23 Thread Bernhard Fischer
On Thu, Aug 23, 2007 at 12:05:41PM +0200, [EMAIL PROTECTED] wrote: Hello, Here a small patch for the ifupdown applet. It add support for the allow-hotplug option. Simon diff -r a75029f7bc4b include/usage.h --- a/include/usage.h Thu Aug 23 11:47:23 2007 +0200 +++ b/include/usage.h Thu Aug 23

Re: 1.7.0 is out

2007-08-25 Thread Bernhard Fischer
On Fri, Aug 24, 2007 at 04:30:31PM +0100, Denys Vlasenko wrote: On Friday 24 August 2007 14:45, Stephane Billiart wrote: On 24/08/07 ? ? 11:59, Denys Vlasenko wrote: Hi people, I uploaded 1.7.0 earlier today. Enjoy. [...] * fdisk: make it work with big disks (read: typical today's

[patch,RFC,CFT] debloat du #1

2007-09-01 Thread Bernhard Fischer
Hi, I have this patch lying around for some months now.. Ideally, du would reuse recursive_action, but the attached patch only does the non-intrusive (i.e. i didn't rewrite it, which would have been saner, perhaps) part 1/2, that is switch to globals and debloat the logic a little bit. This patch

Re: [PATCH] vi should be in /usr/bin and not in /bin

2007-09-04 Thread Bernhard Fischer
On Tue, Sep 04, 2007 at 04:14:57PM -0400, Paul Fox wrote: On Tuesday 04 September 2007 18:33, Natanael Copa wrote: While porting openbsd's sendbug I realized that busybox vi is in /bin and not in /usr/bin where I would expect an application like vi. /usr/bin might have been correct at one

Re: Cann't find Cross Compiler in menuconfig?

2007-09-17 Thread Bernhard Fischer
On Mon, Sep 17, 2007 at 09:06:47AM +0200, Natanael Copa wrote: On Mon, 2007-09-17 at 11:53 +0800, NalaGinrut wrote: Hello,everybody! I'm a busybox-freshman.And I don't know how to compile busybox to be a cross compile version.I mean an ARM cross compile busybox. When I got into

Re: svn commit: trunk/busybox: include util-linux

2007-09-21 Thread Bernhard Fischer
On Fri, Sep 21, 2007 at 06:43:29AM -0700, [EMAIL PROTECTED] wrote: Author: vda Date: 2007-09-21 06:43:28 -0700 (Fri, 21 Sep 2007) New Revision: 19927 Log: microcom: new applet by Vladimir Dronnikov [EMAIL PROTECTED] Modified: trunk/busybox/include/applets.h trunk/busybox/include/usage.h

Re: FATAL: kernel too old

2007-09-21 Thread Bernhard Fischer
to remove it, as it's generated automatically by the mail server ... Sorry for that. To Bernhard Fischer: thanks for your help, though you were a little bit ironic, and I think it's not the way people should answer here, as we do not have all the same knowledge ! In addition, there's a reason why I

Re: r18727 broke fdisk

2007-09-21 Thread Bernhard Fischer
On Thu, Jul 12, 2007 at 02:04:38AM +0200, Denis Vlasenko wrote: On Sunday 08 July 2007 10:38, Bernhard Fischer wrote: vda, util-linux/fdisk.c: In function 'seek_sector': util-linux/fdisk.c:641: warning: implicit declaration of function 'lseek64' util-linux/fdisk.c:641: error: 'off64_t

vi has noflash per default now [was: Re: svn commit: trunk/busybox: editors miscutils util-linux]

2007-09-22 Thread Bernhard Fischer
On Sat, Sep 22, 2007 at 02:18:46PM -0700, [EMAIL PROTECTED] wrote: Author: aldot Date: 2007-09-22 14:18:46 -0700 (Sat, 22 Sep 2007) New Revision: 19951 Log: - actually mv microcom.c to miscutils Added: trunk/busybox/miscutils/microcom.c Removed: trunk/busybox/util-linux/microcom.c

Re: brctl (was: nsupdate)

2007-09-24 Thread Bernhard Fischer
On Mon, Sep 24, 2007 at 03:21:07PM +0200, Natanael Copa wrote: In my hardened uclibc system (with SSP overhead): # ls -l /sbin/brctl -rwxr-xr-x 1 root root 26468 Apr 10 09:08 /sbin/brctl Sounds much more reasonable. I'd have guessed 7000 as vaguely reasonable, but i didn't look at it's

Re: pgrep/pkill

2007-09-28 Thread Bernhard Fischer
On Fri, Sep 28, 2007 at 05:51:34PM +0200, Loïc Grenié wrote: These are three patches for busybox. 1) The first one adds a function xfree(ptr) to xfuncs.c which acts as if (ptr) free(ptr) and substitute some examples of such elements in the code. I don't remember whether such a

Re: NOMMU: stack versus malloc?

2007-10-09 Thread Bernhard Fischer
On Tue, Oct 09, 2007 at 02:56:49PM -0400, Mike Frysinger wrote: On Tuesday 09 October 2007, Denys Vlasenko wrote: A question to people who work with NOMMU machines: Obviously, having small stack usage is important for small, NOMMU machines. However, after a certain point you cannot just

Re: NOMMU: stack versus malloc?

2007-10-09 Thread Bernhard Fischer
On Tue, Oct 09, 2007 at 09:34:02PM +0100, Denys Vlasenko wrote: AFAIK there was RESERVE_CONFIG_BUFFER for (potentially big) stack users. Yes. But it looks like _nobody_ benefits from big objects on stack. So I intend to gradually move big stack users to malloc. Well, if you have a very dumb

Re: libbusybox is back; individual mode is introduced

2007-10-09 Thread Bernhard Fischer
On Tue, Oct 09, 2007 at 11:35:09PM +0200, Yann E. MORIN wrote: Breaks when cross-compiling (at least for ARM) on a x86_64: The reason is that we should use the cross-strip, rather than the native one, in scripts/trylink. Patch attached. -strip -s --remove-section=.note

Re: libbusybox is back; individual mode is introduced

2007-10-12 Thread Bernhard Fischer
On Thu, Oct 11, 2007 at 06:49:07PM +0100, Denys Vlasenko wrote: On Thursday 11 October 2007 15:23, Bernhard Fischer wrote: I looked into making libbusybox.so executanle itself, but it looks like that needs a lot of linker magic for questionable gain - I can have tiny (less than 3k) busybox

Re: diffing releases

2007-11-12 Thread Bernhard Fischer
On Mon, Nov 12, 2007 at 12:06:03PM -0500, Paul Fox wrote: my subversion experience is a little thin. can someone post the SVN recipe i need to diff two busybox releases? in particular, i'd like to see the changes between 1.8.0 and 1.8.1, but i guess i'd like to know, in general, how to get a

Re: diffing releases

2007-11-12 Thread Bernhard Fischer
On Mon, Nov 12, 2007 at 07:07:12PM +0100, Bernhard Fischer wrote: On Mon, Nov 12, 2007 at 12:06:03PM -0500, Paul Fox wrote: my subversion experience is a little thin. can someone post the SVN recipe i need to diff two busybox releases? in particular, i'd like to see the changes between 1.8.0

NO_USR for udhcpc script? [was: Re: svn commit: trunk/busybox: include networking/udhcp]

2007-11-23 Thread Bernhard Fischer
On Thu, Nov 22, 2007 at 01:41:18PM -0800, [EMAIL PROTECTED] wrote: Author: vda Date: 2007-11-22 13:41:14 -0800 (Thu, 22 Nov 2007) New Revision: 20482 Log: udhcpc: remove -W option, -A can be reused for that help texts: trimmed a bit static.udhcpc_longopts 227

Re: [PATCH] Ignore touch -f flag

2007-11-28 Thread Bernhard Fischer
On Mon, Nov 26, 2007 at 02:47:14PM +0100, Tobias Poschwatta wrote: Hi all, below is a small patch to make 'touch' accept and ignore the -f flag. (-f is ignored by coreutils touch, too). I stumbled over this when trying to bootstrap pkgsrc on a uclibc/busybox system (which now succeeds). touch -f

Re: Mail problem?

2007-11-28 Thread Bernhard Fischer
On Wed, Nov 28, 2007 at 09:46:00PM +0100, Joakim Tjernlund wrote: I have sent a mail twice with subject unzip bug in 1.7.3 and it hasn't appeared on the mail list. Seems like something ate it. Is it stuck somewhere? I don't see in the mailq.. Please resend if it doesn't show up in the next 8

Re: Patch to add the -iname option to find

2007-12-06 Thread Bernhard Fischer
On Thu, Dec 06, 2007 at 10:07:13AM +0100, Alexander Griesser wrote: Hi! I always wondered why the -iname option isn't supported by busybox's find and as I'm using it heavily I've written a small patch to get it in. I'm sure that this patch isn't optimal as it simply duplicates the action

Re: busybox1.7.4,compile error

2008-01-09 Thread Bernhard Fischer
On Wed, Jan 09, 2008 at 04:20:43PM +0800, zhuzhu wrote: hi folks: I use busybox1.7.4 ,my ELDK is ppc_6xx.when I executed [EMAIL PROTECTED] busybox-1.8.2]# make TARGET_ARCH=ppc CROSS=/root/ELDK-dir/usr/bin/ppc_6xx- PREFIX=/root/ELDK-dir/myrootfs all install I get tow error,how can i deal

Re: New applet: brctl

2008-01-10 Thread Bernhard Fischer
On Wed, Jan 09, 2008 at 10:03:33PM +, Denys Vlasenko wrote: On Tuesday 08 January 2008 21:36, Vladimir Dronnikov wrote: Hi, Denis! Attached is the patch that adds to BB ability to manage Ethernet bridges. It's a stripped down version of brctl utility from GPL bridge-utils. It just helped

Re: New applet: brctl

2008-01-10 Thread Bernhard Fischer
to add scripts that run with msh/lush/hush, it will probably not take too long and folks will start to submit lua scripts (which could be considered) or scripts that use python, perl, you-name-it which doesn't sound too appealing to /me ;) cheers, 2008/1/10, Bernhard Fischer [EMAIL PROTECTED

Re: New applet: brctl

2008-01-13 Thread Bernhard Fischer
On Fri, Jan 11, 2008 at 11:29:04PM +0100, Stefan Hellermann wrote: Vladimir Dronnikov schrieb: Hi, list! Attached is the patch that adds to BB ability to manage Ethernet bridges. It's a stripped down version of brctl utility from GPL

Re: brctl (was: nsupdate)

2008-01-14 Thread Bernhard Fischer
On Mon, Sep 24, 2007 at 03:32:46PM +0200, Bernhard Fischer wrote: On Mon, Sep 24, 2007 at 03:21:07PM +0200, Natanael Copa wrote: In my hardened uclibc system (with SSP overhead): # ls -l /sbin/brctl -rwxr-xr-x 1 root root 26468 Apr 10 09:08 /sbin/brctl Sounds much more reasonable. I'd have

Re: Some fixes: mkswap, fdisk

2008-01-17 Thread Bernhard Fischer
On Mon, Jan 14, 2008 at 07:44:18PM +0300, Vladimir Dronnikov wrote: Hi, list! Take a look at patches First one prevents fdisk from infinite looping when changing partition types (say, from 83 to 82, as in my situation). You're just removing dos support, i don't think that this is a sensible

Re: options stat.c and usage.h are not in synch

2008-01-17 Thread Bernhard Fischer
On Thu, Jan 17, 2008 at 10:50:17AM +0100, Cristian Ionescu-Idbohrn wrote: The '-l' option is documented but not supported: , [ coreutils/stat.c ] | getopt32(argv, ftL fixed on trunk and 1_9_stable. Thanks! ___ busybox mailing list

Re: stty: invalid number 'erase'

2008-01-17 Thread Bernhard Fischer
On Tue, Jan 15, 2008 at 03:44:32PM +0100, Ralf Friedl wrote: Alexander Kriegisch wrote: # stty erase stty: invalid number 'erase' # stty eof stty: invalid number 'eof' I think the problem comes from copying find_mode to find_control in stty.c. Also there already is a function to

Re: PATCH] microcom enhancements and fixes

2008-01-18 Thread Bernhard Fischer
On Wed, Jan 16, 2008 at 10:02:10PM -0800, Steve Bradshaw wrote: Hello, I have made some modifications to microcom to make it more useful to me. In particular, I needed to send a ^C and a Break to the remote device (Cisco router). Here are the more detailed changes: . Catch common

Re: [PATCH] hdparm: Bad address fix

2008-01-19 Thread Bernhard Fischer
On Sat, Jan 12, 2008 at 03:33:42PM -0800, John Brandwood wrote: Hi, guys. This is my first post, so please let me know if I'm doing this wrong. There seems to be a bug in the current busybox hdparm applet. Here is an example of the problem ... [EMAIL

Re: PATCH] microcom enhancements and fixes

2008-01-19 Thread Bernhard Fischer
On Fri, Jan 18, 2008 at 08:38:47PM -0800, Steven Bradshaw wrote: On Jan 18, 2008 12:41 AM, Bernhard Fischer [EMAIL PROTECTED] wrote: On Wed, Jan 16, 2008 at 10:02:10PM -0800, Steve Bradshaw wrote: ... diff -ur busybox-1.8.2.orig/miscutils/microcom.c busybox-1.8.2.new/miscutils/microcom.c

Re: logger.c:30: error with incompatible re-declaration of 'prioritynames'

2008-01-26 Thread Bernhard Fischer
On Sat, Jan 26, 2008 at 05:57:01PM +0100, walter harms wrote: Bernhard Fischer wrote: Hi, make clean defconfig all make clean make CROSS=xyz-whatever-uclibc -f scripts/Makefile.IMA yields (with uClibc): no problem for me (1.9.0,glibc) This only affects non-glibc, yes. This used

Re: logger.c:30: error with incompatible re-declaration of 'prioritynames'

2008-01-27 Thread Bernhard Fischer
On Sat, Jan 26, 2008 at 07:55:02PM +0100, Bernhard Fischer wrote: On Sat, Jan 26, 2008 at 05:57:01PM +0100, walter harms wrote: no problem for me (1.9.0,glibc) This only affects non-glibc, yes. This used to work, so must be some relatively recent regression. I have fixed this on trunk

Re: Sendmail applet, updated

2008-01-28 Thread Bernhard Fischer
On Mon, Jan 28, 2008 at 10:46:41PM +, Denis Vlasenko wrote: On Saturday 26 January 2008 10:34, [EMAIL PROTECTED] wrote: Hello! Attached is heavily rewritten sendmail BB applet. This letter itself was sent using the following script: ./busybox sendmail -U dronnikov -P x -f

Re: New applet: sendmail

2008-01-28 Thread Bernhard Fischer
On Fri, Jan 18, 2008 at 09:11:25AM +0100, Natanael Copa wrote: On Wed, 2008-01-09 at 21:59 +, Denys Vlasenko wrote: On Tuesday 08 January 2008 12:49, Vladimir Dronnikov wrote: Hi, Denis! I personally have always been missing mail client applet in BB. Attached is a draft attempt to

Re: New applet: sendmail

2008-01-29 Thread Bernhard Fischer
On Tue, Jan 29, 2008 at 09:02:00AM +, Denis Vlasenko wrote: On Monday 28 January 2008 23:14, Bernhard Fischer wrote: Vladimir, folks are right - patches should normally be sent to the list too, not only to personal addresses. Please do so in the future. How does this compare to the ssmtp

Re: [PATCH] fsck -A goes into infinite loop and kills all processes

2008-02-01 Thread Bernhard Fischer
On Fri, Feb 01, 2008 at 11:46:11AM +, Roy Marples wrote: On Thu, 2008-01-31 at 20:32 +, Roy Marples wrote: On Thu, 2008-01-31 at 18:17 +, Roy Marples wrote: Ah yes, it's because there is no helper installed for ext4dev. Ensuring that all helpers exist fixes the error. So it's not

Re: [patch] networking/ping.c

2008-02-02 Thread Bernhard Fischer
On Fri, Feb 01, 2008 at 06:25:54PM -0500, Paul Fox wrote: Ok. No reaction, yet. Let me try again. If I disable FEATURE_FANCY_PING (which is enabled by default) and then try to build, I get this thrown at me: thanks --- applied. Sounds like it was me who broke this in my

Re: [patch] networking/ping.c

2008-02-02 Thread Bernhard Fischer
On Wed, Jan 30, 2008 at 02:59:32PM +0100, Cristian Ionescu-Idbohrn wrote: Looks like last checkin with this comment: , | r20923 | aldot | 2008-01-29 11:33:34 +0100 (Tue, 29 Jan 2008) | 4 lines | - be C99 friendly. Anonymous unions are a GNU extension. This change is | size-neutral WRT

Re: svn commit: trunk/busybox/e2fsprogs

2008-02-02 Thread Bernhard Fischer
On Sat, Feb 02, 2008 at 10:54:58AM -0800, [EMAIL PROTECTED] wrote: Author: vda Date: 2008-02-02 10:54:58 -0800 (Sat, 02 Feb 2008) New Revision: 20934 Log: fsck: don't kill pid -1! (Roy Marples roy at marples.name) Modified: trunk/busybox/e2fsprogs/fsck.c Changeset: Modified:

Re: od -t

2008-02-03 Thread Bernhard Fischer
On Sun, Feb 03, 2008 at 04:37:10PM +0100, Thomas Lundquist wrote: Hi. I'm trying to build busybox within buildroot and then busybox provides od but applets/usage_compressed uses od -t which busybox does not have. Turning off CONFIG_FEATURE_COMPRESS_USAGE does not help either. Anyone with plan?

Re: od -t

2008-02-08 Thread Bernhard Fischer
Denis, Can you have a look if the hunk below would work with our small od(1) implementation? TIA, On Sun, Feb 03, 2008 at 07:26:28PM +0100, Bernhard Fischer wrote: On Sun, Feb 03, 2008 at 04:37:10PM +0100, Thomas Lundquist wrote: Hi. I'm trying to build busybox within buildroot and then busybox

Re: [patch] Supporting SCSI in eject

2008-02-08 Thread Bernhard Fischer
On Fri, Feb 08, 2008 at 03:03:56PM +0100, Nico Erfurth wrote: Bernhard Fischer schrieb: function old new delta eject_main 135 369+234 .rodata 941

Re: [patch] Supporting SCSI in eject

2008-02-08 Thread Bernhard Fischer
On Thu, Feb 07, 2008 at 03:56:35PM +0100, Nico Erfurth wrote: Hi, for our project we need the ability to cleanly eject an usb-storage device(better don't ask why ;)). If added support for this in the eject applet. Patch is attached. The code is taken from the original eject, but I refactored it a

Re: [patch] - new bbsplash applet

2008-02-11 Thread Bernhard Fischer
On Mon, Feb 11, 2008 at 05:18:03PM +0100, Michele Sanges wrote: Hello Bernhard, thanks for your comments. Following your indication i changed the code but ... Il giorno ven, 08/02/2008 alle 14.28 +0100, Bernhard Fischer ha scritto: + // parameter + memcpy(strParam

Re: Chat applet growing

2008-02-12 Thread Bernhard Fischer
On Tue, Feb 12, 2008 at 07:11:23PM +0300, Vladimir Dronnikov wrote: static int timeout = DEFAULT_CHAT_TIMEOUT; unsigned? I'd prefer signed as I might specify TIMEOUT -1 to switch timeout off. This requires change in timeout validation below. Well, a timeout of 0 could mean that it's off,

Re: reboot / umount ordering

2008-02-12 Thread Bernhard Fischer
On Tue, Feb 12, 2008 at 10:10:32AM -0600, Kittlitz, Edward (Ned) wrote: Hello, I have trouble getting my ext3 disk filesystems unmounted during reboot. I don't know the names of all the processes, so I don't think I can use killall. And another inittab shutdown action /bin/umount -a -r can fail

  1   2   3   >