bug#8230: touch dumps core on solaris 10

2011-03-13 Thread Jim Meyering
Ben Walton wrote: >> Ben, can you confirm that touch from coreutils-8.7 did not have this >> problem? I'll wait for confirmation before pushing. > > I just built 8.7 (I skipped from 8.4 -> 8.8) with my build script and > tested it. It works correctly, so I'd say that yes, the problem was > introd

bug#8230: touch dumps core on solaris 10

2011-03-13 Thread Ben Walton
Excerpts from Jim Meyering's message of Sun Mar 13 05:11:33 -0400 2011: Hi Jim, > I've just updated coreutils to use the latest from gnulib, so this > will be fixed in coreutils-8.11. Great! > Ben, can you confirm that touch from coreutils-8.7 did not have this > problem? I'll wait for confirm

bug#8230: touch dumps core on solaris 10

2011-03-13 Thread Jim Meyering
Ben Walton wrote: > Thanks for saving me the legwork on this. The patch does correct the > problem. I appreciate the quick turnaround on this. Thanks to both of you. I've just updated coreutils to use the latest from gnulib, so this will be fixed in coreutils-8.11. However, contrary to most NEW

bug#8230: touch dumps core on solaris 10

2011-03-12 Thread Ben Walton
Excerpts from Bruno Haible's message of Sat Mar 12 07:11:51 -0500 2011: Hi Bruno, > I'm applying this patch: Thanks for saving me the legwork on this. The patch does correct the problem. I appreciate the quick turnaround on this. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University

bug#8230: touch dumps core on solaris 10

2011-03-12 Thread Bruno Haible
Paul Eggert wrote: > That sounds good, but why make Solaris 9 a special case? > Wouldn't it be simpler to do it for all platforms where gnulib > defines futimens or utimensat functions? The functions of the two cycles are available on the following platforms: Cycle #1: futimensAIX 7, Cygwin

bug#8230: touch dumps core on solaris 10

2011-03-11 Thread Paul Eggert
On 03/11/2011 02:41 PM, Bruno Haible wrote: > I propose to change gnulib so that it uses > #define futimens rpl_futimens > #define utimensat rpl_utimensat > also on Solaris 9 (with the usual idioms for the C++ and the gnulib > namespace). That sounds good, but why make Solaris 9 a special cas

bug#8230: touch dumps core on solaris 10

2011-03-11 Thread Bruno Haible
Regarding : Eric Blake wrote: > If you compiled with debugging, then it might help to show a gdb session > of rpl_fcntl in lib/fcntl.c while stepping enough to prove the loop, as > well as a backtrace that leads to that loop, might be worthwhile.

bug#8230: touch dumps core on solaris 10

2011-03-11 Thread Eric Blake
[adding bug-gnulib] On 03/10/2011 06:53 PM, Ben Walton wrote: > > Hi All, > > Since 8.8, touch has dumped core on solaris 10 (built on solaris 9). > The command that triggers the core dump is a simple: touch somefile > > This is seemingly related to the recommend patch cluster of Jan 10, > 2011

bug#8230: touch dumps core on solaris 10

2011-03-10 Thread Paul Eggert
This reminds me of an earlier thread: http://lists.gnu.org/archive/html/coreutils/2010-11/msg00102.html I don't know that that problem ever got resolved, but it is odd that you started seeing it only in the January 10 cluster, but that other report was in November. What's the output of the follo

bug#8230: touch dumps core on solaris 10

2011-03-10 Thread Ben Walton
Hi All, Since 8.8, touch has dumped core on solaris 10 (built on solaris 9). The command that triggers the core dump is a simple: touch somefile This is seemingly related to the recommend patch cluster of Jan 10, 2011 as it runs just fine on older releases of solaris 10. On affected boxes, the