summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2003-11-18 23:29:47 (GMT)
committerdavygrvy <davygrvy@pobox.com>2003-11-18 23:29:47 (GMT)
commit43f12dcb2dc6be1a838da527880200a7a483e2ac (patch)
tree372f8fdc4d6d6e146f09dda4f45794bf2364e823
parent040c9d7af65a3c59ce8eba8a3fe2b6fdee144864 (diff)
downloadtcl-43f12dcb2dc6be1a838da527880200a7a483e2ac.zip
tcl-43f12dcb2dc6be1a838da527880200a7a483e2ac.tar.gz
tcl-43f12dcb2dc6be1a838da527880200a7a483e2ac.tar.bz2
Changes from Victor Wagner <vitus@45.free.net> for better DJGPP support.
-rw-r--r--ChangeLog9
-rw-r--r--unix/tclUnixInit.c6
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d79256..90cc59f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-11-18 David Gravereaux <davygrvy@pobox.com>
+
+ * contrib/djgpp/Makefile: Changes from Victor Wagner
+ * contrib/djgpp/langinfo.c (new): <vitus@45.free.net> for better
+ * contrib/djgpp/langinfo.h (new): DJGPP support.
+ * unix/tclUnixInit.c: .
+ * unix/tclUnixChan.c: .
+ * unix/tclUnixFCmd.c: .
+
2003-11-17 Don Porter <dgp@users.sourceforge.net>
* tests/reg.test: Added tests for [Bugs 230589, 504785, 505048, 840258]
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index ea9b95a..779437c 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -7,7 +7,7 @@
* Copyright (c) 1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclUnixInit.c,v 1.36 2003/11/10 20:34:15 dgp Exp $
+ * RCS: @(#) $Id: tclUnixInit.c,v 1.37 2003/11/18 23:29:47 davygrvy Exp $
*/
#if defined(HAVE_CFBUNDLE)
@@ -167,7 +167,11 @@ static int Tcl_MacOSXGetLibraryPath(Tcl_Interp *interp, int maxPathLen, char *tc
void
TclpInitPlatform()
{
+#ifdef DJGPP
+ tclPlatform = TCL_PLATFORM_WINDOWS;
+#else
tclPlatform = TCL_PLATFORM_UNIX;
+#endif
/*
* The code below causes SIGPIPE (broken pipe) errors to