From: Carlos Rica Date: Thu, 26 Jul 2007 19:42:24 GMT Subject: Re: [PATCH] Fix git_mkstemp to return an error when path is too long. Message-ID: <1b46aba20707261242j722ab827w6ff17ccbca47737d@mail.gmail.com> In-Reply-To: <7vabtjbxip.fsf@assigned-by-dhcp.cox.net> I like that new solution. ENAMETOOLONG is fantastic! Usually, the function is called using the long PATH_MAX constant, however, the function doesn't force you to supply an insanely long buffer like that, and therefore is nice to say when the limit is exceeded.