Re: 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

Re: 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

Re: 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

Re: 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

Re: 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

Re: 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

Re: 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.

Re: 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