Re: Problems seeing/mounting partitions from ssh

2019-07-19 Thread Achim Gratz
Henry S. Thompson writes: > Achim Gratz writes: > >> Henry S. Thompson writes: >>> But if I come in to this machine via ssh (public key or password), the >>> virtual partitions are lost: >> >> That's how Windows is designed. If you have no desktop session, then >> none of the associated setups are

Piping input from subprocess loses track of temp file

2019-07-19 Thread David Karr
I believe the relevant part of my cygwin version info is "3.0.7(0.338/5/3)" (from uname -a output). I'm working on a script where one step executes a process where the input is taking from a subprocess, like this: someprocess <(cat $outfile | sed -e "s/${property}[ ]*=.*$/${property}=${newVal

Re: Fixes for gcc-8.3 broke compilation with gcc-7.4

2019-07-19 Thread Ken Brown
On 7/19/2019 1:11 PM, Hans-Bernhard Bröker wrote: > Hello one and all, > > As of commit b66dddb56d14a4032969fe8bb92d64baa6e0362e, > winsup/cygwin/uname.cc no longer compiles with the current GCC version > installed with cygwin itself. The newly added __attribute__ is unknown > to GCC 7, and thus

Fixes for gcc-8.3 broke compilation with gcc-7.4

2019-07-19 Thread Hans-Bernhard Bröker
Hello one and all, As of commit b66dddb56d14a4032969fe8bb92d64baa6e0362e, winsup/cygwin/uname.cc no longer compiles with the current GCC version installed with cygwin itself. The newly added __attribute__ is unknown to GCC 7, and thus triggers a -Werror for unused/unknown attributes: $ LANG=C ma

Re: Function call difference between cygwin and Windows

2019-07-19 Thread Václav Haisman
On Fri, 19 Jul 2019 at 10:23, Biswapriyo Nath wrote: > > If a function calls both cygwin and Windows functions the binary creates > extra subroutine (in assembly) for cygwin ones. Example: > > * Windows function: > >call cs:CreatePipe > > * cygwin function: > >call ioctl > >ioctl proc n

Function call difference between cygwin and Windows

2019-07-19 Thread Biswapriyo Nath
If a function calls both cygwin and Windows functions the binary creates extra subroutine (in assembly) for cygwin ones. Example: * Windows function: call cs:CreatePipe * cygwin function: call ioctl ioctl proc near jmp cs:__imp_ioctl endp The binary is statically compiled. Why

Re: Problems seeing/mounting partitions from ssh

2019-07-19 Thread Henry S. Thompson
Erik Soderquist writes: > On Thu, Jul 18, 2019 at 5:29 PM Erik Soderquist wrote: >> You may be able to work around this by adding the subst command to >> your .profile, but should not expect subst commands from one user >> session to be visible in another user session. > > I just tested, and yes,