Re: [bug-gnulib] Re: nanosleep module and mingw32

2006-05-23 Thread Paul Eggert
In that case, it may be best for gnulib to generate a substitute file that does the right thing under Microsoft Windows (or indeed, any platform that lacks ). That way, gnulib modules like nanosleep can simply "#include " unconditionally and use 'select'. Is that something you could write?

Re: [bug-gnulib] [EMAIL PROTECTED]: GNU Coding Standards, internatialisation and plurals]

2006-05-23 Thread Bruno Haible
Hello, Michael Thayer writes: > This has the problem that not all languages treat singular and plural > the same way as English. For example, Arabic uses singular, dual and > plural rather than just singular and plural. Russian uses a different > case depending on whether the number ends in 1,

Re: [bug-gnulib] Re: gettimeofday() for Win32

2006-05-23 Thread Bruno Haible
Hi, Thanks for improving the gettimeofday replacement. > +# if HAVE__FTIME > + > + struct _timeb timebuf; > + > + _ftime (&timebuf); > + tv->tv_sec = timebuf.time; > + tv->tv_usec = timebuf.millitm * 1000; > + > + return 0; > + Similar things should be done for systems that have no gettim

Re: [bug-gnulib] Re: gettimeofday() for Win32

2006-05-23 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: >> + AC_CACHE_CHECK([for gettimeofday whose signature conforms to POSIX], > > What's the point of checking the signature? The only signatures of > gettimeofday() I've seen are: > > int gettimeofday (struct timeval * tp, ...); > int gettimeofday (st

Re: [bug-gnulib] [EMAIL PROTECTED]: GNU Coding Standards, internatialisation and plurals]

2006-05-23 Thread Karl Berry
Karl, Find here a patch. Thanks Bruno. I am checking with rms about installing it.

Re: [bug-gnulib] Re: gettimeofday() for Win32

2006-05-23 Thread Martin Lambers
On Tue, 23. May 2006, 14:32:14 +0200, Bruno Haible wrote: > Similar things should be done for systems that have no gettimeofday() > but do have an 'ftime' function and 'struct timeb' declared in > . (Old SysVR2 or SysVR3 systems. Microsoft did not invent this > interface; they only prepended the un

Re: [bug-gnulib] Re: nanosleep module and mingw32

2006-05-23 Thread Martin Lambers
On Tue, 23. May 2006, 00:25:11 -0700, Paul Eggert wrote: > In that case, it may be best for gnulib to generate a substitute > file that does the right thing under Microsoft Windows > (or indeed, any platform that lacks ). That way, gnulib > modules like nanosleep can simply "#include " > uncondit

Re: [bug-gnulib] Re: nanosleep module and mingw32

2006-05-23 Thread Martin Lambers
With the new sys_select module and the attached changes to the nanosleep module, my project compiles and links fine when crosscompiled using the mingw package. Martin diff -uNr gnulib/lib/nanosleep.c gnulib-sys_select_h/lib/nanosleep.c --- gnulib/lib/nanosleep.c 2006-05-20 21:22:15.