Re: Build errors on Solaris 2.6 & 7

2013-01-30 Thread Paul Eggert
On 01/30/2013 02:13 PM, Tom G. Christensen wrote: > just expanding it should make it correct for Solaris < 10 aswell. OK, thanks, I pushed this into gnulib: --- ChangeLog | 17 + lib/sys_select.in.h | 17 - lib/sys_time.in.h | 188 ++--

Re: Documentation of lib$package.a?

2013-01-30 Thread Reuben Thomas
On 31 January 2013 01:27, Gary V. Vaughan wrote: > Hi Reuben, > > On 31 Jan 2013, at 00:37, Reuben Thomas wrote: > > On 30 January 2013 17:10, Gary V. Vaughan wrote: > >> Are you using the bootstrap script from gnulib (which I didn't check) > > > Yes. > > > Then, may I humbly suggest you switc

Re: Documentation of lib$package.a?

2013-01-30 Thread Gary V. Vaughan
Hi Reuben, On 31 Jan 2013, at 00:37, Reuben Thomas wrote: > On 30 January 2013 17:10, Gary V. Vaughan wrote: >> Are you using the bootstrap script from gnulib (which I didn't check) > > Yes. Then, may I humbly suggest you switch to my bootstrap rewrite, which has behaviour the two of us at le

Re: bug#13516: tests/rm/unread3 fails on Mac OS X 10.8

2013-01-30 Thread Paul Eggert
On 01/30/2013 03:59 PM, Global Odey wrote: > On 1/30/13 1:25 AM, Paul Eggert wrote: >> Can you use GDB to debug the situation? > No. That is, I'm willing but apparently not able. >> Try running something like this: >> >> gdb test-getcwd >> b getcwd >> r >> fin >> p errno > GDB didn't seem to offer

Re: bug#13516: tests/rm/unread3 fails on Mac OS X 10.8

2013-01-30 Thread Global Odey
On 1/30/13 1:25 AM, Paul Eggert wrote: Can you use GDB to debug the situation? No. That is, I'm willing but apparently not able. Try running something like this: gdb test-getcwd b getcwd r fin p errno GDB didn't seem to offer up much. It was able to find getcwd (after loading shared libraries

Re: Build errors on Solaris 2.6 & 7

2013-01-30 Thread Tom G. Christensen
On 01/30/2013 09:17 AM, Paul Eggert wrote: On 01/29/2013 08:34 AM, Tom G. Christensen wrote: It breaks Solaris< 10. OK, how about the attached patch instead? It works. Thank you. I tested on Solaris 2.6, 7, 9 & 10 and all get through running the testsuite. Only one little nit, in sys_se

Re: Documentation of lib$package.a?

2013-01-30 Thread Reuben Thomas
On 30 January 2013 17:10, Gary V. Vaughan wrote: > Are you using the bootstrap script from gnulib (which I didn't check) Yes. > Similarly there is no code in bootstrap rewrite to override the default > setting of --lib, save setting gnulib_name=lib$package in bootstrap.conf. > Bootstrap rewri

Re: Documentation of lib$package.a?

2013-01-30 Thread Gary V. Vaughan
Hi Reuben, On 30 Jan 2013, at 21:14, Reuben Thomas wrote: > In gnulib.pdf, I can't find any mention of the fact that the library is (no > longer?) called libgnu.a, but lib$package.a (if you use bootstrap), and when > I run ./bootstrap I don't get any message about adding it to relevant *LDADD

Re: How to test if I've got openpty?

2013-01-30 Thread Reuben Thomas
On 30 January 2013 15:25, Reuben Thomas wrote: > I've included the openpty module in a project, and I see that it doesn't > work on all platforms. I assumed that I should test HAVE_OPENPTY to see if > I got it, but HAVE_OPENPTY is undefined in my config.h, even though it's > set to 1 in config.lo

How to test if I've got openpty?

2013-01-30 Thread Reuben Thomas
I've included the openpty module in a project, and I see that it doesn't work on all platforms. I assumed that I should test HAVE_OPENPTY to see if I got it, but HAVE_OPENPTY is undefined in my config.h, even though it's set to 1 in config.log. Further, I don't see how HAVE_OPENPTY can be 0, since

pty.h seems to be intended for mingw, but documented not to be

2013-01-30 Thread Reuben Thomas
gnulib's pty.h contains references to mingw, suggesting it works there, but under pty.h's "Portability problems not fixed by Gnulib" is listed "This header file is missing on some platforms: mingw". Should mingw be moved to the list of platforms for which the "missing" problem is fixed by gnulib's

Documentation of lib$package.a?

2013-01-30 Thread Reuben Thomas
In gnulib.pdf, I can't find any mention of the fact that the library is (no longer?) called libgnu.a, but lib$package.a (if you use bootstrap), and when I run ./bootstrap I don't get any message about adding it to relevant *LDADD variables. Am I missing something? -- http://rrt.sc3d.org

Test for regex module hangs

2013-01-30 Thread Reuben Thomas
When running the test for working re_compile_pattern, I get a hang; attaching to the process gives me: (gdb) where #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:93 #1 0x2ab6dd5c6221 in _L_lock_10625 () at malloc.c:5209 #2 0x2ab6dd5c3fa7 in __GI__

Re: fsusage: dynamic statvfs() check incorrect for Debian 7.0

2013-01-30 Thread Eric Wong
Paul Eggert wrote: > On 01/29/2013 06:44 PM, Eric Wong wrote: > > eglibc on Debian is only configured to only use features available in > > Linux 2.6.26 at build time. This means statvfs() uses stat() internally > > regardless of the run-time kernel version[1]. > > That sounds like a bug in egli

Re: Build errors on Solaris 2.6 & 7

2013-01-30 Thread Paul Eggert
On 01/29/2013 08:34 AM, Tom G. Christensen wrote: > It breaks Solaris < 10. OK, how about the attached patch instead? diff --git a/ChangeLog b/ChangeLog index 74f6f66..36408d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2013-01-30 Paul Eggert + + sys_time: port to Solaris 2.