Artifacts Associated With Ticket 563122ffffffffff
Ticket change [ce2370de47] (rid 96009) by jcw on 2002-05-31 22:48:46:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
There are build problems, all seem to be related to the change to 64-bit files - with logic to generate an overflow. The problem is that EOVERFLOW is not defined on BSD/OS. I worked around it by copying logic from generic/tclIOUtil.c ... see atached patch. This lets Tcl build, presumably as intended.
- foundin initialized to: "obsolete: 8.4a5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jcw"
- subsystem initialized to: "37. File System"
- title initialized to: "EOVERFLOW not defined on BSD/OS"
- type initialized to: "Bug"
Ticket change [c0e3e6d28c] (rid 102494) by jcw on 2002-06-01 05:48:46:
- icomment:
File Added - 24169: diff
- login: "jcw"
- mimetype: "text/plain"
- username: "jcw"
- icomment:
Add attachment "diff" [3a693fb83e] (rid 112560) by jcw on 2002-06-01 05:48:46.
Ticket change [0851fb82c5] (rid 89544) by jcw on 2002-06-01 05:53:06:
- icomment:
Logged In: YES user_id=1983 Forgot to attach a sample of the compile errors I got. Btw, this is probably an issue for DKF, not Vincent... gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int -export-dynamic -fPIC -I../ ../../src/tcl/unix/../generic -I../../../src/tcl/unix -DHAVE_UNISTD_H=1 -DHAVE_L IMITS_H=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE _STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DH AVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DH AVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_S T_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DSTATIC_BUIL D=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\" .. /../../src/tcl/unix/../generic/tclIO.c ../../../src/tcl/unix/../generic/tclIO.c: In function `Tcl_Seek': ../../../src/tcl/unix/../generic/tclIO.c:5456: `EOVERFLOW' undeclared (first use in this function) ../../../src/tcl/unix/../generic/tclIO.c:5456: (Each undeclared identifier is re ported only once ../../../src/tcl/unix/../generic/tclIO.c:5456: for each function it appears in.) gmake: *** [tclIO.o] Error 1
- login: "jcw"
- mimetype: "text/plain"
- username: "jcw"
- icomment:
Ticket change [5e03c11e44] (rid 115567) by davygrvy on 2002-06-05 05:13:07:
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=7549 reassigning to donal. The diff is unreadable for me. It doesn't have any newlines. Jean-Claude, could resend it with a .txt extension so it can get tagged a MIME type?
- login: "davygrvy"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "davygrvy"
Ticket change [b7bd21efef] (rid 128851) by dkf on 2002-06-05 15:18:09:
- icomment:
Logged In: YES user_id=79902 I've already worked out how to fix this; the appropriate code (of no EOVERFLOW, try EFBIG, and if no EFBIG, try EINVAL as a sort of generic error because I've no idea what error code to use in that case anyway) is already written in the Windows portability header. I'll copy it across soon unless I can decode the patch and it contains a better solution...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Add attachment "patch.txt" [d1ce54ee15] (rid 113418) by davygrvy on 2002-06-05 17:06:23.
Ticket change [f530b3336f] (rid 130064) by davygrvy on 2002-06-05 17:06:23:
- icomment:
File Added - 24428: patch.txt Logged In: YES user_id=7549 As per your instructions and JCW's patch run through an <EOL> fixer (\r made to \n) and used for reference, I present this patch.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [faaf18bdac] (rid 91920) by dkf on 2002-06-06 20:26:25:
- icomment:
Logged In: YES user_id=79902 I do not like the way it is done in the patch; better to define EOVERFLOW for ourselves (if not previously defined) in tclUnixPort.h
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [3af816d377] (rid 112650) by dkf on 2002-06-07 15:51:24:
- closedate changed to: "2002-06-07T08:51:24"
- closer changed to: "dkf"
- resolution changed to: "Fixed"
- status changed to: "Closed"