From: SourceForge.net <no...@so...> - 2009-09-17 16:06:30
|
Bugs item #2857958, was opened at 2009-09-13 02:17 Message generated for change (Comment added) made by miesfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2857958&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: External Functions Group: v4.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: D.M.Wooster (dwooster) Assigned to: Nobody/Anonymous (nobody) Summary: date, time, size missing from SysFileTree results Initial Comment: SysFileTree is still documented as returning the date, time, filesize, flags, and filepath/name. This is the way it has always worked. Now, it never returns date, time, or filesize. ooRexx Version: 4.0.0 Platform: Linux: Debian 5.0.2a (Lenny) on x86 (32-bit) This is a new machine, which has never before had any Rexx on it. Just to be sure, I uninstalled and reinstalled it # dpkg -P ooRexx # dpkg -i ooRexx-4.0.0.i586.deb Still fails to provide dates, times, or filesizes. Attached, please find a demonstration program and its output. ---------------------------------------------------------------------- >Comment By: Mark Miesfeld (miesfeld) Date: 2009-09-17 09:06 Message: Your example program also seems to work fine for me on Kubuntu. I didn't look super sharp at the flags you are supplying, but a cursory checks shows the output to be what is expected. What is your default shell? I do have a pure Debian system I can check on. I only have a 64-bit version and I think it is at 5.0.0, but that should be close enough. miesfeld@Osprey:~/work.ooRexx/ooTest/temp.test.4.0.0$ rexx sftbug.rex | more 0 8/15/09 8:09p 3427 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/directory.structure.for.tests 8/15/09 8:09p 4692 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/testOORexx.rex 9/17/09 8:53a 85 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/getFiles.rex 8/15/09 8:09p 3477 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/setTestEnv.sh 8/15/09 8:09p 7414 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/ReadMe.first 8/15/09 8:09p 77348 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/ooTest.frm 8/15/09 8:09p 40020 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/worker.rex 9/17/09 9:01a 1175 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/sftbug.rex 8/15/09 8:09p 2397 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/setTestEnv.bat 8/15/09 8:09p 1550 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/Expected.Results 8/15/09 8:09p 8977 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/building.frm 8/15/09 8:09p 11626 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/CPLv1.0.txt 8/15/09 8:11p 0 -rw------- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/FILE 8/15/09 8:09p 4096 drwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/doc 8/15/09 8:09p 4096 drwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/ooRexx 8/15/09 8:09p 4096 drwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/misc 8/15/09 8:13p 4096 drwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/framework 8/15/09 8:09p 4096 drwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/bin 8/15/09 8:09p 4096 drwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/external 0 8/15/09 8:09p 3427 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/directory.structure.for.tests 8/15/09 8:09p 4692 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/testOORexx.rex 9/17/09 8:53a 85 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/getFiles.rex 8/15/09 8:09p 3477 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/setTestEnv.sh 8/15/09 8:09p 7414 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/ReadMe.first 8/15/09 8:09p 77348 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/ooTest.frm 8/15/09 8:09p 40020 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/worker.rex 9/17/09 9:01a 1175 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/sftbug.rex 8/15/09 8:09p 2397 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/setTestEnv.bat 8/15/09 8:09p 1550 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/Expected.Results 8/15/09 8:09p 8977 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/building.frm 8/15/09 8:09p 11626 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/CPLv1.0.txt 8/15/09 8:11p 0 -rw------- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/FILE 0 8/15/09 8:09p 4096 drwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/doc ---------------------------------------------------------------------- Comment By: Mark Miesfeld (miesfeld) Date: 2009-09-17 09:01 Message: This seems to work fine at least on Kubuntu 8.10 32-bit. I'm using the 4.0.0 release /* getFiles.rex */ j = SysFileTree('*.*', files., "FST") do i = 1 to files.0 say files.i end Output (some of it there are a lot of files): miesfeld@Osprey:~/work.ooRexx/ooTest/temp.test.4.0.0$ rexx getFiles.rex 09/08/15/20/09 3427 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/directory.structure.for.tests 09/08/15/20/09 4692 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/testOORexx.rex 09/09/17/08/53 85 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/getFiles.rex 09/08/15/20/09 3477 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/setTestEnv.sh 09/08/15/20/09 7414 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/ReadMe.first 09/08/15/20/09 77348 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/ooTest.frm 09/08/15/20/09 40020 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/worker.rex 09/08/15/20/09 2397 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/setTestEnv.bat 09/08/15/20/09 1550 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/Expected.Results 09/08/15/20/09 8977 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/building.frm 09/08/15/20/09 11626 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/CPLv1.0.txt 09/08/15/20/09 5116 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/doc/Release.notes 09/08/15/20/09 323731 -rw-r--r-- /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/doc/ooTestQuick.pdf 09/08/15/20/09 4679 -rwxr-xr-x /home/miesfeld/work.ooRexx/ooTest/temp.test.4.0.0/ooRexx/SimpleTests.testGroup Sorry, I didn't notice your example program, I'll try that. ---------------------------------------------------------------------- Comment By: Mark Miesfeld (miesfeld) Date: 2009-09-17 04:51 Message: Rick, I've been meaning to boot up a Debian system to look at this. Just kept putting it off. <grin> I'll test it today. ---------------------------------------------------------------------- Comment By: Rick McGuire (bigrixx) Date: 2009-09-17 04:48 Message: Mark, I don't have a Debian system to test on, but this is working ok on Fedora. I have a suspicion the problem might be a caused by the sprintf() function. The sprintf() call on line 1213 uses ldp-Temp as both the target buffer for the formatting and as one of the input arguments. I suspect that's causing this to fail. ---------------------------------------------------------------------- Comment By: Rick McGuire (bigrixx) Date: 2009-09-16 16:36 Message: I'm not sseing anything unexpected from this program. For all options that turn more than just the file name, the information is there. ---------------------------------------------------------------------- Comment By: D.M.Wooster (dwooster) Date: 2009-09-13 02:21 Message: Unfortunately, this latest SourceForge UI doesn't seem to have a way to attach more than one file to a bug report. Please email if you want sample output. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2857958&group_id=119701 |