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

2008-03-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 3/22/2008 12:20 PM: |>> $ busybox sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* \[\(.*\)\])/{s//\1/;s/,/ /gp |>> }' configure.ac |>> sed: No previous regexp. |>> [Exit 1] | | This appears to be a busybox "limitation". | I expect

Re: Problems on darwin with coreutils-6.10.133-677610

2008-03-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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? - -- Don't work too hard, make some time for fun as well! Eric Blake

Re: od bug

2008-03-25 Thread Bob Proulx
Steve Frampton wrote: > Linux appears to swap the bytes within the words: Most Linux kernel based systems are little endian. So are many others. Here is are two references that explains this in some detail. http://en.wikipedia.org/wiki/Endianness http://www.ietf.org/rfc/ien/ien137.txt > [

Re: od bug

2008-03-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Steve Frampton on 3/25/2008 3:46 PM: | Hello, | | Linux appears to swap the bytes within the words: Because it's little-endian. | | HPUX od shown as a baseline: Because it's big-endian. In short, this is not a bug. -x is short for -t

od bug

2008-03-25 Thread Steve Frampton
Hello, Linux appears to swap the bytes within the words: [EMAIL PROTECTED] ~]$ uname -a Linux bgr-7r4ved1l.soi.com 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:16 EST 2007 i686 i686 i386 GNU/Linux [EMAIL PROTECTED] ~]$ od --version od (GNU coreutils) 5.97 Copyright (C) 2006 Free Software Foundation,

FYI: mkdir -Z no-such-context DIR segfaults

2008-03-25 Thread Jim Meyering
FYI, Daniel Dunbar, Cristian Cadar and Dawson Engler discovered that "mkdir -Z no-such-context DIR" segfaults. Here's the fix and a new test: >From 72d052896a9092b811961a8f3e6ca5d151a59be5 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar <[EMAIL PROTECTED]> Date: Wed, 26 Mar 2008 00:51:47 +0100 Subjec

Re: Problems on darwin with coreutils-6.10.133-677610

2008-03-25 Thread Jim Meyering
Peter Fales <[EMAIL PROTECTED]> wrote: > Trying to build http://meyering.net/cu/coreutils-6.10.133-677610.tar.gz > and getting test failures on darwin (Mac OS/X), as "id -G" is returning > incorrect values. It seems that in id.c, we have > > 214 user_name = pwd ? pwd->pw_name : NULL;

Re: [PATCH] Generalize GNUmakefile, ...

2008-03-25 Thread Jim Meyering
Eric Blake <[EMAIL PROTECTED]> wrote: > According to Jim Meyering on 3/20/2008 7:58 AM: > |> Here's stage 1 of the sync for coreutils. The patch looks big, but that's > |> due to how 'git format-patch' handles renames. > > I just learned 'git config --global diff.renames true' to make renaming > p

Re: [PATCH] Implement join --check-order and --nocheck-order.

2008-03-25 Thread Jim Meyering
"Dmitry V. Levin" <[EMAIL PROTECTED]> wrote: > On Tue, Feb 19, 2008 at 03:44:00PM +0100, Jim Meyering wrote: >> James Youngman <[EMAIL PROTECTED]> wrote: >> > This is a consolidated patch including all the previous changes, >> > implementing order checking in join by default. "make distcheck" >> >