For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > August 2005 > Re: fopen ("file on shared drive","w+") doesn't work on 2nd call









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: fopen ("file on shared drive","w+") doesn't work on 2nd call
clusardi2k@aol.com

2005-08-16, 5:05 pm

I talked to my system person and he said something "like" this. That it
is a caching problem. Windows has the file in cache memory.
All references to it affect the cached file. You can do fopens (NULL
not returned, and errno not set), reads, and writes, but they do not
affect the file in question on the shared drive.

He went on to say that I have to use "creat" and change all read/writes
appropriately.

Christopher Lusardi

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com