paste -d\\ crash bug

2008-03-26 Thread Cristian Cadar
Hi Jim, We found a crash bug in paste, due to an unbounded buffer overflow. The bug is similar to the ptx bug that we reported earlier, and is due to a lone backslash following the -d flag. Here is an input that crashes libc on my machine: $ paste -d\\

Re: Bug#467378: coreutils: Please include a program to truncate files

2008-03-26 Thread Pádraig Brady
Take 2 attached >From 345b3af13f3e44d365535b93691ae897b5512805 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?P=C3=A1draig=20Brady?= <[EMAIL PROTECTED]> Date: Thu, 27 Mar 2008 01:11:25 + Subject: [PATCH] Add new program: truncate * AUTHORS: Register as the author * NEWS: Mention this change * README

Re: Not a bug, a wish

2008-03-26 Thread Martin Bernreuther
Hello, Am Mittwoch, 26. März 2008 schrieb Micah Cowan: > > I thank you very much for devolopping coreutils that allows quick and > > simple replacement of SQL queries and check. What I would appreciate is > > a tool that does head and tail in one command, giving the top and bottom > > lines from a

Re: Not a bug, a wish

2008-03-26 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Samuel GRANJEAUD - IR/IFR137 wrote: > Hello, > > I thank you very much for devolopping coreutils that allows quick and > simple replacement of SQL queries and check. What I would appreciate is > a tool that does head and tail in one command, giving th

Re: Not a bug, a wish

2008-03-26 Thread Steven Schubiger
Samuel GRANJEAUD - IR/IFR137 <[EMAIL PROTECTED]> wrote: > I thank you very much for devolopping coreutils that allows quick and > simple replacement of SQL queries and check. What I would appreciate is > a tool that does head and tail in one command, giving the top and bottom > lines from a pipe

--new-system option to install tools to their common places

2008-03-26 Thread Dennis Heuer
hello, i'm not shure about what the LSB says to this but many progs search for tools at places where they aren't. for example, i have the coreutils in /usr but firefox, since verison 3 (minefield), tries to start /bin/ls from the start-script. possibly that's where ls should be. i'm not shure. how

Re: coreutils not installable without extra features???

2008-03-26 Thread Jim Meyering
Dennis Heuer <[EMAIL PROTECTED]> wrote: > On Wed, 26 Mar 2008 22:38:07 +0100 > Jim Meyering <[EMAIL PROTECTED]> wrote: > >> > please support a 'plain' installation without extra dependencies. >> >> It's already supported, albeit not well-documented, >> because so few people want to do such things,

Re: coreutils not installable without extra features???

2008-03-26 Thread Dennis Heuer
On Wed, 26 Mar 2008 22:38:07 +0100 Jim Meyering <[EMAIL PROTECTED]> wrote: > > please support a 'plain' installation without extra dependencies. > > It's already supported, albeit not well-documented, > because so few people want to do such things, these days. > > Run ./configure something like

Re: coreutils not installable without extra features???

2008-03-26 Thread Jim Meyering
Dennis Heuer <[EMAIL PROTECTED]> wrote: > i tried to install coreutils onto a new partition as part of a plain > new x86_64 system. i did this from a fedora8 system because my old one > is a 32bit system. however, the fedora8 system is really more than > feature-complete (including compatibility an

Not a bug, a wish

2008-03-26 Thread Samuel GRANJEAUD - IR/IFR137
Hello, I thank you very much for devolopping coreutils that allows quick and simple replacement of SQL queries and check. What I would appreciate is a tool that does head and tail in one command, giving the top and bottom lines from a piped output. Regards. ___

Re: coreutils not installable without extra features???

2008-03-26 Thread Dennis Heuer
On Wed, 19 Mar 2008 17:24:06 -0600 [EMAIL PROTECTED] (Bob Proulx) wrote: > Dennis Heuer wrote: > > i tried to install coreutils onto a new partition as part of a plain > > new x86_64 system. > > Thanks for the report. Bug reports and improvement suggestions are > always welcome. However some of

Re: Bug#467378: coreutils: Please include a program to truncate files

2008-03-26 Thread Jim Meyering
Pádraig Brady <[EMAIL PROTECTED]> wrote: > Subject: [PATCH] Add new program: truncate Nice! Thanks for doing all that. Here's a first pass: - fix a typo s/tound/round/ : > [EMAIL PROTECTED] => tound up to multiple of - please indent using only spaces (no TABs) and add this at the end of

Re: Bug#467378: coreutils: Please include a program to truncate files

2008-03-26 Thread Pádraig Brady
Proposed truncate command attached >From 34b9bc72ffe70ec83710b12021e889d5ae65e508 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?P=C3=A1draig=20Brady?= <[EMAIL PROTECTED]> Date: Wed, 26 Mar 2008 14:03:31 + Subject: [PATCH] Add new program: truncate * AUTHORS: Register as the author. * NEWS: Mention

df error

2008-03-26 Thread jose antonio arjona garzon
Good afternoon, When I run the application it shows me this error: df: `/var/cache/pbuilder/build/8394/dev/pts': No existe el fichero o el directorio No existe el fichero o el directorio -> The file or directory doesn't exists. I want that it doesn't display the mistake but I don't understand w

Re: configure fails on Maemo/OS2008 (sed: no previous regexp)

2008-03-26 Thread Vincent Lefevre
On 2008-03-25 21:30:58 -0600, Eric Blake wrote: > Thanks for this portability analysis. I agree that it is a violation of > POSIX; perhaps someone should report this to the busybox maintainers. I can't reproduce the problem with BusyBox v1.9.2 (now in Debian). But I don't know when BusyBox will b

Re: Problems on darwin with coreutils-6.10.133-677610

2008-03-26 Thread Jim Meyering
Pádraig Brady <[EMAIL PROTECTED]> wrote: > Jim Meyering wrote: >> Eric Blake <[EMAIL PROTECTED]> wrote: >>> According to Jim Meyering on 3/25/2008 3:47 PM: >>> | - user_name = pwd ? pwd->pw_name : NULL; >>> | + user_name = pwd ? xstrdup (pwd->pw_name) : NULL; >>> >>> Doesn't this leak mem

Re: Problems on darwin with coreutils-6.10.133-677610

2008-03-26 Thread Pádraig Brady
Jim Meyering wrote: > Eric Blake <[EMAIL PROTECTED]> wrote: >> According to Jim Meyering on 3/25/2008 3:47 PM: >> | - user_name = pwd ? pwd->pw_name : NULL; >> | + user_name = pwd ? xstrdup (pwd->pw_name) : NULL; >> >> Doesn't this leak memory? > > Thanks for mentioning it, but I think o

Re: Problems on darwin with coreutils-6.10.133-677610

2008-03-26 Thread Jim Meyering
Eric Blake <[EMAIL PROTECTED]> wrote: > According to Jim Meyering on 3/25/2008 3:47 PM: > | - user_name = pwd ? pwd->pw_name : NULL; > | + user_name = pwd ? xstrdup (pwd->pw_name) : NULL; > > Doesn't this leak memory? Thanks for mentioning it, but I think of this as a pseudo leak, since