Change 16143 by jhi@alpha on 2002/04/24 18:34:27
microperl update; boldly assume time() and time_t
(since we assume ANSI and i_time, anyway).
Affected files ...
.... //depot/perl/uconfig.h#58 edit
.... //depot/perl/uconfig.sh#51 edit
Differences ...
==== //depot/perl/uconfig.h#58 (text) ====
Index: perl/uconfig.h
--- perl/uconfig.h.~1~ Wed Apr 24 12:45:05 2002
+++ perl/uconfig.h Wed Apr 24 12:45:05 2002
@@ -1024,7 +1024,7 @@
/* BYTEORDER:
* This symbol holds the hexadecimal constant defined in byteorder,
- * i.e. 0x1234 or 0x4321, etc...
+ * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
* If the compiler supports cross-compiling or multiple-architecture
* binaries (eg. on NeXT systems), use compiler-defined macros to
* determine the byte order.
@@ -2480,12 +2480,16 @@
*/
/*#define HAS_TELLDIR_PROTO / **/
+/* HAS_TIME:
+ * This symbol, if defined, indicates that the time() routine exists.
+ */
/* Time_t:
* This symbol holds the type returned by time(). It can be long,
* or time_t on BSD sites (in which case <sys/types.h> should be
* included).
*/
-#define Time_t int /* Time type */
+#define HAS_TIME /**/
+#define Time_t time_t /* Time type */
/* HAS_TIMES:
* This symbol, if defined, indicates that the times() routine exists.
==== //depot/perl/uconfig.sh#51 (xtext) ====
Index: perl/uconfig.sh
--- perl/uconfig.sh.~1~ Wed Apr 24 12:45:05 2002
+++ perl/uconfig.sh Wed Apr 24 12:45:05 2002
@@ -382,7 +382,7 @@
d_tcsetpgrp='undef'
d_telldir='undef'
d_telldirproto='undef'
-d_time='undef'
+d_time='define'
d_times='undef'
d_tm_tm_gmtoff='undef'
d_tm_tm_zone='undef'
@@ -654,7 +654,7 @@
stdio_ptr='((fp)->_IO_read_ptr)'
stdio_stream_array=''
strerror_r_proto='0'
-timetype=int
+timetype=time_t
tmpnam_r_proto='0'
touch='touch'
ttyname_r_proto='0'
End of Patch.