home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!destroyer!news.itd.umich.edu!normanb
- From: normanb@citi.umich.edu (David R. Richardson)
- Newsgroups: comp.lang.tcl
- Subject: tcl6.5 minor bug with tclTest.c
- Date: 29 Dec 1992 19:13:26 GMT
- Organization: CITI, University of Michigan
- Lines: 35
- Distribution: world
- Message-ID: <1hq80mINN9qn@terminator.rs.itd.umich.edu>
- Reply-To: normanb@citi.umich.edu
- NNTP-Posting-Host: orpheus.citi.umich.edu
-
-
- The rios compiler complains about tclTest.c as is. Under normal
- conditions, the line:
-
- extern int Tcl_DumpActiveMemory();
-
- gets parsed by cpp to be just:
-
- extern int
-
- The following patch seems to be what is intended:
-
-
- diff -c -r1.2 tclTest.c
- *** 1.2 1992/12/21 16:32:24
- --- tclTest.c 1992/12/21 17:52:35
- ***************
- *** 25,31 ****
- #include <stdlib.h>
- #include "tcl.h"
-
- ! extern int Tcl_DumpActiveMemory();
-
- Tcl_Interp *interp;
- Tcl_CmdBuf buffer;
- --- 25,33 ----
- #include <stdlib.h>
- #include "tcl.h"
-
- ! #ifdef TCL_MEM_DEBUG
- ! extern int Tcl_DumpActiveMemory();
- ! #endif
-
- Tcl_Interp *interp;
- Tcl_CmdBuf buffer;
-