jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Problems with filenames on windows


John E. Davis wrote:
SANGOI DINO LEONARDO <SANGOID@xxxxxxxxxxxxxxxxx> wrote:
The problem is that the _stat() system function fails on share names, and
'find_file_hook()' in site.sl does a 'if (file_status(dir) != 2)
verror(...);'. file_status() uses _stat(), and fails on the share name.

Does this also mean that the slang stat_file function cannot cope with
network shares on windows?


When you have \\Server\Share\directory then

stat_file("\\\\Server");          % returns NULL
stat_file("\\\\Server\\Share");   % returns NULL
stat_file("\\\\Server\\Share\\directroy");   % returns Struct_Type with 12 fields

slsh version 0.7.3-0
S-Lang Library Version: 2.0.4

Marko

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]