Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-11-20
16:20 • Closed ticket [222643ffff]: string.test 4.11 and 4.13 fail on HP-UX 11.00 with g... artifact: e46592bc7f user: hobbs
2001-10-18
06:24 • Ticket [222643ffff]: 4 changes artifact: 88fc2822b7 user: hobbs
2001-10-15
15:09 • Ticket [222643ffff]: 4 changes artifact: 7645944bff user: dkf
2001-10-13
05:09 • Ticket [222643ffff]: 5 changes artifact: ee06a521a4 user: hobbs
03:06 • Ticket [222643ffff]: 1 change artifact: f37327ba31 user: hobbs
2001-02-07
22:23 • Ticket [222643ffff]: 1 change artifact: b24ee22cb6 user: dkf
2000-11-16
23:53 • New ticket [222643ffff]. artifact: c070e90ae5 user: okamotoj

string.test 4.11 and 4.13 fail on HP-UX 11.00 with gcc

Closed / Fixed222643ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-11-16 23:53:59
Here's the relevant output.  This is on an HP-UX 11.00 system compiled with gcc 2.9 (modified).

string.test

==== string-4.11 string first, start index FAILED
==== Contents of test case:

    string first \u7266 abc\u7266x 3

---- Result was:
-1
---- Result should have been:
3
==== string-4.11 FAILED


==== string-4.13 string first, start index FAILED
==== Contents of test case:

    string first \u7266 abc\u7266x end-2

---- Result was:
-1
---- Result should have been:
3
==== string-4.13 FAILED
dkf Ticket [222643ffff]: 1 change [History diff]2001-02-07 22:23:03
hobbs Ticket [222643ffff]: 1 change [History diff]2001-10-13 03:06:12
hobbsplain2001-10-13 05:09:48
Logged In: YES 
user_id=72656

confirmed with 8.3.3 using the native compiler, but this is 
not a problem in 8.4cvs, which means we need to see what 
the differences between the two are.
dkfplain2001-10-15 15:09:49
Logged In: YES 
user_id=79902

I was looking at this last week when backporting features in
tclCmdMZ.c, and the problem is that the fix between 8.3* and
8.4* depends on the introduction of a new public function,
IIRC it was Tcl_GetUnicodeFromObj.

No idea why \u7266 is causing trouble though - its UTF-8 rep
is "e7 89 a6", none of which rings any alarm bells...
hobbsplain2001-10-18 06:24:46
Logged In: YES 
user_id=72656

Somebody must have fiddled something, because I am just 
testing the 8.3.4 final release on HP-11 using the native 
compiler, and it passes all tests (threaded and non-
threaded).
hobbsplain2001-11-20 16:20:54
Logged In: YES 
user_id=72656

this is fixed with the code in HEAD (8.4a4), so I'm marking 
this closed.
Log in (anonymous is fine) to add a comment.