[PATCH] mkdir.cc - mkdir_p() (was: Samba install problems)

Harold Hunt Harold@compasstechnologies.com
Mon Sep 11 20:27:00 GMT 2000


Samba 2.0.6+ seems to return ERROR_FILE_NOT_FOUND when a directory in the
path handed to CreateDirectory() is not found; earlier versions of Samba
seem to follow the Windows convention of returning ERROR_PATH_NOT_FOUND for
missing directories.

I sent the patch directly to DJ, and I believe he has reviewed it; this post
is merely an announcement to those that may have been following the Samba
installation problems thread.

Harold

-------------- next part --------------
Mon Sep 11 22:40 2000  Harold L Hunt II  <harold@compasstechnologies.com>

	* mkdir.cc(mkdir_p): Create directories when ERROR_FILE_NOT_FOUND is
	returned, as it seems Samba 2.0.6+ returns this instead of
	ERROR_PATH_NOT_FOUND

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkdir.cc.diff
Type: text/x-diff
Size: 716 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20000911/518f3488/attachment.bin>


More information about the Cygwin mailing list