Re: /dev/fd/N not synonymous with file descriptor N; it is on Linux

2018-12-16 Thread Houder
On 2018-12-16 22:55, Corinna Vinschen wrote: [snip] I'm mulling over adding some hack to open(). It could try to recognize the special case of opening a processes' own descriptor symlink within /proc and then warp the open() call into dup(). No idea how tricky or even feasible that is, though.

Re: /dev/fd/N not synonymous with file descriptor N; it is on Linux

2018-12-16 Thread Houder
On 2018-12-16 21:28, Corinna Vinschen wrote: On Dec 16 17:31, Houder wrote: L.S., /dev/fd/N not synonymous with file descriptor N; it is on Linux Yes, it is. Most of the time. Try this: $ echo foo | cat /dev/fd/0 The problem is that some of the concepts don't work as desired: 64-@@ cat

Re: /dev/fd/N not synonymous with file descriptor N; it is on Linux

2018-12-16 Thread Corinna Vinschen
On Dec 16 13:36, Wayne Davison wrote: > On Sun, Dec 16, 2018 at 12:29 PM Corinna Vinschen wrote: > > In contrast to Linux the symlinks are not just faked symlinks with the > > underlying OS having direct access to the file descriptors. > > Yeah, Linux is more like a fuse where the open filehandle

Re: /dev/fd/N not synonymous with file descriptor N; it is on Linux

2018-12-16 Thread Wayne Davison
On Sun, Dec 16, 2018 at 12:29 PM Corinna Vinschen wrote: > In contrast to Linux the symlinks are not just faked symlinks with the > underlying OS having direct access to the file descriptors. Yeah, Linux is more like a fuse where the open filehandles are used directly on open, and the stat calls

Re: setup 2.895 release candidate - please test

2018-12-16 Thread Wayne Davison
On Sun, Dec 16, 2018 at 6:52 AM Jon Turney wrote: > I was hoping to look at improving the 'skip' -> 'install current > version' flow (which used to be a single click, but now requires you to > pick the latest non-test version) That's a nice idea for a future change. I'd suggest making it where you

Re: /dev/fd/N not synonymous with file descriptor N; it is on Linux

2018-12-16 Thread Corinna Vinschen
On Dec 16 21:28, Corinna Vinschen wrote: > On Dec 16 17:31, Houder wrote: > > L.S., > > > > /dev/fd/N not synonymous with file descriptor N; it is on Linux > > Yes, it is. Most of the time. Try this: > > $ echo foo | cat /dev/fd/0 > > The problem is that some of the concepts don't work as des

Re: /dev/fd/N not synonymous with file descriptor N; it is on Linux

2018-12-16 Thread Corinna Vinschen
On Dec 16 17:31, Houder wrote: > L.S., > > /dev/fd/N not synonymous with file descriptor N; it is on Linux Yes, it is. Most of the time. Try this: $ echo foo | cat /dev/fd/0 The problem is that some of the concepts don't work as desired: > 64-@@ cat /dev/fd/0 <<\EOF If you observe what happ

/dev/fd/N not synonymous with file descriptor N; it is on Linux

2018-12-16 Thread Houder
L.S., /dev/fd/N not synonymous with file descriptor N; it is on Linux 64-@@ cat /dev/fd/0 <<\EOF Hi EOF cat: /dev/fd/0: No such file or directory fails on Cygwin; not on Linux. Also see: https://cygwin.com/ml/cygwin/2018-12/msg00028.html ( Bash heredoc on FD 3 ) Based on the output

[ANNOUNCEMENT] Updated: setup (2.895)

2018-12-16 Thread Jon Turney
A new version of Setup (2.895) has been uploaded to: https://cygwin.com/setup-x86.exe (32 bit version) https://cygwin.com/setup-x86_64.exe (64 bit version) Changes compared to 2.893: - Drag setup into the 1990s, by replacing the custom-drawn package chooser with a ListView common co

Re: setup 2.895 release candidate - please test

2018-12-16 Thread Jon Turney
On 06/12/2018 09:12, Marco Atzeri wrote: Am 21.10.2018 um 18:12 schrieb Jon Turney: A new setup release candidate is available at:    https://cygwin.com/setup/setup-2.895.x86_64.exe (64 bit version)    https://cygwin.com/setup/setup-2.895.x86.exe    (32 bit version) Please test and report any

[ANNOUNCEMENT] Updated: leptonica-1.77.0-1

2018-12-16 Thread Marco Atzeri
Version 1.77.0-1 of packages leptonica libleptonica-devel libleptonica_5 are available in the Cygwin distribution: CHANGES Latest upstrame release http://www.leptonica.org/source/version-notes.html DESCRIPTION Leptonica is a pedagogically-oriented open source site containing softwar

[ANNOUNCEMENT] Updated: hwloc 2.0.3-1

2018-12-16 Thread Marco Atzeri
Version 2.0.3-1 of packages hwloc libhwloc-devel libhwloc15 (API BUMP) are available in the Cygwin distribution: CHANGES Last upstream release. First cygwin package for 2.0.x series. Full upstream changes: https://www.mail-archive.com/hwloc-announce@lists.open-mpi.org/msg00120.html DE