Thread View: gmane.comp.ai.prolog.swi
1 messages
1 total messages
Started by Jan Wielemaker
Thu, 18 Apr 2002 11:16
Re: minor bug in new feature (Windows UNC filenames)
Author: Jan Wielemaker
Date: Thu, 18 Apr 2002 11:16
Date: Thu, 18 Apr 2002 11:16
36 lines
1148 bytes
1148 bytes
Tolga, > > Provide support for UNC filenames (\\host\share\..., > > preferably written as //host/share/...). > > > ls does not work in shared folder; I think because exists_directory('.') > fails in a shared folder. You're right. It works everywhere, but not at //host/share itself. Now this call used to exploit MS POSIX layer with some work-arounds by me. I changed this now to use native Win32 GetFileAttributes(), but the result stays the same. All functions seem to fail on \\host\name as well as on '.' if the working directory is \\host\name!???? Anyone out there who knows how to find out attributes of the folder that represents the root of a share? I be transparent I must both be able to detect existence and write-access. Thanks --- Jan ---------------- * To UNSUBSCRIBE, please use the HTML form at http://www.swi.psy.uva.nl/projects/SWI-Prolog/index.html#mailinglist or send mail to prolog-request@swi.psy.uva.nl using the Subject: "unsubscribe" (without the quotes) and *no* message body. ** An ARCHIVE of this list is maintained at http://www.swi.psy.uva.nl/projects/SWI-Prolog/mailinglist/archive/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads