Re: fstab.h for ARM

2010-03-04 Thread Simon Josefsson
Jon Grosshart writes: > Trying to build samba 3.5.0 on a DNS-323 embeded NAS running on ARM > with Uclibc. mount.cifs fails with not finding fstab.h Is Samba using gnulib? If not, anything done in gnulib will not help. It seems gnulib could easily provide a fstab.h replacement and its related

exit

2010-03-04 Thread Simon Josefsson
Building all modules leads to this warning: gnulib-tool: warning: module obstack depends on a module with an incompatible license: exit I took a look at this. Here is the 'exit' module definition: , | Description: | exit() function: program termination. | | Files: | | Depends-on: | stdli

exitfail

2010-03-04 Thread Simon Josefsson
There is also this warning: gnulib-tool: warning: module obstack depends on a module with an incompatible license: exitfail The exitfail.h is: extern int volatile exit_failure; and exitfail.c is: #include #include "exitfail.h" #include int volatile exit_failure = EXIT_FAILURE; Is this wort

utime

2010-03-04 Thread Simon Josefsson
Jim, the utime module says: Notice: This module is obsolete. It can be removed on 2010-01-01. Why is it obsolete? Should we remove it now? The code looks useful to me, but I may be missing something. I cannot find anything in NEWS or doc/posix-functions/utime.texi to explain this either. /Sim

Re: exitfail

2010-03-04 Thread Jim Meyering
Simon Josefsson wrote: > There is also this warning: > > gnulib-tool: warning: module obstack depends on a module with an incompatible > license: exitfail > > The exitfail.h is: > > extern int volatile exit_failure; > > and exitfail.c is: > > #include > #include "exitfail.h" > #include > int vol

Re: exitfail

2010-03-04 Thread Simon Josefsson
Jim Meyering writes: > I suppose you intend "LGPLv2+" here, so it's like all of the others, > and not LGPLv2.1+. Likewise in the patch below. Yes, sorry. > I'll see if Paul agrees. Thanks! /Simon

Re: utime

2010-03-04 Thread Simon Josefsson
Jim Meyering writes: > Given that coreutils stopped using it then (no problems), and that > gnulib-tool has been warning anyone who uses it, outright removal > should be safe, now. Here's a patch to do that. > I'll push tomorrow if no one objects. Sounds good to me. > +On some old platforms (S

Re: utime

2010-03-04 Thread Jim Meyering
Simon Josefsson wrote: > Jim, the utime module says: > > Notice: > This module is obsolete. It can be removed on 2010-01-01. > > Why is it obsolete? Should we remove it now? The code looks useful to > me, but I may be missing something. I cannot find anything in NEWS or > doc/posix-functions/uti

Re: utime

2010-03-04 Thread Jim Meyering
Simon Josefsson wrote: > Jim Meyering writes: > >> Given that coreutils stopped using it then (no problems), and that >> gnulib-tool has been warning anyone who uses it, outright removal >> should be safe, now. Here's a patch to do that. >> I'll push tomorrow if no one objects. > > Sounds good t

Re: utime

2010-03-04 Thread Eric Blake
According to Simon Josefsson on 3/4/2010 8:00 AM: >> On some platforms, this function mis-handles trailing slash: >> Solaris 9. > > Is Solaris 9 considered too old as well? Or is this problem > unimportant? Solaris 9 is still a live target (and even Solaris 8 is still reasonably easy to mainta

Re: exit

2010-03-04 Thread Eric Blake
According to Simon Josefsson on 3/4/2010 6:33 AM: > Building all modules leads to this warning: > > gnulib-tool: warning: module obstack depends on a module with an incompatible > license: exit > > > Is the 'exit' module really useful, other than transition for old code > when the exit module p

Re: exit

2010-03-04 Thread Simon Josefsson
Eric Blake writes: > According to Simon Josefsson on 3/4/2010 6:33 AM: >> Building all modules leads to this warning: >> >> gnulib-tool: warning: module obstack depends on a module with an >> incompatible license: exit >> >> >> Is the 'exit' module really useful, other than transition for old

Re: exit

2010-03-04 Thread Simon Josefsson
Simon Josefsson writes: > Eric Blake writes: > >> According to Simon Josefsson on 3/4/2010 6:33 AM: >>> Building all modules leads to this warning: >>> >>> gnulib-tool: warning: module obstack depends on a module with an >>> incompatible license: exit >>> >>> >>> Is the 'exit' module really

Re: exit

2010-03-04 Thread Bruno Haible
Hi Simon, Both are good suggestions. > Bruno, do you mind re-licensing the 'exit' module to > LGPLv2+? Fine with me. Please go ahead. > And add the above obsolete warning? Also fine with me. At the same time, in doc/posix-functions/exit.texi, it's appropriate to change "Gnulib module: exit" t

Re: gnulib module install

2010-03-04 Thread Karl Berry
Here's my attempt at describing the third "mixed" approach to Gnulib sources. Is it ok? @node VCS Issues @section Issues with Version Control Systems If a project stores its source files in a version control system (VCS), such as CVS, Subversion, or Git, one needs to decide which files to commi

Re: fstab.h for ARM

2010-03-04 Thread Bruno Haible
Jon Grosshart wrote: > Trying to build samba 3.5.0 on a DNS-323 embeded NAS running on ARM > with Uclibc. mount.cifs fails with not finding fstab.h You can try to use the 'mountlist' module. Unlike the concept of /etc/fstab, this module is ported even to exotic platforms, from Solaris and Cygwin t

Re: exit

2010-03-04 Thread Simon Josefsson
Bruno Haible writes: > Hi Simon, > > Both are good suggestions. > >> Bruno, do you mind re-licensing the 'exit' module to >> LGPLv2+? > > Fine with me. Please go ahead. > >> And add the above obsolete warning? > > Also fine with me. At the same time, in doc/posix-functions/exit.texi, > it's appr