misterious GIT failure (SOLVED)

David Dyck david.dyck@gmail.com
Sun Jan 17 22:24:36 GMT 2021


On Sun, Jan 17, 2021 at 1:08 PM matthew patton via Cygwin <cygwin@cygwin.com>
wrote:

> I haven't run into a scenario yet where 'readlink' doesn't work. ....
>

Here's a unrelated example where symbolic links don't work the same as on
unix/linux ( not sure this is a readlink issue )

When I try to write through /proc to to a processes stdout I get errors
e.g.
$ ls -l /proc/1708/fd/1
lrwxrwxrwx 1 DavidD Domain Users 0 Jan 17 14:20 /proc/1708/fd/1 -> /dev/pty2

$ printf "\033]0;foo\7" > /proc/1708/fd/1
-bash: printf: write error: Bad file descriptor

but
$ printf "\033]0;foo\7" > /dev/pty2

works

I'm not sure if this is a readlink issue or just a bug in the cygwin
implementation of /proc :-)


More information about the Cygwin mailing list