[OCLUG-devel] fopen doesn't like my path

Doug Jolley ddjolley at gmail.com
Sun Nov 20 20:29:53 PST 2005


Hi, Michael. Thanks for responding. I got it figured out. It turns out
(apparently) that when one extracts a token from a string using strtok a
newline character is appended to the token. It was the trailing newline
character in the path token that fopen didn't like (as it shouldn't). Once I
chopped it off everything worked just fine. It did have me going for quite a
while though.

Thanks again for the response.

... doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://localhost.localdomain/pipermail/oclug-devel/attachments/20051120/bf1f5e7d/attachment.html 


More information about the OCLUG-devel mailing list