Msvcrt fixes

Francois Gouget fgouget at
Mon Apr 23 02:59:01 CDT 2001

On Mon, 23 Apr 2001, Andreas Mohr wrote:

> On Mon, Apr 23, 2001 at 12:27:58AM -0700, François Gouget wrote:
> >    Btw, the Linux localtime documentation sucks. It's even worse than
> > the MS one!!!
> Err, fix it ? ;-)
> Really, what is an Open Source programmer supposed to do when he realizes
> that something sucks ?

   Would that do it?

--- cut here ---
--- ctime.3.orig        Mon Apr 23 00:47:46 2001
+++ ctime.3     Mon Apr 23 00:50:24 2001
@@ -139,7 +139,9 @@
 information about the current time zone, \fItimezone\fP with the
 between Coordinated Universal Time (UTC) and local standard time in
 seconds, and \fIdaylight\fP to a non-zero value if standard US daylight
-savings time rules apply.
+savings time rules apply. The return value points to a statically 
+allocated \fItm\fP structure which might be overwritten by subsequent 
+calls to any of the date and time functions.
 The \fBasctime()\fP function converts the broken-down time value
 \fItimeptr\fP into a string with the same format as \fBctime()\fP.
--- cut here ---

   I wonder where I should send it. Since I'm lazy I guess I will just
send it over to Debian where it will join the 2+ years old bug reports
for the manpages-dev package. (maybe I should check the source first
though :-/)

Francois Gouget         fgouget at
     The software said it requires Win95 or better, so I installed Linux.

More information about the wine-devel mailing list