Artifacts Associated With Ticket 466016ffffffffff
Ticket change [7a10828d38] (rid 90244) by lthuresson on 2001-09-28 11:48:22:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The port was done on OS/390 V2R9 using IBM c89 C/C++ compiler. The hole source is compiled with c89 compiler options -Wc,conv(iso8859-1) (=use iso8859-1 for character and string literals) and -D__LIBASCII (=use ASCII version of C-library functions, but not all library functions have ASCII versions, see compat/os390Libascii.c) to be able to take advantage of the use of utf-8 encoding in Tcl internals. The default system-encoding is set to ibm-1047 (normally iso8859-1) and thus conversion to EBCDIC is done automatically when data is transferred to/from the external environment. I had to add built in support for ibm-1047 and iso8859-1 see comment in generic/encoding.c. The c library uses iso8859-1 encoding but system encoding is set to ibm-1047 this breakes many argument conversions for c-lib calls. These conversions previously used a NULL encoding token to get the system encoding. I replaced this with a macro that on OS390 returns a iso8859-1 encoding token and a NULL token on all other platforms. The configure script generated by autoconf contains a line DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` The ASCII linefeed code \012 must be hand edited to corresponding EBCDIC code \025. What I understand from discussions in various news groups, changing to \n is not portable to all implementations of tr. The present configure script only support static linking. I did some experiments with dynamic linking, but very few functions worked in that version. The http package have been modified to explicitly set iso8859-1 encoding for the connection. This takes care of the necessary ASCII<->EBCDIC conversion in most cases. However if the -channel option is used for ::http::geturl, data is copied with the fcopy command and no encoding conversion is done. If EBCDIC encoded data is wanted it must be converted by the application. The http test have been modified to handle this. The http test crash occasionally when the my os390 machine is under heavy load ! Many io-tests assume ASCII encoding. I have modified a few tests to work in both ASCII and EBCDIC environment, but quite a few remains to be fixed. /Leif
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lthuresson"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "OS/390 support for Tcl-8.3.3"
- type initialized to: "Patch"
Add attachment "tcl8.3.3_os390_patch.tgz" [8aa3bf5538] (rid 127424) by lthuresson on 2001-09-28 18:48:23.
Ticket change [f377a42b0f] (rid 129725) by lthuresson on 2001-09-28 18:48:23:
- icomment:
File Added - 11328: tcl8.3.3_os390_patch.tgz
- login: "lthuresson"
- mimetype: "text/plain"
- username: "lthuresson"
- icomment:
Ticket change [e083cbae69] (rid 115207) by hobbs on 2001-10-06 11:30:18:
- icomment:
Logged In: YES user_id=72656 these should be analyzed to verify that they are simple and clean, and applied before 8.3.4 goes out (soon).
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "hobbs"
- icomment:
Ticket change [c384033e8d] (rid 111674) by hobbs on 2001-10-17 06:11:13:
- icomment:
Logged In: YES user_id=72656 These are quite sweeping patches, so they won't make 8.3.4. It is better to focus applying these to 8.4 (where most new development is focused).
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "5 Medium"
- username: "hobbs"
- icomment:
Ticket change [00f5381d29] (rid 119398) by hobbs on 2008-03-13 03:00:30:
- closedate changed to: "2008-03-12T20:00:30"
- closer changed to: "hobbs"
- status changed to: "Pending"
Ticket change [b892e1e3fa] (rid 128986) by sf-robot on 2008-03-27 09:20:36:
- closedate changed to: "2008-03-27T02:20:36"
- closer changed to: "sf-robot"
- icomment:
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"