|
2004-04-07
| ||
| 21:03 | • Closed ticket [927771ffff]: bug fixes plus 7 other changes artifact: ba98cbe4b2 user: dgp | |
|
2004-04-03
| ||
| 00:29 | • Ticket [927771ffff]: 4 changes artifact: 17fd6c2281 user: dgp | |
| 00:07 | • Ticket [927771ffff]: 4 changes artifact: a3d0271773 user: tauvan | |
|
2004-04-02
| ||
| 23:31 | • Ticket [927771ffff]: 5 changes artifact: ff40bf2120 user: dgp | |
| 23:20 | • Ticket [927771ffff]: 5 changes artifact: 0fe0f3cf8d user: tauvan | |
| 22:25 | • Ticket [927771ffff]: 4 changes artifact: 96209892c1 user: dgp | |
| 14:38 | • Open ticket [927771ffff]. artifact: 62f2dde768 user: tauvan | |
| 12:03 | • Pending ticket [927771ffff]. artifact: 1393cf1757 user: dgp | |
|
2004-04-01
| ||
| 19:42 | • New ticket [927771ffff]. artifact: bececdb113 user: tauvan | |
bug fixes
Closed / Duplicate927771ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-04-01 19:42:45
I've made some code changes which yields:
as local:
all.tcl: Total 10603 Passed 9783 Skipped 820 Failed 0
as root:
all.tcl: Total 10603 Passed 9550 Skipped 1053 Failed 0
as opposed to:
all.tcl: Total 10602 Passed 9494 Skipped 1096 Failed 12
I'm still in the development build state of my port.
I've no idea who or where to send these changes nor if
they're even welcomed.
Could someone please advise?
Thanks;
Steven J Abner
[email protected]
dgpplain2004-04-02 12:03:49
Logged In: YES
user_id=80530
Gotta ask.... is this an April Fools joke?
You say you've made code changes, so use
the names of the files in which you made
changes and the information at
http://purl.org/tcl/tip/16.html
to determine what Category each code
change belongs to. File a bug report
in the proper category for each bug you
fixed, and since you've got the code
changes, attach the path too.
Bug reports assigned to categories will
automatically be assigned to a maintainer.
Some maintainers react more quickly
than others, but your proposals for
changed code will be in the hands of
someone who can make the changes.
If you're interested and your changes
turn out to be good ones, we might
even invite you to be a maintainer.
Is that what you wanted to know?
tauvanplain2004-04-02 14:38:23
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
dgpplain2004-04-02 22:25:53
Logged In: YES user_id=80530 I think to address this effectively, it will need some breaking up, yes. Let's start with a simple example. In your summary, I see: tcltest.test: nonRoot to notRoot I happen to be the maintainer for the tcltest package portion of the Tcl project, so I'd be interested in that bug report. Best for me is that you "Submit New" again. This time choose the Category: 34. tcltest package. The system will auto-assign the new report to me. In the report explain what's wrong with Tcl 8.4.6, and then attach your patch that fixes it. (Are you familiar with creating patches?) (Actually for that one, I can see the bug, and it is a good report. Thanks! But since it's simple, let's go through that one anyway.)
tauvanplain2004-04-02 23:20:45
Logged In: YES
user_id=1011552
So in that list only send to Category 34:
tcltest.test:
nonRoot to notRoot
changed because "nonRoot" not a defined constraint
if more complex:
test tcltest-8.3 {tcltest a.tcl -tmpdir notReadableDir} {unixOnly
notRoot} {
slave msg $a -tmpdir $notReadableDir
string match {*not readable*} $msg
} {1}
test tcltest-8.4 {tcltest a.tcl -tmpdir notWriteableDir} {unixOrPc
notRoot} {
slave msg $a -tmpdir $notWriteableDir
string match {*not writeable*} $msg
} {1}
test tcltest-8.12 {tcltest a.tcl -testdir notReadableDir} {unixOnly
notRoot} {
slave msg $a -testdir $notReadableDir
string match {*not readable*} $msg
} {1}
changed because "nonRoot" not a defined constraint
Next: No idea, not a clue, about patches
also what if the change spans several categories(poor example):
Shared: tclInt.decls
Threads: tclUnixPort.h
tclUnixThrd.c
and "Shared"
because of a common denominator:
(CONST time_t *) is the prototype definition
Thanks again!
dgpplain2004-04-02 23:31:23
Logged In: YES user_id=80530 A new report is what I had in mind. Let me show you... Take a look at the new bug report 928353: http://sf.net/tracker/index.php?func=detail&aid=928353&group_id=10894&atid=110894 If producing patches is not possible, then just the bug report should be enough to start. "Shared" is not a category, so just report such problems to the functional area that is a category.
tauvanplain2004-04-03 00:07:22
Logged In: YES user_id=1011552 GREAT! but... I still have no idea if patches are possible, and when I hit download patch it looks nothing like the code I sent you, nor easily plugged into my build.
dgpplain2004-04-03 00:29:18
Logged In: YES user_id=80530 Don't worry about the patches then. Let's just get these bug reports into the hands of the right maintainers. Let's try another one. I see below: tclCompile.h: removed #ifdef Please create a *new* bug report, put it in the Category: 46, Bytecode Compiler and in that report explain what's wrong with the file tclCompile.h .
dgpplain2004-04-07 21:03:11
Logged In: YES user_id=80530 these seem to be getting filed separately. Closing the jumbo report.
Log in (anonymous is fine) to add a comment.