delorie.com/archives/browse.cgi | search |
Date: | Fri, 2 Apr 1999 16:49:47 -0500 |
Message-Id: | <199904022149.QAA07854@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp-workers AT delorie DOT com |
In-reply-to: | <199904022112.VAA62116@out4.ibm.net> (snowball3@usa.net) |
Subject: | Re: patch for <sys\types.h> |
References: | <199904022112 DOT VAA62116 AT out4 DOT ibm DOT net> |
Reply-To: | djgpp-workers AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> But after looking at http://www.unix- > systems.org/single_unix_specification_v2/xsh/systypes.h.html I can > see why the script was looking there. According the URL, > <sys/types.h> should have time_t defined. POSIX.1 doesn't say time_t should be there, but it doesn't forbid it either. ANSI says time_t is in <time.h>. If we add it to <sys/types.h> it should go in the non-posix section. Bash should know better, though, and *should* use <time.h>. Linux and IRIX both have time_t in <sys/types.h> (Linux by actually including <time.h>). > *** include\sys\types.h.orig Sat Feb 22 13:06:06 1997 > --- include\sys\types.h Fri Apr 2 16:08:34 1999 Forward slashes. Forward slashes!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |