gnupload: don't hard-code /usr/bin/gpg

2007-12-15 Thread Jim Meyering
Hi, I wanted to use gpg2 (trying to work around key change differences), but could not, without changing the script. So I made this change: * build-aux/gnupload (GPG): Don't hard-code patch to gpg binary. diff --git a/build-aux/gnupload b/build-aux/gnupload index 5b235c4..a0f7dc9 100755

Re: fseeko bug

2007-12-15 Thread Larry Jones
Eric Blake writes: > > There are two reasons for fseeko. One is for platforms that lack it. But > the other is for POSIX compliance for the requirement to position the > underlying fd offset when seeking on input streams (many BSD-based > implementations only follow the C99 rules, where such beh

Re: fseeko bug

2007-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Larry Jones on 12/14/2007 12:25 PM: > Eric Blake writes: >> maybe it's at least worth adding a compile-time assertion that sizeof(off_t) >> ==sizeof(long) when !HAVE_FSEEKO. > > Since I actually have a platform where that's not the case,

Re: fseeko bug

2007-12-15 Thread Larry Jones
Eric Blake writes: > > According to Larry Jones on 12/14/2007 12:25 PM: > > Eric Blake writes: > >> maybe it's at least worth adding a compile-time assertion that > >> sizeof(off_t) > >> ==sizeof(long) when !HAVE_FSEEKO. > > > > Since I actually have a platform where that's not the case, I'd pre

Re: detection of functional openat() for usage inside getcwd.c

2007-12-15 Thread Petr Salinger
getcwd.c uses *at() function family iff AT_FDCWD is defined. This approach does not work on GNU/kFreeBSD - FreeBSD kernel + GNU libc. The kernel does not provide needed interfaces, and therefore glibc provides only stub version for function from *at() family. But the AT_FDCWD is declared and getcw

Re: detection of functional openat() for usage inside getcwd.c

2007-12-15 Thread Jim Meyering
Petr Salinger <[EMAIL PROTECTED]> wrote: > getcwd.c uses *at() function family iff AT_FDCWD is defined. > This approach does not work on GNU/kFreeBSD - FreeBSD kernel + GNU libc. > The kernel does not provide needed interfaces, and therefore glibc > provides only stub version for function from *at(

Re: fseeko bug

2007-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Larry Jones on 12/15/2007 3:23 PM: >> And is there a ChangeLog entry for your patch? > > 2007-12-14 Larry Jones <[EMAIL PROTECTED]> > > * lib/fseeko.c (rpl_fseeko): Don't refuse to compile when no native > fseeko and off_t

Re: fseeko bug

2007-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Larry Jones on 12/14/2007 9:41 AM: > Eric Blake writes: >> Larry Jones siemens.com> writes: >>> On a more general note, it looks like fseeko and ftello both need more >>> work to be generally useful on platforms that have a wide off_t but

Re: fseeko bug

2007-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Larry Jones on 12/14/2007 12:25 PM: > Eric Blake writes: >> maybe it's at least worth adding a compile-time assertion that sizeof(off_t) >> ==sizeof(long) when !HAVE_FSEEKO. > > Since I actually have a platform where that's not the case,