On 21 Feb 2004 at 13:27, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
On 20 Feb 2004 at 10:50, Peter Norton wrote:
Hi,
I use FSplit, FindFirst, FindNext procedures from the Dos unit in program I'm trying to port for Linux. This procedures cut off the long filenames to 8 characters (DOS standard)
This is news to me. Does the Dos unit really do this?
It may do if you set `__BP_TYPE_SIZES__'. I'm not sure (though I wrote the routines ;-) since I've never really used them.
[...]
Well, the relevant parts of my "sysutils" unit (http://gnu- pascal.de/contrib/chief/sysutils/sysutils-20040203.zip) are based on Dos unit routines, and they do not truncate filenames under Linux. I have not tried the "__BP_TYPE_SIZES__" stuff, but I would suppose that if it was defined then long (i.e., >12 chars) filenames would be truncated (in a way that they would not really represent the actualy filename).
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/