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
|
|
| Robert Harris 2005-08-16, 5:05 pm |
| clusardi2k@aol.com wrote:
> Hello,
>
> My second call to fopen doesn't create the file if it has been
> deleted. I want to also use fopen for its pointer return value.
>
> What is the best way to fix this problem?
What is in errno (presuming that fopen has returned NULL)?
Robert
| |
| Ralf Fassel 2005-08-18, 4:03 am |
| * clusardi2k@aol.com
| Wow on me, what do you think?
Since you have not stated what the problem exactly is (fopen succeeds,
so what *is* the problem?), it is hard to tell whether anyone will
vote for 'wow'...
However, it sounds like the problem is specific to the fact that the
program runs on a Windows client with a Unix file server (Samba?), so
better ask in a Windows programming group or in the newsgroup for the
file server in question.
R'
|
|
|
|
|