Re: fchdir fixes

2009-12-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 12/8/2009 7:51 AM: > Eric Blake wrote: >> fchdir is working on mingw, which is about the only modern portability >> target that lacks fchdir, but it is sure easier to test on other platforms >> than mingw. >> Subject: [PATC

add license to link-warning.h

2009-12-08 Thread Simon Josefsson
Bruno, what do you think? For rationale, I got a comment in https://savannah.gnu.org/task/?9954 that link-warning.h lacked licensing information. I would have used the normal GPLv2+ license header in this file, but it seems gnulib-tool --import --lgpl does not change it to LGPLv2.1+ (presumably b

Re: cloexec license

2009-12-08 Thread Jim Meyering
Eric Blake wrote: > Jim, Bruno, > Any objections to relicensing cloexec as LGPL? set_cloexec_flag is only a > thin > wrapper around fcntl, which currently isn't adding much content beyond a low > level function that is present everywhere except mingw. dup_cloexec is a bit > more complicated, and

[PATCH] init.sh: avoid Solaris 10 /bin/sh portability problem

2009-12-08 Thread Jim Meyering
In preparing for coreutils-8.2, I noticed that test-xalloc-die.sh would fail on Solaris 10 because the PATH-prepending part of init.sh's setup_ function was not being run. That was due to a difference in how Sun's /bin/sh works. Here's the fix I've pushed: >From 5aad650f4e093269e4184cb150f735f699

cloexec license

2009-12-08 Thread Eric Blake
Jim, Bruno, Any objections to relicensing cloexec as LGPL? set_cloexec_flag is only a thin wrapper around fcntl, which currently isn't adding much content beyond a low level function that is present everywhere except mingw. dup_cloexec is a bit more complicated, and was borrowed from the GPL

Re: pty.h replacement

2009-12-08 Thread Simon Josefsson
Bruno Haible writes: > Hi Simon, > >> > Darwin has forkpty in util.h instead of the glibc name of pty.h. I'm >> > working on a gnulib module to provide compatibility mappings... stay >> > tuned. >> >> Here it is. Tested on glibc debian and Mac OS X 10.5. > > As far as I can see the portability

Re: pty.h replacement

2009-12-08 Thread Simon Josefsson
Thanks for review Bruno. It seems the issue is more complicated, which I kind of guessed. Bruno Haible writes: > Actually, since openpty and forkpty are glibc function, therefore two files > doc/glibc-functions/openpty.texi > doc/glibc-functions/forkpty.texi > should be created. They escape

Re: fchdir fixes

2009-12-08 Thread Jim Meyering
Eric Blake wrote: > fchdir is working on mingw, which is about the only modern portability > target that lacks fchdir, but it is sure easier to test on other platforms > than mingw. So before making rpl_fcntl (and having it call > _gl_register_dup at the right places), I decided to try './configur

fchdir fixes

2009-12-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 fchdir is working on mingw, which is about the only modern portability target that lacks fchdir, but it is sure easier to test on other platforms than mingw. So before making rpl_fcntl (and having it call _gl_register_dup at the right places), I decid

Re: untabify?

2009-12-08 Thread Paolo Bonzini
of for vim " Don't use tabs by for indentation. Spacer are nicer to work with. set expandtab I also set this for vim: filetype indent on which uses TABs for Makefiles as required. That doesn't handle Changelogs though, so for situations like that I also have this setting: