Artifacts Associated With Ticket 1537059fffffffffffffffffffffffffffffffff
Ticket change [35240a6a57] (rid 106870) by skipaugur on 2006-08-08 23:30:38:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Following is a copy of my comp.lang.tcl thread - Don Porter suggested submitting a bug report here.: Odd glob result with Tcl 8.4.13 and HP-UX 11.0 I've been trying to compile tcl8.4.13 using gcc 3.2.3 on one of our HP-UX boxes. I had to tweak the LIBS in the makefile because they were looking for an "xnet" library which isn't on our machine (at least, that I can find) and configure wants it there for HP-UX. My configure line options were: disable-64bit enable-gcc disable-load disable-shared (I've been playing with several options trying to figure this out). The problem is that now "glob" seems to be losing characters from filenames. For example, From the "unix" directory where I did the make, here's the output of glob followed by the output of ll. I'm hoping I just did something stupid in the make process: (wba-test) ca:/home/wba/xact/release/tcl8.4/unix (454)$ tclsh % info tclver 8.4 % glob * Ì ¨ ¸ {} Œ l.m4 ure ure.in stall-sh stallManPage {} kefile.in {} l.m4 ec Init.c lConfig.sh.in {} {} t.c dDl.c lLoadDld.c {} {} {} dShl.c {} {} nt.c xFCmd.c lUnixFile.c {} {} {} e.c xPort.h lUnixSock.c HtclUnixTest. {} {} d.h xTime.c lXtNotify.c {} {} config.log {} Àconfig.statu {} {} {} st.s2 ,ôì {} {} t fig.sh gerror.o lAlloc.o lAsync.o lBasic.o lBinary.o {} {} {} {} {} {} {} r.o pile.o lDate.o lEncoding.o {\tclEnv.oo} {} {} {} {} eName.o lGet.oo lHash.o lHistory.o ÈtclIndexObj. {} {} {} {} {} o til.o lLink.o lListObj.o {} {} {} {} {} o ic.o se.o seExpr.o lPipe.oo lPkg.oo ,,´ { } ¤èŒ ü ixStr.o lPreserve.o {} {} {} {} o n.o ingObj.o lThread.o {} {} oin.o lStubInit.o {} {} {} {} {} {} {} nt.o ÌtclUnixFCmd. {} {} e.o xSock.o lUnixTime.o {} {} {} fy.o r.oo l.o ll.o d.o l.o secmp.o lLoadNone.o |libtclstub8. {} a Init.o {} Init.o nfig.cache {} 3 % ll total 7826 -rw-rw-r-- 1 wba x 51568 Aug 7 15:42 Makefile -rwxr--r-- 1 wba x 50848 Aug 7 14:07 Makefile.in -rwxr--r-- 1 wba x 7377 Aug 7 14:07 README -rwxr--r-- 1 wba x 24 Aug 7 14:07 aclocal.m4 -rw-rw-r-- 1 wba x 5121 Aug 7 13:36 config.cache -rw-rw-r-- 1 wba x 4769 Aug 7 14:08 config.log -rwxrwxr-x 1 wba x 8520 Aug 7 14:08 config.status -rwxr--r-- 1 wba x 236300 Aug 7 14:07 configure -rwxr--r-- 1 wba x 24623 Aug 7 14:07 configure.in drwxr-xr-x 2 wba x 1024 Aug 7 14:08 dltest -rwxr--r-- 1 wba x 2255 Aug 7 14:07 install-sh -rwxr--r-- 1 wba x 1568 Aug 7 14:07 installManPage -rwxr--r-- 1 wba x 2856 Aug 7 14:07 ldAix -rw-rw-r-- 1 wba x 1050134 Aug 7 14:45 libtcl8.4.a -rw-rw-r-- 1 wba x 17070 Aug 7 14:45 libtclstub8.4.a -rw-rw-r-- 1 wba x 624 Aug 7 14:44 memcmp.o -rw-rw-r-- 1 wba x 1376 Aug 7 14:44 opendir.o -rw-rw-r-- 1 wba x 58115 Aug 7 14:37 regcomp.o -rw-rw-r-- 1 wba x 3673 Aug 7 14:38 regerror.o -rw-rw-r-- 1 wba x 12110 Aug 7 14:37 regexec.o -rw-rw-r-- 1 wba x 650 Aug 7 14:38 regfree.o -rw-rw-r-- 1 wba x 1081 Aug 7 14:45 strncasecmp.o -rw-rw-r-- 1 wba x 688 Aug 7 14:44 strstr.o -rw-rw-r-- 1 wba x 2009 Aug 7 14:45 strtod.o -rw-rw-r-- 1 wba x 952 Aug 7 <cut more valid filenames> ... read more » Reply From:Don Porter - view profile Date:Mon, Aug 7 2006 7:12 pm [email protected] wrote: > The problem is that now "glob" seems to be losing characters from > filenames. For example, From the "unix" directory where I did the make, > here's the output of glob followed by the output of ll. I'm hoping I > just did something stupid in the make process: Just to cut down on the number of avenues to explore, try repeating your tests with an interactive prompt produced by `make shell`. -- | Don Porter Mathematical and Computational Sciences Division | | [email protected] Information Technology Laboratory | | http://math.nist.gov/~DPorter/ NIST | |______________________________________________________________________| Reply From:[email protected] - view profile Date:Tues, Aug 8 2006 10:33 am Email: [email protected] Groups: comp.lang.tcl Not yet rated Rating: show options Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author Thanks Don, The results are (looks different but still quite odd): ./tclsh % glob * ä ¨ Ð {} Œ l.m4 ure ure.in stall-sh stallManPage {} kefile.in {} l.m4 ec Init.c lConfig.sh.in {} {} t.c dDl.c lLoadDld.c {} {} {} dShl.c {} {} nt.c xFCmd.c lUnixFile.c {} {} {} e.c xPort.h lUnixSock.c HtclUnixTest. {} {} d.h xTime.c lXtNotify.c {} {} config.log {} Àconfig.statu {} {} {} st.s2 È {} {} ˆ fig.sh gfree.oo gerror.o lAlloc.o lAsync.o lBasic.o lBinary.oloc {} {} {} {} {} {} {} r.oe pile.oo lDate.on lEncoding.o ptclEnv.o.o {} {} {} d.om eName.o lGet.oo lHash.oy lHistory.oOb ÜtclIndexObj. {} {} {} {} {} oil. til.o.o lLink.oj lListObj.oal {} {} {} {} {} oo ic.o se.o seExpr.o lPipe.o ˜È 4 ¸x ixStr.ov lPreserve.o {} {} {} {} o.o n.oO ingObj.o lThread.oadA {} {} oin.oIni lStubInit.ob {} {} {} {} {} {} {} lUnixEvent.o àtclUnixFCmd. {} {} e.oc xSock.om lUnixTime.oi tclUnixInit. {} {} fy.o r.o l.oo ll.o d.o l.o secmp.on lLoadNone.ob libtclstub8. {} anit.o {} 13it.o nfig.cache {} tProcBodyObj.o o xTest.o ltest - Hide quoted text - - Show quoted text - Don Porter wrote: > [email protected] wrote: > > The problem is that now "glob" seems to be losing characters from > > filenames. For example, From the "unix" directory where I did the make, > > here's the output of glob followed by the output of ll. I'm hoping I > > just did something stupid in the make process: > Just to cut down on the number of avenues to explore, try repeating > your tests with an interactive prompt produced by `make shell`. > -- > | Don Porter Mathematical and Computational Sciences Division | > | [email protected] Information Technology Laboratory | > | http://math.nist.gov/~DPorter/ NIST | > |______________________________________________________________________| Reply From:Don Porter - view profile Date:Tues, Aug 8 2006 10:41 am Email: Don Porter <[email protected]> Groups: comp.lang.tcl [email protected] wrote: > ./tclsh > % glob * > ä ¨ Ð {} Œ l.m4 ure ure.in stall-sh stallManPage {} kefile.in {}... very strange. As a guess, try starting over completely with a `make distclean`. If the symptom still shows up after that, file a bug report in the SourceForge Tracker for Tcl. -- - foundin initialized to: "obsolete: 8.4.13"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "skipaugur"
- subsystem initialized to: "37. File System"
- title initialized to: "HP-UX 11.00 - glob returns incorrect file names"
- type initialized to: "Bug"
Ticket change [57d8df27f0] (rid 117700) by dkf on 2006-08-09 15:44:57:
- icomment:
Logged In: YES user_id=79902 At a first guess (and I've no access to any HPUX system to test anything) the header file containing the definition of the dirent structure is of a different version than that which the system's library/kernel is using inside the guts of readdir(). This is VERY BAD, but not something I've got the slightest idea about how to fix either. :-\
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [fe55cd852a] (rid 108566) by skipaugur on 2006-08-10 03:44:08:
- icomment:
Logged In: YES user_id=821619 I played with unix/configure a bit, and disabled the HP-UX-11 specific code by changing line 2827 from: HP-UX-*.11.*) To: HP-UX-*.12.*) which is obviously not right as a general fix. But, glob works now. So maybe that section of configure should see if the _OPEN_SOURCE stuff and xnet are available before just blindly doing whatever it's doing? Sorry it's getting a bit beyond my expertise... but maybe that only is valid for some (later?) versions of HP-UX, or is an optional component? - login: "skipaugur"
- mimetype: "text/plain"
- username: "skipaugur"
- icomment:
Ticket change [f24fb4c356] (rid 109515) by hobbs on 2007-02-09 08:05:56:
- closedate changed to: "2007-02-09T01:05:56"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Originator: NO I have no problems on HP-UX 11 pa-risc using gcc 3.3.2 (you had 3.2.3) with the head of 8.4 branch.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Pending"
- username: "hobbs"
Ticket change [90141cb210] (rid 120381) by sf-robot on 2007-02-23 10:20:10:
- closedate changed to: "2007-02-23T03:20:10"
- 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"