Re: Cygwin 2.6.0 Fork issue

2016-12-07 Thread Brian Inglis
On 2016-12-07 22:37, Rashi Singhal wrote: > I am using cygwin 2.6.0 (32 bit) version with Actian Pervasive > version 12. > We have a program which will call fork() and in child process > Btrieve file is getting opened. > While using latest version of cygwin, file open call is not working > Its not

Re: [ANNOUNCEMENT] llvm 3.8.1-1

2016-12-07 Thread Yaakov Selkowitz
On 2016-12-07 17:57, Roger Pack wrote: Awesome. I tried building 3.9.0 today and ran into llvm-3.9.0.src/lib/Support/Unix/Signals.inc:418:5: error: ‘Dl_info’ was not declared in this scope Dl_info dlinfo; Already fixed upstream: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix

Cygwin 2.6.0 Fork issue

2016-12-07 Thread Rashi Singhal
Hi, I am using cygwin 2.6.0 (32 bit) version with Actian Pervasive version 12. We have a program which will call fork() and in child process Btrieve file is getting opened. While using latest version of cygwin, file open call is not working , Its not opening file nor displaying any error. Could

Re: Installer names not meaningful enough

2016-12-07 Thread Brian Inglis
On 2016-12-07 15:06, Erik Soderquist wrote: > On Wed, Dec 7, 2016 at 4:57 PM, Brian Inglis wrote: > >> Use wget -N to prevent duplicate downloads when the name, date, and >> size don't change. > > That only works if I am downloading to the same location/name as the > source is You can use e.g. w

Re: [ANNOUNCEMENT] llvm 3.8.1-1

2016-12-07 Thread Roger Pack
On 7/21/16, Yaakov Selkowitz wrote: > The following packages have been uploaded to the Cygwin distribution: > > * llvm-3.8.1-1 > * llvm-doc-3.8.1-1 > * libllvm3.8-3.8.1-1 > * libllvm-devel-3.8.1-1 Awesome. I tried building 3.9.0 today and ran into llvm-3.9.0.src/lib/Support/Unix/Signals.inc:418:

Re: Problem with chdir and GetCurrentDirectory on Windows 2016

2016-12-07 Thread Dipak Gaigole
>> >> So in this situation, is it possible to get the cwd value as >> "/cygdrive/c/temp/appdir/bin" using some cygwin API? > > No, it is generally not possible to get the POSIX path to anything in > the cygwin root (/) tree to be prefixed by the /cygdrive prefix. The > /cygdrive prefix exists solel

Re: Problem with chdir and GetCurrentDirectory on Windows 2016

2016-12-07 Thread Eric Blake
On 12/07/2016 04:22 PM, Dipak Gaigole wrote: > C:\Temp\appdir>.\test_cwd.exe "bin" > chdir (bin) reuturned <0> > GetCurrentDirectory returned , ret = <18> > getcwd returned , ret = > > C:\Temp\appdir> > ## > Please note that I have the cygwin1.dll in t

RE: permission question

2016-12-07 Thread Michel LaBarre
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Greg Freemyer > Sent: December-07-16 5:08 PM > To: brian.ing...@systematicsw.ab.ca; cygwin@cygwin.com > Subject: Re: permission question > > If I'm going to relegate rsync to the trash bi

Re: permission question

2016-12-07 Thread Erik Soderquist
On Wed, Dec 7, 2016 at 5:08 PM, Greg Freemyer wrote: > If I'm going to relegate rsync to the trash bin due to it not > supporting Windows permissions well enough to be useful, I've got > other Windows recursive copy tools I use that don't preserve > permissions either. I still use rsync in cygwin

Re: Problem with chdir and GetCurrentDirectory on Windows 2016

