[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-gnulib] Re: GNULib Module gettime Breaks CVS Build On Windows

From: Conrad T. Pino
Subject: RE: [Bug-gnulib] Re: GNULib Module gettime Breaks CVS Build On Windows
Date: Fri, 14 May 2004 10:58:07 -0700

Hi Derek,

> From: Derek Robert Price
> Conrad, I've just updated the version in CVS.  Does it do the trick
> for you?

It compiles and the build completes.  No testing as yet but it's a
definite step forward.

> I've also added my_usleep & nanosleep functions to
> windows-NT/woe32.c.  They are mostly duplicated code from nanosleep.c,
> so I'm tempted to fork our nanosleep.c to include the #include
> <winsock.h> instead and ease maintenence, but it's somewhat debatable
> whether that is easier since it would complicate updates from GNULIB.
> Anyhow, please let me know how it turns out.

Expect formal patch submission for the 1 typo correction required:

Index: windows-NT/woe32.c
RCS file: /cvs/ccvs/windows-NT/woe32.c,v
retrieving revision 1.3
diff -u -p -r1.3 woe32.c
--- windows-NT/woe32.c  14 May 2004 13:32:36 -0000      1.3
+++ windows-NT/woe32.c  14 May 2004 17:50:47 -0000
@@ -63,7 +63,7 @@ unsigned sleep(unsigned seconds)
  * Sleep at least some number of microseconds, specified with nanosecond
  * resolution and rounding up to the nearest microsecond.
-int my_usleep (const struct timespec *delay)
+int my_usleep (const struct timespec *ts_delay)
     struct timeval tv_delay;
     tv_delay.tv_sec = ts_delay->tv_sec;

> Derek


reply via email to

[Prev in Thread] Current Thread [Next in Thread]