Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.

2018-06-15 Thread Takashi Yano
Hi Corinna, On Sat, 16 Jun 2018 09:49:01 +0900 Takashi Yano wrote: > > To resolve this problem, I would like to propose a patch attached. > > I tested the patch for above 8 scenarios, and succeeded for all. > > Could you please have a look? I have noticed that the username returned by id command

Re: Problem loading dynamic libraries - file not found

2018-06-15 Thread Brian Inglis
On 2018-06-15 16:50, Roberto Ribeiro wrote: > recently I've been running a lot into an error while trying to load dlls > compiled by cygwin: "ERROR: could not load library (...): No such file or > directory". > The library in question is always there, however, and *appears* to have been > correct

Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.

2018-06-15 Thread Takashi Yano
Hi Corinna, On Fri, 15 Jun 2018 15:34:15 +0200 Corinna Vinschen wrote: > > In this case, LOGONSERVER is NOT set in my environment. > > Are you sure of the above result? > Yes, I had all results before me when I wrote the mail. This was on W10 > Enterprise. My environments are Windows 7 Professio

Re: Unexpected behavior of ~ when calling bash from a different cygwin installation

2018-06-15 Thread Andrey Repin
Greetings, Soegtrop, Michael! > I got it, I just have to clear the HOME variable before. > But I have a few more observations on this: > the FAQ (section 4.20) state that the root path for the mount table depends > on the path of the cygwin1.dll, to which an executable is linked. "Linked" in th

Problem loading dynamic libraries - file not found

2018-06-15 Thread Roberto Ribeiro
Hello list, recently I've been running a lot into an error while trying to load dlls compiled by cygwin: "ERROR: could not load library (...): No such file or directory". The library in question is always there, however, and *appears* to have been correctly built (ldd and cygcheck both return the

Re: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread Brian Inglis
On 2018-06-15 09:11, Soegtrop, Michael wrote: > what has been changed in sed and awk is handling of carriage returns. The sed > and awk of older Cygwin version strip \r from the input. Newer versions > behave like the same tools on Linux and don't strip CR. This is documented > in the release note

Re: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread cyg Simple
On 6/15/2018 11:11 AM, Soegtrop, Michael wrote: > Dear Tuyanyi, > > what has been changed in sed and awk is handling of carriage returns. The sed > and awk of older Cygwin version strip \r from the input. Newer versions > behave like the same tools on Linux and don't strip CR. This is documen

Re: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread cyg Simple
On 6/15/2018 10:39 AM, tuyanyi wrote: > Hi, > I've faced a problem when deal with a text file now, the old version work > very well, but the new version, it wont. > See the following for the solution: https://www.gnu.org/software/gawk/manual/gawk.html#Cygwin -- cyg Simple -- Problem reports:

[ANNOUNCEMENT] Updated: csih-0.9.11-1

2018-06-15 Thread Corinna Vinschen
I just updated the csih service installation helper package to 0.9.11-1. This version fixes a build problem which pulls in undesired dependencies. Have fun, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DO

RE: 2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread Soegtrop, Michael
Dear Tuyanyi, what has been changed in sed and awk is handling of carriage returns. The sed and awk of older Cygwin version strip \r from the input. Newer versions behave like the same tools on Linux and don't strip CR. This is documented in the release notes, intended behavior and has been dis

Re: unable to map cygSDL error

2018-06-15 Thread Ken Brown
On 6/14/2018 11:22 AM, Massi Alvioli wrote: dear Ken, I found your post on the web http://cygwin.1069669.n5.nabble.com/gimp-crashes-due-to-libSDL1-2-0-problem-td140811.html but did not find it in the cygwin users mailing list It's there: https://cygwin.com/ml/cygwin/2018-05/msg00226.html

2.10.0: Cygwin now can not work well with a file in dos format.

2018-06-15 Thread tuyanyi
Hi, I've faced a problem when deal with a text file now, the old version work very well, but the new version, it wont. 1, There is a file named test.txt which in dos format(CRLF), and the content is as follows, 456467987564654654 456467987564654654 456467987564654654 456467987564654655 456467987

Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.

2018-06-15 Thread Corinna Vinschen
On Jun 15 19:56, Takashi Yano wrote: > Hi Corinna, > > On Thu, 14 Jun 2018 13:31:32 +0200 > Corinna Vinschen wrote: > > 2) I'm logged in with a non-admin domain account. If I open a > >shell with "run as administrator", enter credentials for the > >above domain admin account, LOGONSERVER

RE: Unexpected behavior of ~ when calling bash from a different cygwin installation

2018-06-15 Thread Soegtrop, Michael
Dear Cygwin Users, I got it, I just have to clear the HOME variable before. But I have a few more observations on this: the FAQ (section 4.20) state that the root path for the mount table depends on the path of the cygwin1.dll, to which an executable is linked. This doesn't seem to be the case

Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.

2018-06-15 Thread Houder
On Fri, 15 Jun 2018 19:56:35, Takashi Yano wrote: [snip] > First of all, iu-config shows error message at the beginning. > > *** ERROR: winProductName: C:/cygwin/lib/csih/winProductName.exe: error while > loading shared libraries: libssp-0.dll: cannot open shared object file: No > such file or

Unexpected behavior of ~ when calling bash from a different cygwin installation

2018-06-15 Thread Soegtrop, Michael
Dear Cygwin users, I have several Cygwin installation for different purposes (think of it as light weight VMs). I observe an unexpected behavior of ~ when I call a bash from one Cygwin from a bash of another Cygwin. The procedure is as follows: *I have a Cygwin in C:\bin\cygwinA *

Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.

2018-06-15 Thread Takashi Yano
Hi Corinna, On Thu, 14 Jun 2018 13:31:32 +0200 Corinna Vinschen wrote: > 2) I'm logged in with a non-admin domain account. If I open a >shell with "run as administrator", enter credentials for the >above domain admin account, LOGONSERVER is set correctly. In this case, LOGONSERVER is NOT