summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-07-08 01:06:05 (GMT)
committerhobbs <hobbs>2005-07-08 01:06:05 (GMT)
commitc7cbce40a31cd045bd4d15ebf401f13f6172ab2b (patch)
treeef6cbd99c219ed45f554068074278d1882b2ee1a /unix/tclUnixPort.h
parentb70197afbdb6e71461ae861830db8f544fc47505 (diff)
downloadtcl-c7cbce40a31cd045bd4d15ebf401f13f6172ab2b.zip
tcl-c7cbce40a31cd045bd4d15ebf401f13f6172ab2b.tar.gz
tcl-c7cbce40a31cd045bd4d15ebf401f13f6172ab2b.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.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h7
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)