error string substituted for %E in filename

Steve Morris
Mon May 31 21:10:00 GMT 1999

Why does this program create a file named ".new.error 2D.1".  That
surely wasn't my intention and is croaking cvs client when checking
out a file called "%ED.1". Obviously something thinks "%E" should be
expanded to the current error string but in the open command? Not what
I would have expected.

Do I have to quote % to work around this?

config: cygwin 20.1, NT 4.

#include "sys/types.h"
#include "sys/stat.h"
#include "fcntl.h"

main ()
  int fd;
  fd = open (".new.%ED.1",

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list