diff options
author | hobbs <hobbs@noemail.net> | 2005-07-08 01:06:05 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2005-07-08 01:06:05 (GMT) |
commit | b38f9b383964c2aa1e357ebbb383161b45df41db (patch) | |
tree | ef6cbd99c219ed45f554068074278d1882b2ee1a /unix/tclUnixPort.h | |
parent | 9c33b6a4755352a1df122cea720c32999a548bdf (diff) | |
download | tcl-b38f9b383964c2aa1e357ebbb383161b45df41db.zip tcl-b38f9b383964c2aa1e357ebbb383161b45df41db.tar.gz tcl-b38f9b383964c2aa1e357ebbb383161b45df41db.tar.bz2 |
* unix/tcl.m4, unix/configure: Backported [Bug 1095909], removing
* unix/tclUnixPort.h: any use of readdir_r as it is not
* unix/tclUnixThrd.c: necessary and just confuses things.
FossilOrigin-Name: 75375ce5559385e127ba9d349adc2c3e8a47361c
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 7f20eda..10e1659 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -19,7 +19,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPort.h,v 1.27.2.5 2005/05/14 20:52:33 das Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.27.2.6 2005/07/08 01:06:13 hobbs Exp $ */ #ifndef _TCLUNIXPORT @@ -60,11 +60,9 @@ #ifdef HAVE_STRUCT_DIRENT64 typedef struct dirent64 Tcl_DirEntry; # define TclOSreaddir readdir64 -# define TclOSreaddir_r readdir64_r #else typedef struct dirent Tcl_DirEntry; # define TclOSreaddir readdir -# define TclOSreaddir_r readdir_r #endif #ifdef HAVE_TYPE_OFF64_T @@ -571,10 +569,7 @@ EXTERN struct tm * TclpLocaltime(CONST TclpTime_t); EXTERN struct tm * TclpGmtime(CONST TclpTime_t); #endif EXTERN char * TclpInetNtoa(struct in_addr); -#define readdir(x) TclpReaddir(x) #define inet_ntoa(x) TclpInetNtoa(x) -#undef TclOSreaddir -#define TclOSreaddir(x) TclpReaddir(x) #else typedef int TclpMutex; #define TclpMutexInit(a) |