Artifacts Associated With Ticket 736378ffffffffff
Ticket change [a0ed80e524] (rid 96892) by vbwagner on 2003-05-12 08:24:36:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
DJGPP requires special flag O_BINARY in order to not terminate reading of file upon encounder of EOF character (\x1F) There is no provision for this flag in tclUnixChan.c So, regardless of configuration option, -eofchar (which seems to not be handled by DJGPP port at all) file reading is termintated upon first \x1F character. It is possible however to seek after offending character and read rest of file. Tcl commands open/read and file copy are affected Following patch fixes this problem in quick and dirty way, adding O_BINARY to every open call in hope that upper levels of Tcl channel code would deal with eol issues. It seems that for proper filesystem handling DJGPP environment shouldn't be treated as "Yet another Unix", because most of DOS filesystem issues are rather Windows-like.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "vbwagner"
- subsystem initialized to: "95. contrib ports"
- title initialized to: "DJGPP tcl does'nt read binary files correctly"
- type initialized to: "Patch"
Add attachment "djgpp-binmode.patch.gz" [db5ac90fdf] (rid 107945) by vbwagner on 2003-05-12 15:24:40.
Ticket change [b6287ca8aa] (rid 125376) by vbwagner on 2003-05-12 15:24:41:
- icomment:
File Added - 50164: djgpp-binmode.patch.gz
- login: "vbwagner"
- mimetype: "text/plain"
- username: "vbwagner"
- icomment:
Ticket change [e779ce2ae9] (rid 104464) by dgp on 2003-11-13 05:29:50:
- assignee changed to: "davygrvy"
Ticket change [2482b46d81] (rid 131114) by vbwagner on 2003-11-13 16:54:08:
- icomment:
Logged In: YES user_id=757679 So, someone of Tcl team at least have taken care of DJGPP port? I guess that only critical thing which remains to be done to have djgpp tcl fully functional is exec family of functions. I have some ideas how to implement as much of tcl exec and open "|..." functionality as single-tasking OS permits, but haven't got time to do it.
- login: "vbwagner"
- mimetype: "text/plain"
- username: "vbwagner"
- icomment:
Ticket change [9628c3abce] (rid 106279) by davygrvy on 2003-11-19 06:11:06:
- closedate changed to: "2003-11-18T23:11:06"
- closer changed to: "davygrvy"
- icomment:
Logged In: YES user_id=7549 merged in.
- login: "davygrvy"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "davygrvy"