exceeding PATH_MAX

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Mar 28 17:04:00 GMT 2005

On Mon, Mar 28, 2005 at 04:19:08PM +0000, Eric Blake wrote:
>Christopher Faylor <cgf-no-personal-reply-please <at> cygwin.com> writes:
>> >2005-03-26  Eric Blake  <ebb9 <at> byu.net>
>> >
>> This is apparently fixing the symptom rather than the problem.  Cygwin
>> is supposed to be detecting if the name is too long before it gets to
>> the windows api.
>Well, cygwin did not detect it, as proved by this portion of the strace from 
>the test program I attached:

That would be "the symptom".

>I don't see any reason why this mapping should not be applied, even if you also 
>patch mkdir to error out early rather than calling CreateDirectory.

I've checked in the errno patch.



More information about the Cygwin-patches mailing list