summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.decls
diff options
context:
space:
mode:
authordas <das>2002-08-06 01:49:27 (GMT)
committerdas <das>2002-08-06 01:49:27 (GMT)
commit662e3f9cf9ef3534b5ac05ea668b44fd912d2180 (patch)
tree19d006042c2fe2684711080b502d5def97fef349 /generic/tclInt.decls
parent97436a436ee4b19926ee332ba593027e24264efc (diff)
downloadtcl-662e3f9cf9ef3534b5ac05ea668b44fd912d2180.zip
tcl-662e3f9cf9ef3534b5ac05ea668b44fd912d2180.tar.gz
tcl-662e3f9cf9ef3534b5ac05ea668b44fd912d2180.tar.bz2
* generic/tclInt.decls:
* unix/tclUnixThrd.c: Added stubs and implementations for non-threaded build for the tclUnixThrd.c procs TclpReaddir, TclpLocaltime, TclpGmtime and TclpInetNtoa. Fixes link errors in stubbed & threaded extensions that include tclUnixPort.h and use any of the procs readdir, localtime, gmtime or inet_ntoa (e.g. TclX 8.4) [Bug 589526] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: Regen.
Diffstat (limited to 'generic/tclInt.decls')
-rw-r--r--generic/tclInt.decls20
1 files changed, 19 insertions, 1 deletions
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index 5a91a50..8c1e733 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: tclInt.decls,v 1.54 2002/08/05 03:24:40 dgp Exp $
+# RCS: @(#) $Id: tclInt.decls,v 1.55 2002/08/06 01:49:27 das Exp $
library tcl
@@ -954,3 +954,21 @@ declare 9 unix {
TclFile TclpCreateTempFile(CONST char *contents)
}
+# Added in 8.4:
+
+declare 10 unix {
+ Tcl_DirEntry * TclpReaddir(DIR * dir)
+}
+
+declare 11 unix {
+ struct tm * TclpLocaltime(time_t * clock)
+}
+
+declare 12 unix {
+ struct tm * TclpGmtime(time_t * clock)
+}
+
+declare 13 unix {
+ char * TclpInetNtoa(struct in_addr addr)
+}
+