Re: GCC optimizes integer overflow: bug or feature?

2006-12-18 Thread Brooks Moses
Andrew Pinski wrote: On Tue, 2006-12-19 at 06:54 +0100, Ralf Wildenhues wrote: [quoting Paul Eggert] Surely the GCC guys care about LIA-1. After all, gcc has an -ftrapv option to enable reliable signal generation on signed overflow. But I'd rather not go the -ftrapv route, since that will cau

GCC optimizes integer overflow: bug or feature? (was: avoid integer overflow in mktime.m4)

2006-12-18 Thread Ralf Wildenhues
[ Please see http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/8152 http://www.ginac.de/pipermail/cln-list/2006-December/000259.html ] Hello Paul, all, Let's forward your comments and questions to the GCC list, I wasn't aware of this topic being so disruptive: * Paul Eggert wrote on Tue, Dec

Re: failure with HEAD: stdin seekable

2006-12-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gary V. Vaughan on 12/18/2006 1:24 PM: > Hi Eric, Ralf, Hi Gary, gnulib readers, [gnulib list, this thread starts at http://lists.gnu.org/archive/html/bug-m4/2006-12/msg00012.html] >> I see it on cygwin as well. The problem is that my

Re: savewd: fix module dependency on fcntl

2006-12-18 Thread Ralf Wildenhues
* Paul Eggert wrote on Tue, Dec 19, 2006 at 01:45:44AM CET: > Ralf Wildenhues <[EMAIL PROTECTED]> writes: > > > Module fcntl_h does not exist. OK to apply? > > Yes, please. Thanks. Done. Cheers, Ralf

Re: avoid integer overflow in mktime.m4

2006-12-18 Thread Paul Eggert
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > the newer GCC exploits at -O2 the fact that integer overflow > produces undefined behavior Wheeeoo! That optimization is going to break a _lot_ of GNU software. (Silently. Oh my.) This is a major change. Where is it documented and discussed? I d

Re: savewd: fix module dependency on fcntl

2006-12-18 Thread Paul Eggert
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > Module fcntl_h does not exist. OK to apply? Yes, please. Thanks.

avoid integer overflow in mktime.m4

2006-12-18 Thread Ralf Wildenhues
$ gcc-4.3 --version | gcc (GCC) 4.3.0 20061215 (experimental) $ gnulib-tool --with-tests --test [ interrupt at a convenient location ] $ .../configure CC=gcc-test [...] | checking for working mktime... This test hangs, because the newer GCC exploits at -O2 the fact that integer overflow produces u

savewd: fix module dependency on fcntl

2006-12-18 Thread Ralf Wildenhues
Module fcntl_h does not exist. OK to apply? Cheers, Ralf 2006-12-18 Ralf Wildenhues <[EMAIL PROTECTED]> * modules/savewd (Depends-on): Fix dependency on fcntl. Index: modules/savewd === RCS file: /cvsroot/gnulib/gnulib/m

Re: Current coreutils HEAD does not compile

2006-12-18 Thread Andreas Schwab
Paul Eggert <[EMAIL PROTECTED]> writes: > Perhaps there was a leftover 'stdint.h' file around from a previous > build? Removing it did not help, it was recreated again. But that was due to leftover dependency files, after removing them it works again. Thanks, Andreas. -- Andreas Schwab, SuSE

Re: Current coreutils HEAD does not compile

2006-12-18 Thread Paul Eggert
Andreas Schwab <[EMAIL PROTECTED]> writes: > With current coreutils HEAD (4e48b4ce334cb601dbbe2562e3aa410dc3ef3fba) I > get this compile error: > > In file included from ///usr/include/inttypes.h:28, > from ./inttypes.h:25, > from ../../coreutils/lib/xstrtol.h:25,

[PATCH]: multiple problem with the poll module

2006-12-18 Thread Yoann Vandoorselaere
Hi, I have been experiencing several problem with the poll module, especially under MacOS X. The module make the following assumption (quoting from the source): "An hung up descriptor does not increase the return value". - However, POSIX state: Upon successful completion, poll() shall return

gmane and gnulib-cvs

2006-12-18 Thread Karl Berry
Did we ask for gmane-ification on gnulib-cvs at some point? I don't remember. Anyway, it appears to have stopped working, so I removed the gmane address from the list. If anyone cares ... Date: Mon, 18 Dec 2006 12:34:10 -0600 From: Mail Delivery Subsystem <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: Is / distinct from //?

2006-12-18 Thread gilmap
Hi, Paul, Thanks for your speedy reply. In a recent note, Paul Eggert said: > Date: Mon, 18 Dec 2006 00:08:05 -0800 > > Yes. We can fix this in m4/double-slash-root.m4. Can you please > confirm the following? > Good enough: > 1. If you run this shell command: > >wc //dev/null >/de

Re: Is / distinct from //?

2006-12-18 Thread Paul Eggert
[EMAIL PROTECTED] writes: > (But I've long been tempted to tender a suggestion that the > guessers should supply a version for z/OS as they do for other > OSes.) Sounds reasonable to me. Can you please suggest patches to <[EMAIL PROTECTED]>? Submit a context diff to config.guess and/or config.s

Re: Is / distinct from //?

2006-12-18 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > How about this larger patch instead? Looks good. Some further changes: Jim and I should be on the maintainers list, there's some incoherence about whether DOUBLE_SLASH_IS_DISTINCT_ROOT is #defined to 0 or is left undefined by config.h. Here's what I inst

Re: Is / distinct from //?

2006-12-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Eggert on 12/18/2006 1:08 AM: > @@ -11,12 +11,12 @@ AC_DEFUN([gl_DOUBLE_SLASH_ROOT], > [ if test x"$cross_compiling" = xyes ; then > # When cross-compiling, there is no way to tell whether // is special > # short of a

Re: Is / distinct from //?

2006-12-18 Thread Paul Eggert
Paul Gilmartin <[EMAIL PROTECTED]> writes: > Just thought you'd like to know, Yes. We can fix this in m4/double-slash-root.m4. Can you please confirm the following? 1. If you run this shell command: wc //dev/null >/dev/null 2>&1 echo status = $? then the output is "status