path_conv::check() gets confused by recently opened files

Jason Tishler
Fri May 24 05:03:00 GMT 2002


On Thu, May 23, 2002 at 06:25:56PM -0400, Christopher Faylor wrote:
> Oddly enough, the core dumps were coming from small_vsprintf by way
> of fchmod.  Even more oddly, fchmod was using a '%o' format which
> was, for some reason not implemented in small_vsprintf.

I saw the core dumps too when I was strace-ing.  Since they "went away"
when debugging in gdb, I forgot about this problem.  I'm glad that you
caught and fixed this one too.

> I did check in another fix for the above problem which seemed almost too
> simple.  Please check it out and see if I've broken anything else.

I have verified that scp and my test case work properly.  I will keep a
look out for any regressions.

> I hate making changes in the path_conv stuff.

The above makes me feel better about punting on this one.

Thanks for the fix!


More information about the Cygwin-developers mailing list