Re: [rfc] the 'dc' applet

2010-07-30 Thread Cristian Ionescu-Idbohrn
On Fri, 30 Jul 2010, Cristian Ionescu-Idbohrn wrote: > On Fri, 30 Jul 2010, Denys Vlasenko wrote: > > > I think you messed up CFLAGS. Most likely you lost -Os while adding > > -W. > > I might. I'll have a look. Odd... Must be something else. I added a new target to the main Makefile: echo:

Re: [PATCH]: mpstat: code shrink

2010-07-30 Thread Maksym Kryzhanovskyy
> Date: Fri, 30 Jul 2010 18:28:13 +0200 > From: Benjamin Cama > To: busybox@busybox.net > Subject: Re: [PATCH]: mpstat: code shrink > Message-ID: <1280507293.6034.8.ca...@nsk> > Content-Type: text/plain; charset="UTF-8" > > Hi, > > Le vendredi 30 juillet 2010 ? 16:44 +0200, Denys Vlasenko a ?cri

Re: [PATCH 2/7] update scripts/kconfig/*_shipped

2010-07-30 Thread Jeremie Koenig
Hi, One of my patches was blocked because of its size and didn't make it to the list. The attached gzipped version should go through without problems I think. Thanks, -- Jérémie Koenig update-kconfig-shipped.patch.gz Description: Binary data ___ bus

[PATCH] klogd: support /dev/klog in addition to klogctl()

2010-07-30 Thread Jeremie Koenig
The klogctl() interface allows changing the console loglevel, but is Linux-specific. The more portable method of reading from _PATH_KLOG is added as an alternative. Adapted from the Debian kFreeBSD patch at: http://svn.debian.org/viewsvn/d-i/people/slackydeb/kfreebsd/busybox/1.14/debian/klogd.diff

Re: [PATCH 3/7] klogd: support /dev/klog in addition to klogctl()

2010-07-30 Thread Jeremie Koenig
On Fri, Jul 30, 2010 at 03:18:47AM +0200, Denys Vlasenko wrote: > On Thursday 29 July 2010 04:29, Jeremie Koenig wrote: > > +/* FIXME: consumes global static memory */ > > +static int klogfd = 0; > > Use fixed fd == 3 in order to not use globals: Okay, thanks. > > + if (fd < 0) { > > +

bb bugzilla - no 1.17.x version

2010-07-30 Thread Leonid Lisovskiy
I discover that it is impossible to specify 1.17.x version in busybox bugzilla. Apologize, it can be easily fixed? Regards, Leonid ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [PATCH]: mpstat: code shrink

2010-07-30 Thread Benjamin Cama
Hi, Le vendredi 30 juillet 2010 à 16:44 +0200, Denys Vlasenko a écrit : > On Fri, Jul 30, 2010 at 10:40 AM, Marek Polacek wrote: > > OK, here's another version -- it just removes function, which determines > > number of CPUs in /sys. > > Applied, thanks! It seemed to me that hardware-related st

[PATCH] BSD portability patch

2010-07-30 Thread Waldemar Brodkorb
Hi, When cross-compiling busybox from BSD, there are some minor glitches, which can be resolved by this patch. Verfied to work on NetBSD, FreeBSD, OpenBSD and MacOS X. Thanks in advance for comments or inclusion. best regards Waldemar Signed-off-by: Waldemar Brodkorb --- include/libbb.h

Re: [PATCH] cttyhack: serial console detection is Linux-specific

2010-07-30 Thread Denys Vlasenko
On Fri, Jul 30, 2010 at 6:21 AM, Jeremie Koenig wrote: > > Signed-off-by: Jeremie Koenig > --- >  shell/cttyhack.c |   15 --- >  1 files changed, 12 insertions(+), 3 deletions(-) Applied, thanks! -- vda ___ busybox mailing list busybox@bus

[PATCH] testsuite: sed testcase with replace on multiple files

2010-07-30 Thread Natanael Copa
Currently there is a bug in sed that makes it only replace first file when an "address" is specified: sed -i -e '1{s/foo/bar/}' one two Will only replace 'one' and not 'two'. --- testsuite/sed.tests | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/testsuite/sed.

Re: [PATCH]: mpstat: code shrink

2010-07-30 Thread Denys Vlasenko
On Fri, Jul 30, 2010 at 10:40 AM, Marek Polacek wrote: >  On 07/30/2010 04:06 AM, Denys Vlasenko wrote: >> >> On Thursday 22 July 2010 12:43, Marek Polacek wrote: >>> >>>   Currently we're determining the number of CPUs by the function >>> get_cpu_nr() which in turn calls get_sys_cpu_nr() or even

Re: [PATCH]: mpstat: code shrink

2010-07-30 Thread Marek Polacek
On 07/30/2010 04:06 AM, Denys Vlasenko wrote: On Thursday 22 July 2010 12:43, Marek Polacek wrote: Currently we're determining the number of CPUs by the function get_cpu_nr() which in turn calls get_sys_cpu_nr() or even get_proc_cpu(). I think we could easily use sysconf( _SC_NPROCESSORS_CON

Re: [PATCH] stty: sort out preprocessor conditionals

2010-07-30 Thread walter harms
Jeremie Koenig schrieb: > * Move the definitions of missing constants to the top of the file. > * Fix undefined IDX_xxx on missing termios constants. > * FreeBSD has TABDLY, TAB0 and TAB3, but no TAB1 or TAB2 > * Omit the definition of set_window_size() if TIOCGWINSZ is not available. > > Signed

Re: [rfc] the 'dc' applet

2010-07-30 Thread Cristian Ionescu-Idbohrn
On Fri, 30 Jul 2010, Denys Vlasenko wrote: > I think you messed up CFLAGS. Most likely you lost -Os while adding > -W. I might. I'll have a look. Cheers, -- Cristian ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/list