This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ftell() fails on files in shared folders
Corinna,
Thanks for your answer!
> Wrong style.
Yeah, I know but it worked this time and it's so handy to just use
good ol' DOS paths...
> ?$ ./a ./test.bin
> ?success
> ?$ ./a //this-machine/c\$/cygwin/home/corinna/test/bin
> ?success
> ?$ ./a //other-machine/c\$/cygwin/home/corinna/test/bin
> ?success
Note that you used "test/bin" instead of test.bin in last two examples
but this shouldn't make any difference provided that you have test
folder and no test/bin folder in your $HOME.
Interesing, I just did exactly same and it failed:
gribov.y@s-cw-head ~/build/upc/opt
$ ./a.exe //s-cw-head/c\$/test.bin # <- same node
success
gribov.y@s-cw-head ~/build/upc/opt
$ ./a.exe //s-cw-node01/c\$/test.bin # <- different node
ftell(p) == sizeof(data) failed at io.c:29
Let me see if I find something in Cygwin's BLODA list installed on
these machines.
--
Best regards,
Yuri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple