gnupload --replace

2012-06-09 Thread Karl Berry
Here is a patch to gnupload to implement --replace, per the new upload "protocol". Any comments/suggestions before I commit it? k --- a/build-aux/gnupload +++ b/build-aux/gnupload @@ -28,6 +28,7 @@ GPG='gpg --batch --no-tty' conffile=.gnuploadrc to= dry_run=false +replace= symlink_files= de

gnupload --dry-run and gpg passphrase?

2012-06-09 Thread Karl Berry
Is there any reason for gnupload -n to ask for the gpg password? When testing, it seems rather more convenient not to be asked. (If I actually commit this I'll reindent in the obvious way.) k --- a/build-aux/gnupload +++ b/build-aux/gnupload @@ -243,11 +249,13 @@ unset passphrase # listings with

gnulib portability issues

2012-06-09 Thread Rich Felker
Hi, Reuben suggested I contact upstream since we've been discussing on the musl mailing list (m...@lists.openwall.com, archive at http://www.openwall.com/lists/musl/) some of the difficulties that have arisen out of gnulib and programs using it when building on musl (http://www.etalabs.net/musl/).

Re: gnulib portability issues

2012-06-09 Thread Paul Eggert
Patches for any of these problems would be welcome. As freadahead seems to be most pressing, it sounds like that's the best one to work on first. > 1. freadahead is inherently non-portable That sounds like a challenge! How about using the following patch? Does it work for you, if you define SLO

Re: gnulib portability issues

2012-06-09 Thread Rich Felker
On Sat, Jun 09, 2012 at 09:06:21PM -0700, Paul Eggert wrote: > Patches for any of these problems would be welcome. > As freadahead seems to be most pressing, it sounds > like that's the best one to work on first. > > > 1. freadahead is inherently non-portable > > That sounds like a challenge! Ho

Re: gnulib portability issues

2012-06-09 Thread Paul Eggert
On 06/09/2012 09:25 PM, Rich Felker wrote: > For seekable input, comparing ftello(f) and the underlying fd offset > from lseek(fileno(f),0,SEEK_CUR) would work, but that also will fail > for non-seekable input. Thanks, that's better than what I wrote. Perhaps you could write up a patch along thos