I see that you substitute your own text for he error. You may wish to use the text that comes with the error code; especially if it's EEXIST (or kXR_ItExists). That message differentiates between files and directories.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1