Comment 7 for bug 471568

Revision history for this message
ski (skibrianski) wrote :

I'm guessing the problem is that nano is confused as to whether you have a filename there or not.

When you launch data, the data structure containing the output filename is not yet initialized, but after you input the filename, nano stats file and sees that it is there (prompting you to overwrite).

My bet is that what happens next is that nano goto's a place where it has assumed the filename is non-NULL and tries to strcat NUL and ~ .

Hopefully I'll have a chance to investigate this further and upload a patch soon.