On Mon, 31 Oct 2011 13:21:01 +0100, Denys Vlasenko vda.li...@googlemail.com
wrote:
On Mon, Oct 31, 2011 at 12:25 PM, Denys Vlasenko
vda.li...@googlemail.com wrote:
On Mon, Oct 31, 2011 at 1:15 AM, Alexander Shishkin virtu...@slind.org
wrote:
Sometimes there's a need to figure out
On Mon, 31 Oct 2011 16:58:09 +0100, Denys Vlasenko vda.li...@googlemail.com
wrote:
On Mon, Oct 31, 2011 at 4:10 PM, Alexander Shishkin virtu...@slind.org
wrote:
On Mon, 31 Oct 2011 13:21:01 +0100, Denys Vlasenko
vda.li...@googlemail.com wrote:
On Mon, Oct 31, 2011 at 12:25 PM, Denys
cttyhack_main324 320 -4
--
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-4) Total: -4 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
shell/cttyhack.c
On Mon, Feb 28, 2011 at 11:48:44PM +0100, Ralf Friedl wrote:
Alexander Shishkin wrote:
Currently, tar will add members with names starting with
the prefixes to an archive unmodified, and will then refuse
to extract from such archive. However, GNU tar will strip
these prefixes upon creating
On 1 March 2011 18:18, Denys Vlasenko vda.li...@googlemail.com wrote:
On Monday 28 February 2011 09:23, Alexey Soloviev wrote:
Hello,
Met 2 problems with tar and wander if they are new or known.
Issue 1: tar doesn't restore files or directories added with relative
name starting with ../
On Wed, Mar 02, 2011 at 12:58:58AM +0100, Denys Vlasenko wrote:
On Tuesday 01 March 2011 21:14, Alexander Shishkin wrote:
On 1 March 2011 18:18, Denys Vlasenko vda.li...@googlemail.com wrote:
On Monday 28 February 2011 09:23, Alexey Soloviev wrote:
Hello,
Met 2 problems with tar
: 81 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
archival/libarchive/get_header_tar.c | 48 +++--
archival/tar.c | 11 +---
include/archive.h|2 +
3 files changed, 42 insertions(+), 19 deletions
On Mon, Feb 28, 2011 at 05:57:37PM +0100, walter harms wrote:
Thanks for your comments, I'll see if I can come up with something smaller.
Am 28.02.2011 11:24, schrieb Alexander Shishkin:
Currently, tar will add members with names starting with
the prefixes to an archive unmodified
--
(add/remove: 2/1 grow/shrink: 0/4 up/down: 146/-114) Total: 32 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
archival/libarchive/get_header_tar.c | 48 +++--
archival/tar.c | 11 +---
include/archive.h
Diff in diffutils will return 1 in case -r option is specified without
-N something exists only in one of the directories.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
editors/diff.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/editors/diff.c b
Hi,
There's a problem in busybox ash, which is running out of stack when parsing
very long input (funnily same bug also exists in bash), like
$ for i in $(seq 10); do echo -n :;; done | busybox sh
Segmentation fault
which happens in evaltree() calling itself for each : node. Now, I'm
--
(add/remove: 1/1 grow/shrink: 1/2 up/down: 82/-82) Total: 0 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
util-linux/mount.c | 30 +++---
1 files changed, 15 insertions(+), 15
When mounting a filesystem without any additional options (data parameter
to the mount(2) syscall), pass NULL instead of an empty string like GNU
mount does. This fixes, for example mounting cgroup fs with bbox mount.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
util-linux/mount.c
On Fri, Oct 22, 2010 at 01:15:34 +0200, Denys Vlasenko wrote:
On Thu, Oct 21, 2010 at 12:32 PM, Alexander Shishkin virtu...@slind.org
wrote:
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
procps/pmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
On Fri, Oct 22, 2010 at 01:44:08 +0200, Denys Vlasenko wrote:
On Fri, Oct 22, 2010 at 1:35 PM, walter harms wha...@bfs.de wrote:
from the man page:
More generally, the POSIX specification of mkstemp() does not say
any-
thing about file modes, so the application should
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
procps/pmap.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/procps/pmap.c b/procps/pmap.c
index cfa94ed..52cf229 100644
--- a/procps/pmap.c
+++ b/procps/pmap.c
@@ -44,7 +44,7 @@ enum {
static void
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
networking/nbd-client.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/networking/nbd-client.c b/networking/nbd-client.c
index 5ac190c..8b856ed 100644
--- a/networking/nbd-client.c
+++ b/networking/nbd-client.c
--
(add/remove: 1/0 grow/shrink: 0/6 up/down: 90/-155) Total: -65 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
coreutils/dos2unix.c |8 +++-
editors/diff.c|5 ++---
editors/patch.c
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
procps/smemcap.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/procps/smemcap.c b/procps/smemcap.c
index f951a5f..196c91f 100644
--- a/procps/smemcap.c
+++ b/procps/smemcap.c
@@ -125,5 +125,8 @@ int smemcap_main
On Wed, Oct 20, 2010 at 01:26:24 +0200, Denys Vlasenko wrote:
On Wed, Oct 20, 2010 at 2:56 AM, Alexander Shishkin virtu...@slind.org
wrote:
How about this? (I left locking in place but applied other changes)
function old new delta
On Wed, Oct 20, 2010 at 04:36:48 +0200, Denys Vlasenko wrote:
2010/10/20 Alexander Shishkin virtu...@slind.org:
On Wed, Oct 20, 2010 at 01:26:24 +0200, Denys Vlasenko wrote:
On Wed, Oct 20, 2010 at 2:56 AM, Alexander Shishkin virtu...@slind.org
wrote:
How about this? (I left locking
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
coreutils/tail.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 44698f3..df881a3 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -346,6 +346,7 @@ int tail_main(int
On Wed, Oct 20, 2010 at 11:58:05 +0300, Alexander Shishkin wrote:
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
coreutils/tail.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 44698f3..df881a3 100644
1248 +16
applet_nameofs 308 312 +4
--
(add/remove: 4/0 grow/shrink: 5/0 up/down: 667/0) Total: 667 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
On Tue, Oct 19, 2010 at 11:18:43 +0200, Denys Vlasenko wrote:
On Tuesday 19 October 2010 22:33, Alexander Shishkin wrote:
[Sorry, the previous mail seems to have been eaten by the smarthost,
apologies if it comes twice.]
function old new
On Tue, Oct 19, 2010 at 06:33:50 -0500, Matthew Stoltenberg wrote:
Why do you need it? (I ask because sometimes there _is_ a valid,
but unknown to me, reason to have this or that tool in bbox).
I will vouch that a lot of debian based systems seem to break if you
don't have /etc/shells
167 168 +1
--
(add/remove: 2/0 grow/shrink: 6/0 up/down: 676/0) Total: 676 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
debianutils/add-remove
On Sun, Jul 31, 2010 at 01:23:54 +0300, Alexander Shishkin wrote:
pmap is a tool used to look at processes' memory maps, normally found
in procps package. It provides more readable and easily sortable output
(one line per mapping) from maps/smaps files in /proc/PID/. This would
help
On Sun, Aug 01, 2010 at 01:05:53 +0200, Denys Vlasenko wrote:
On Saturday 31 July 2010 12:50, Alexander Shishkin wrote:
On Fri, Jul 30, 2010 at 03:26:25 +0200, Denys Vlasenko wrote:
On Tuesday 27 July 2010 16:21, Alexander Shishkin wrote:
Since sizeof buffer won't work with dynamically
On Fri, Jul 30, 2010 at 03:26:25 +0200, Denys Vlasenko wrote:
On Tuesday 27 July 2010 16:21, Alexander Shishkin wrote:
Since sizeof buffer won't work with dynamically allocated buffers,
and we still sometimes need to know the size of the whole buffer, we
need a way to always obtain said
it into procps_read_smaps(), which does more detailed processing
of a single PID's smaps data.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
include/libbb.h | 27 +++---
libbb/procps.c | 156 +--
procps/pmap.c | 109
On Tue, Jul 27, 2010 at 08:43:36 +0200, Denys Vlasenko wrote:
On Monday 26 July 2010 15:22, Alexander Shishkin wrote:
I didn't dig any farther than the bash manual, which suggests that
the default behavior of ulimit when neither -H nor -S is set is to
change both soft and hard limits
On Wed, Jul 21, 2010 at 01:35:05 +0300, Alexander Shishkin wrote:
pmap is a tool used to look at processes' memory maps, normally found
in procps package. It provides more readable and easily sortable output
(one line per mapping) from maps/smaps files in /proc/PID/. This would
help
it into procps_read_smaps(), which does more detailed processing
of a single PID's smaps data.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
include/applets.src.h |1 +
include/libbb.h | 27 +++--
include/usage.src.h |8 +++
libbb/procps.c| 146
Since sizeof buffer won't work with dynamically allocated buffers,
and we still sometimes need to know the size of the whole buffer, we
need a way to always obtain said size.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
include/libbb.h | 11 +--
1 files changed, 9
On Tue, Jul 27, 2010 at 04:52:16 +0200, Bernhard Reutner-Fischer wrote:
On Tue, Jul 27, 2010 at 05:21:58PM +0300, Alexander Shishkin wrote:
Since sizeof buffer won't work with dynamically allocated buffers,
and we still sometimes need to know the size of the whole buffer, we
need a way
On 27 July 2010 18:03, Bernhard Reutner-Fischer rep.dot@gmail.com wrote:
On Tue, Jul 27, 2010 at 05:55:13PM +0300, Alexander Shishkin wrote:
On Tue, Jul 27, 2010 at 04:52:16 +0200, Bernhard Reutner-Fischer wrote:
On Tue, Jul 27, 2010 at 05:21:58PM +0300, Alexander Shishkin wrote:
Since
I didn't dig any farther than the bash manual, which suggests that
the default behavior of ulimit when neither -H nor -S is set is to
change both soft and hard limits. This has been the case in earlier
versions of busybox, too.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
shell
a testcase for this regression.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
shell/ash.c |2 ++
shell/ash_test/ash-signals/signal7.right |1 +
shell/ash_test/ash-signals/signal7.tests | 12
3 files changed, 15 insertions(+), 0 deletions
it into procps_read_smaps(), which does more detailed processing
of a single PID's smaps data.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
include/applets.src.h |1 +
include/libbb.h | 27 +++--
include/usage.src.h |8 +++
libbb/procps.c| 146
the directories with
Kbuild.src or Config.src in them are created in the out-of-tree build
directory. A quick rebuild from scratch revealed no problems with this.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
scripts/gen_build_files.sh |4 ++--
1 files changed, 2 insertions(+), 2 deletions
On Sat, Jul 10, 2010 at 07:53:00 +0200, Denys Vlasenko wrote:
On Thu, Jul 8, 2010 at 9:42 AM, Alexander Shishkin virtu...@slind.org wrote:
On Thu, Jul 08, 2010 at 02:53:55 +0200, Denys Vlasenko wrote:
On Tuesday 06 July 2010 13:48, Alexander Shishkin wrote:
Hi,
archival
On Thu, Jul 08, 2010 at 02:53:55 +0200, Denys Vlasenko wrote:
On Tuesday 06 July 2010 13:48, Alexander Shishkin wrote:
Hi,
archival/unzip_doc.txt.bz2 looks like a strange thing to have in a source
tree and it seems that the distribution terms for it are unclear. Perhaps
it might
Hi,
archival/unzip_doc.txt.bz2 looks like a strange thing to have in a source
tree and it seems that the distribution terms for it are unclear. Perhaps
it might as well be removed?
Regards,
--
Alex
___
busybox mailing list
busybox@busybox.net
.rodata42318 42330 +12
--
(add/remove: 0/0 grow/shrink: 2/0 up/down: 42/0) Total: 42 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
libbb
-off-by: Alexander Shishkin virtu...@slind.org
---
libbb/time.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/libbb/time.c b/libbb/time.c
index 45ae6f3..3a82644 100644
--- a/libbb/time.c
+++ b/libbb/time.c
@@ -46,6 +46,13 @@ void FAST_FUNC parse_datestr(const char
On Man, Mar 22, 2010 at 06:25:49 +0100, Denys Vlasenko wrote:
On Mon, Mar 22, 2010 at 3:09 PM, Alexander Shishkin virtu...@slind.org
wrote:
+ } else
+ /* month_name d HH:MM:SS
+ * this is supported by the GNU make */
perhaps GNU
On Mon, Mar 15, 2010 at 03:39:48 +0100, Denys Vlasenko wrote:
+lib-$(CONFIG_FEATURE_AR_CREATE) += ar_create.o
why this is in the separate .c file? it can be in ar.c
No reason.
+#if ENABLE_FEATURE_AR_CREATE
+ if (opt (AR_OPT_CREATE | AR_OPT_INSERT))
+ return
On Mon, Mar 15, 2010 at 12:46:45 +0100, walter harms wrote:
Did you take a look at the gnu ar tests ?
Nope. Is it worth it?
Regards,
--
Alex
___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
Hi,
Thanks for the comments, resending the updated patches.
Another change is dealing with potentially overflowing uid/gid and size.
Regargs,
--
Alex
___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
) Total: 770 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
archival/Config.in|7 ++
archival/Kbuild |1 +
archival/ar.c | 61 +++-
archival/ar_create.c | 148
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
testsuite/ar.tests | 28
1 files changed, 28 insertions(+), 0 deletions(-)
create mode 100755 testsuite/ar.tests
diff --git a/testsuite/ar.tests b/testsuite/ar.tests
new file mode 100755
index 000
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
testsuite/ar.tests | 28
1 files changed, 28 insertions(+), 0 deletions(-)
create mode 100755 testsuite/ar.tests
diff --git a/testsuite/ar.tests b/testsuite/ar.tests
new file mode 100755
index 000
) Total: 646 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
archival/Config.in|7 ++
archival/Kbuild |1 +
archival/ar.c | 29 +-
archival/ar.h | 23
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
testsuite/ar.tests | 28
1 files changed, 28 insertions(+), 0 deletions(-)
create mode 100755 testsuite/ar.tests
diff --git a/testsuite/ar.tests b/testsuite/ar.tests
new file mode 100755
index 000
) Total: 646 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
archival/Config.in|7 ++
archival/Kbuild |1 +
archival/ar.c | 26 +-
archival/ar.h | 27
Hi,
Please disregard the previous one, it breaks compilation when AR_CREATE
is not enabled. This is the fixed one. Also, this changes the license
terms to v2 or later, fwiw.
Regards,
--
Alex
___
busybox mailing list
busybox@busybox.net
Hi,
There's a tarball in busybox tree, shell/susv3_doc.tar.bz2 which is an
offline copy of a document copyrighted by OpenGroup and as far as my
understanding (IANAL) goes, is not really compatible with GPLv2.
And it is also doubtful how useful is having this document in the source
tree. Thus, I
On Втр, Ноя 03, 2009 at 04:28:09 +0100, Denys Vlasenko wrote:
assert (*buffer == info-buffer);
*buffer = info-buffer;
Never say never.
Regards,
--
Alex
___
busybox mailing list
busybox@busybox.net
Found myself in a need of better pidof than is currently
available. This helps find tricky things (hald addons are
closest examples) that can't be found otherwise.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
include/libbb.h |3 ++-
libbb/find_pid_by_name.c |4
2009/7/27 Denys Vlasenko vda.li...@googlemail.com:
On Sunday 26 July 2009 14:45, Alexander Shishkin wrote:
2009/7/26 Denys Vlasenko vda.li...@googlemail.com:
On Saturday 25 July 2009 11:07, Alexander Shishkin wrote:
Come to think of it, 9/10 of busybox functionality could be
implemented
Found myself in a need of better pidof than is currently
available. This helps find tricky things (hald addons are
closest examples) that can't be found otherwise.
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
include/libbb.h |3 ++-
libbb/find_pid_by_name.c |4
2009/7/26 Denys Vlasenko vda.li...@googlemail.com:
On Saturday 25 July 2009 11:07, Alexander Shishkin wrote:
2009/7/25 Denys Vlasenko vda.li...@googlemail.com:
On Tuesday 21 July 2009 23:31, Alexander Shishkin wrote:
In case our init is not a busybox applet, but an external program
like
2009/6/18 Denys Vlasenko vda.li...@googlemail.com:
On Friday 12 June 2009 18:27, virtu...@slind.org wrote:
From: Pekka Pessi pekka.pe...@nokia.com
Issue fsync() system call on a file to ensure its buffers are synchronized
with the backing storage.
Signed-off-by: Alexander Shishkin virtu
2009/7/21 Denys Vlasenko vda.li...@googlemail.com:
On Tuesday 21 July 2009 19:35, Alexander Shishkin wrote:
2009/6/18 Denys Vlasenko vda.li...@googlemail.com:
On Friday 12 June 2009 18:27, virtu...@slind.org wrote:
From: Pekka Pessi pekka.pe...@nokia.com
Issue fsync() system call
2009/7/21 Denys Vlasenko vda.li...@googlemail.com:
On Tuesday 21 July 2009 21:34, Alexander Shishkin wrote:
Anyway, what does your git --version say? [Man, life is so much better
when you use a binary distro]
# git --version
git version 1.6.2.4
Well, probably you misconfigured it while
--
(add/remove: 0/1 grow/shrink: 2/0 up/down: 53/-3) Total: 50 bytes
Signed-off-by: Alexander Shishkin virtu...@slind.org
---
init/Config.in | 18 ++
init/halt.c| 17 ++---
2 files changed, 32 insertions(+), 3 deletions(-)
diff --git
2009/6/18 Rob Landley r...@landley.net:
On Friday 12 June 2009 11:16:55 Alexander Shishkin wrote:
2009/6/12 Denys Vlasenko vda.li...@googlemail.com:
On Thu, Jun 11, 2009 at 1:07 PM, virtu...@slind.org wrote:
From: Pekka Pessi pekka.pe...@nokia.com
Issue fsync() system call on a file
2008/8/29 Pekka Pessi pekka.pe...@nokia.com:
Hello,
Here is fsync shell utility that makes life easier and faster on
nosync (ubifs) mounts.
This one has been unnoticed apparently. I'll resend the updated and
rebased version of it in a flash.
Regards,
--
Alex
2009/6/11 walter harms wha...@bfs.de:
virtu...@slind.org schrieb:
From: Pekka Pessi pekka.pe...@nokia.com
Issue fsync() system call on a file to ensure its buffers are synchronized
with the backing storage.
According to the man page fsync is not in any standard, just to reduce the
On 7/21/07, Denis Vlasenko [EMAIL PROTECTED] wrote:
it fixes also a bug in commandline parsing:
chpasswd must error out if -m and -e are set at the same time.
Applied to svn (along with even more bugs fixed. It's scary how many
of them were there).
Alex, care to eyescan/test what in svn
this information to update a group of
existing users.
Signed-off-by: Alexander Shishkin [EMAIL PROTECTED]
---
include/applets.h |1 +
include/libbb.h |3 +
include/usage.h | 12 +
libbb/Kbuild |3 +-
libbb/update_passwd.c | 120
: */
+/*
+ * update_passwd
+ *
+ * update_passwd is a common function for passwd and chpasswd applets;
+ * it is responsible for updating password file (i.e. /etc/passwd or
+ * /etc/shadow) for a given user and password.
+ *
+ * Moved from loginutils/passwd.c by Alexander Shishkin [EMAIL PROTECTED
On 7/19/07, Paul Fox [EMAIL PROTECTED] wrote:
attached you will find a drop in replacement
for chpasswd.c with some more busyboxification
does this mean that passwd no longer needs the ability to
take a password on stdin? there was a thread on that topic
a week or two ago.
Well, given
On 7/20/07, Tito [EMAIL PROTECTED] wrote:
Hi,
Hi,
would something like passwd USER PASSWORD work for you?
Unfortunately it won't, the reason being that the distro has two
variants of core system (one busybox based and another -- coreutils
based), and at least bootstrapping procedure relies on
75 matches
Mail list logo