2016-12-07 Thread Dipak Gaigole
>> I am facing a very strange problem with chdir and GetCurrentDirectory. > > Not strange at all. The two are incompatible. When writing Cygwin > programs, stick to the POSIX-y interface, NOT the windows interface. > >> After calling chdir (), the call to GetCurrentDirectory () returns > > chdir(

Re: permission question

2016-12-07 Thread Greg Freemyer
If I'm going to relegate rsync to the trash bin due to it not supporting Windows permissions well enough to be useful, I've got other Windows recursive copy tools I use that don't preserve permissions either. I can't tell you how much I love Windows security permissions. :( In the mean time I ha

Re: Installer names not meaningful enough

2016-12-07 Thread Erik Soderquist
On Wed, Dec 7, 2016 at 4:57 PM, Brian Inglis wrote: > Use wget -N to prevent duplicate downloads when the name, date, > and size don't change. That only works if I am downloading to the same location/name as the source is -- Erik -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Installer names not meaningful enough

2016-12-07 Thread Brian Inglis
On 2016-12-07 14:40, Erik Soderquist wrote: > On Thu, Dec 1, 2016 at 7:18 AM, Lee Dilkie wrote: >> I'd agree that adding "cygwin" to the setup program would be nice >> but it's certainly not the windows "way", lots of programs use just >> "setup.exe". > > I don't recall "the Windows way" being a g

Re: Installer names not meaningful enough

2016-12-07 Thread Erik Soderquist
On Thu, Dec 1, 2016 at 7:18 AM, Lee Dilkie wrote: > I'd agree that adding "cygwin" to the setup program would be nice but it's > certainly not the windows "way", lots of programs use just "setup.exe". I don't recall "the Windows way" being a goal of Cygwin. > Versioning can't be added to the file

Re: Installer names not meaningful enough

2016-12-07 Thread Brian Inglis
On 2016-12-07 07:46, Ian Lambert wrote: > On December 7, 2016 4:57:02 AM EST, Duncan Roe wrote: >> On Tue, Dec 06, 2016 at 10:11:42AM +0100, Gerrit Haase wrote: >>> 2016-12-01 11:51 GMT+01:00 Roberto Ríos Gallardo says: Please give the installers more meaningful names. In particular, make

Re: Problem with chdir and GetCurrentDirectory on Windows 2016

2016-12-07 Thread Eric Blake
On 12/07/2016 02:23 PM, Dipak Gaigole wrote: > Hello, > > I am facing a very strange problem with chdir and GetCurrentDirectory. Not strange at all. The two are incompatible. When writing Cygwin programs, stick to the POSIX-y interface, NOT the windows interface. > After calling chdir (), the

Re: Problem with chdir and GetCurrentDirectory on Windows 2016

2016-12-07 Thread Dipak Gaigole
> GetCurrentDirectory failed with ERROR_INVALID_HANDLE. As a result the > buffer was not populated. What is in dirname[] is stack garbage. As per the documentation of GetCurrentDirectory(), "If the function succeeds, the return value specifies the number of characters that are written to the buf

[ANNOUNCEMENT] [Updated] Perl distributions

2016-12-07 Thread Achim Gratz
The following Perl distributions have been updated to their latest version available from CPAN: x86/x86_64 -- perl-Cpanel-JSON-XS-3.0225-1 perl-Crypt-OpenSSL-DSA-0.18-1 perl-DBD-SQLite-1.52-1 perl-DBD-mysql-4.041-1 perl-JSON-XS-3.03-1 perl-Unicode-Collate-1.19-1 noarch -- perl-Busine

Re: permission question

2016-12-07 Thread Brian Inglis
On 2016-12-07 13:12, Erik Soderquist wrote: >> I really like cygwin and have used it for a decade plus. Only in the >> last year or 18-months have I noticed significant permission issues >> that slow down my workflow. >> >> Copying these folders/files from one drive to another is a task I'd >> lik

Re: Problem with chdir and GetCurrentDirectory on Windows 2016

2016-12-07 Thread Jeffrey Altman
On 12/7/2016 3:23 PM, Dipak Gaigole wrote: > GetCurrentDirectory returned , ret = <6> GetCurrentDirectory failed with ERROR_INVALID_HANDLE. As a result the buffer was not populated. What is in dirname[] is stack garbage. My guess is that /cygdrive/c/Program Files is not associated with a device

Problem with chdir and GetCurrentDirectory on Windows 2016

2016-12-07 Thread Dipak Gaigole
Hello, I am facing a very strange problem with chdir and GetCurrentDirectory. After calling chdir (), the call to GetCurrentDirectory () returns wrong value. I tested this on Windows 7 and Windows 2016. It is working fine on Windows 7 whereas wrong values are returned on Windows 2016. I guess we s

Re: permission question

2016-12-07 Thread Erik Soderquist
> I really like cygwin and have used it for a decade plus. Only in the > last year or 18-months have I noticed significant permission issues > that slow down my workflow. > > Copying these folders/files from one drive to another is a task I'd > like to accomplish, but even more importantly I'd lik

[ANNOUNCEMENT] Updated: grep-2.27-1

2016-12-07 Thread Eric Blake (cygwin)
A new release of grep, 2.27-1, has been uploaded and will soon reach a mirror near you; leaving the previous version at 2.25-1. NEWS: = This is a new upstream release. For more details on grep, see the documentation in /usr/share/doc/grep/. DESCRIPTION: GNU Grep searches one or

Re: permission question

2016-12-07 Thread Greg Freemyer
On Wed, Dec 7, 2016 at 1:48 PM, Stephen John Smoogen wrote: >> I'm tempted to just do a "chmod 755 -R .", but I've just had too many >> windows permission issues in the last year to start trying things >> without guidance. > > That would probably make things worse. I believe that Windows > permiss

Re: permission question

2016-12-07 Thread Stephen John Smoogen
On 7 December 2016 at 13:22, Greg Freemyer wrote: > On Wed, Dec 7, 2016 at 10:47 AM, Greg Freemyer > wrote: >> I have a USB drive with 100,000's of thousands of files I put on it >> from one PC. I've built that dataset up over a couple years. >> >> I moved the USB drive to a different PC and I'

Re: permission question

2016-12-07 Thread Greg Freemyer
On Wed, Dec 7, 2016 at 10:47 AM, Greg Freemyer wrote: > I have a USB drive with 100,000's of thousands of files I put on it > from one PC. I've built that dataset up over a couple years. > > I moved the USB drive to a different PC and I'm trying to rsync it to > another drive. > > 99.9% of the da

RE: permission question

2016-12-07 Thread Gluszczak, Glenn
I've found recently while using cp or rsync that the Administrator account could not access files or set back permissions for files with System account privileges. I had to resort to xcopy to do things properly. -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwi

permission question

2016-12-07 Thread Greg Freemyer
I have a USB drive with 100,000's of thousands of files I put on it from one PC. I've built that dataset up over a couple years. I moved the USB drive to a different PC and I'm trying to rsync it to another drive. 99.9% of the data seems to have made its way from one drive to the other. But I g

Re: Installer names not meaningful enough

2016-12-07 Thread Ian Lambert
On December 7, 2016 4:57:02 AM EST, Duncan Roe wrote: >On Tue, Dec 06, 2016 at 10:11:42AM +0100, Gerrit Haase wrote: >> 2016-12-01 11:51 GMT+01:00 Roberto Ríos Gallardo says: >> > Please give the installers more meaningful names. In particular, >make >> > sure "cygwin" is part of it. "setup-x86_6

Re: make command gives: error while loading shared libraries: ?: cannot open shared object file

2016-12-07 Thread Marco Atzeri
On 07/12/2016 07:34, Arnaut B wrote: On Tue, 06 Dec 2016 18:41:25 -0800, Ken Brown wrote: On 12/6/2016 6:54 PM, Arnaut B wrote: Hi All, After updating cygwin to the latest current release, my "make" command is broken. It spits the following error: /usr/bin/cygcrypt-0.dll is provided b

Re: Installer names not meaningful enough

2016-12-07 Thread Duncan Roe
On Tue, Dec 06, 2016 at 10:11:42AM +0100, Gerrit Haase wrote: > 2016-12-01 11:51 GMT+01:00 Roberto Ríos Gallardo says: > > Please give the installers more meaningful names. In particular, make > > sure "cygwin" is part of it. "setup-x86_64.exe" is not very obvious. A > > version number would be nic