Overview
| Artifact ID: | 62f2dde768064fe74971fc2395d814ca5a47e346 |
|---|---|
| Ticket: | 927771ffffffffffffffffffffffffffffffffff
bug fixes |
| User & Date: | tauvan on 2004-04-02 14:38:23 |
Changes
- icomment:
Logged In: YES user_id=1011552 I wish it was a joke, but I've never tried this before. I'm completely an idiot about what to do. From your response, I think I'm to break these up into chunks? or copy the actual snippets? or maybe trival? see bottom for one snippet. a list of changes and logic behind them (not in order occured) first some info: Steven J Abner [email protected] Mac G4 400Mhz PCI (1st month discontinued lack of PPC chip version) OS: stable (10.1.5) note: some testing on G3 Yosemite (1st version 300Mhz?) pre-results same current state: porting to OSX - development build state as local: all.tcl: Total 10603 Passed 9783 Skipped 820 Failed 0 as root: all.tcl: Total 10603 Passed 9550 Skipped 1053 Failed 0 note: "#include positioning" has to do with checking of defines(-D). in testing configure I created a "define.h" which was included in tcl.h thus bypassing the "Makefile" system. ie. needed testing method COMPAT FOLDER renamed files so when looking for <limits> that I have, I don't have to change all .c files to /usr/include/limits nor will <sys/limits> pick up the "limits". Don't worry I believe I solved that to, but that's for GENERIC. tclDfcn.h: trival #ifdef tclUinstd.h: trival #ifdef and position of #include tclDirent2.h: trival #ifdef strtol.c: position of #include strftime.c: position of #include UNIX FOLDER note: line# old file tclUnixPort.h: trival #ifdef :51 changed defines moved dirent test to tcl.h so anyone who includes tcl.h or tclInt.h will use correct <dirent> :113 same as :51 :154 compatable with new compat header names :567 made compitable with system header (stopped warnings) :582 simple tclUnixThrd.c: #endif matching ie. /* TCL_THREADS */ :834 made compitable with system header (stopped warnings) :864 made compitable with system header (stopped warnings) :900 combind test :917 warning fix :929 preference tclUnixInit.c: #include positioning :50 preference tclXtTest.c: #include positioning (still have whole X setup todo) tclUnixFCmd.c: :56 still have to work I believe on my system these includes will solve the FSTATFS which means changing testing method :215 MAJOR change solves problems :1617 MAJOR change solves problems my new function may need you to make compitable with other OSs tclXtTestInit.c: created to bypass extra work of Makefile and for yet todo testing tclLoadDl.c: :17 moved dlfcn test to tcl.h so anyone who includes tcl.h or tclInt.h will use correct <dlfcn.h> tclLoadAix.c: :32 new #include and will use correct <dlfcn.h> tclLoadAout.c: :25 moved unistd.h test to tcl.h so anyone who includes tcl.h or tclInt.h will use correct <unistd.h> tclUnixChan.c: :1889 and on changed "socklen_t" to "int" to match prototypes it was passed on to (stopped warnings) tclLoadDyld.c :202 (stopped warnings) GENERIC FOLDER tclInt.decls: declare 11 & 12 system compatiblity tclIntPlatDecls.h: declare 11 & 12 system compatiblity tcl.h: code to solve build issues tclInt.h: code to solve build issues tclRegexp.h: removed #ifdef tclCompile.h: removed #ifdef tclTestInit.c: added to bypass Makefile tclMain.c: removed #include tclClock.c: removed #include tclTest.c: removed #define tclInterp.c: removed #include made standard in tcl.h tclAlloc.c: moved #if test, removed #include made standard in tcl.h tclThreadAlloc.c: moved #if test, :210 (stopped warnings) :280 (stopped warnings) :327 (stopped warnings) :391 (stopped warnings) :467 (stopped warnings) :536 (stopped warnings) :929 (stopped warnings) tclIOSock.c: :94 changed "socklen_t" to "int" to match prototypes it was passed on to (stopped warnings) regcomp.c: :1589 (stopped warnings) TESTS FOLDER some "nonPortables" removed as there was no reasoning some constraint conditions of "nonPortables" placed last as other constraints I can't do anything about unixInit.test: test unixInit-3.1 load.test: test load-2.3 winFCmd.test: test winFCmd-12.7 parseExpr.test: test parseExpr-16.9 test parseExpr-16.10 ioCmd.test: test iocmd-8.18 test iocmd-8.19 expr-old.test: test expr-old-36.7 test expr-old-36.10 binary.test: test binary-13.4 - 13.15 etc... 61 total get.test: test get-2.4 format.test: 6 "nonPortables" exec.test: test exec-12.1 - 12.3 12.3 seems flakey fileSystem.test: test filesystem-7.1 tcltest.test: nonRoot to notRoot winTime.test: test winTime-2.1 env.test: root (MAC_OSX local has __CF... which Tcl doesn't handle) cmdAH.test: test cmdAH-6.5 test cmdAH-18.2 test cmdAH-18.2.1 test cmdAH-23.3 test cmdAH-23.5 test cmdAH-26.2 test cmdAH-26.3 test cmdAH-29.3.0 TODO: comment in readme about "limit stacksize 3072k" find out why dead links copy "dontcopylinks" (-force) int TclpObjRenameFile(srcPathPtr, destPathPtr) Tcl_Obj *srcPathPtr; Tcl_Obj *destPathPtr; { int retVal = DoRenameFile(Tcl_FSGetNativePath(srcPathPtr), Tcl_FSGetNativePath(destPathPtr)); if (errno == EISDIR) { Tcl_Obj *errorBuffer = NULL; retVal = TclpObjRemoveDirectory(destPathPtr, FALSE, & errorBuffer); if (retVal) { return retVal; } retVal = TclpObjCopyDirectory(srcPathPtr, destPathPtr, & errorBuffer); retVal = TclpObjRemoveDirectory(srcPathPtr, TRUE, & errorBuffer); } return retVal; } Thanks; and please advise
- login: "tauvan"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "tauvan"