On 06/01/2011 06:26 PM, Enrico Forestieri wrote: > On Wed, Jun 01, 2011 at 01:03:43PM -0400, Richard Heck wrote: > >> On 05/31/2011 09:31 PM, Enrico Forestieri wrote: >>> On Tue, May 31, 2011 at 02:23:28PM +0200, Michal wrote: >>> >>>> From http://msdn.microsoft.com/en-us/library/aa364989%28v=vs.85%29.aspx >>>> "The short form can be longer than the specified path." >>>> >>>> (so using len(longname)+1 as the length of the output buffer could >>>> end badly) >>> I assume that this may happen if the "long" name stem has less then 8 chars. >>> Indeed: >>> >>> $ cygpath -d 'a b.tex' >>> AB2E6D~1.TEX >>> >>> This can be easily taken into account. >>> >> If this has been sorted out to your satisfaction, please feel free to >> commit to branch. > Done at r38921. > Thanks.
rh