Re: [bug-gnulib] localtime_r thread-safe?

2006-05-04 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Wed, May 03, 2006 at 10:39:06PM CEST: Paul Eggert wrote: I don't know of any hosts that have multithreading and localtime but lack a working localtime_r. HP-UX 11.00 with HP/PA. HP-UX 11.23 with IA64. In both cases: checking whether localtime_r is

Re: [bug-gnulib] localtime_r thread-safe?

2006-05-04 Thread Paul Eggert
Bruno Haible [EMAIL PROTECTED] writes: Since I cannot see how a function can return a pointer and an int simultaneously, It can't. If you want the old, incompatible (DCE) localtime_r under HP-UX, you're supposed to link with the DCE library and compile with -D_PTHREADS_DRAFT4. But anyone who

adding bison's warning.m4

2006-05-04 Thread Jim Meyering
Any objection to adding a slight generalization of bison's warning.m4, below? I'm going to use it in coreutils, so figured others might want to use it, too. BTW, who's the author? Paul? First, here's how bison uses it: AC_ARG_ENABLE(gcc-warnings, [ --enable-gcc-warnings turn on lots of GCC