Re: Fwd: Missing utf8.h

2016-06-23 Thread Marco Atzeri
On 22/06/2016 23:21, Ken Brown wrote: On 6/22/2016 5:01 PM, Jim Van Sciver wrote: I'm trying to compile a third party package on Cygwin. It fails due to missing include file utf8.h. g++ -O2 --std=c++11 -I3rdparty/rnnlm -I/usr/local/include -I. -c lib/util.cc -o lib/util.o In file include

Re: Octave/HDF5 library/header mismatch

2016-06-23 Thread Marco Atzeri
On 23/06/2016 01:11, Gavin King wrote: On 21/06/2016 9:03 p.m., Marco Atzeri wrote: On 21/06/2016 06:20, Gavin King wrote: Reverting the package libhdf5_10 from the current version 1.8.17-1 to the previous version 1.8.16-1 means that octave 4.0.1-1 can save the workspace. So: workaround: r

Re: wget 1.17.x creates odd permissions on downloaded files

2016-06-23 Thread Andrey Repin
Greetings, Warren Young! >> 2) Examining the permissions on putty.exe, the first thing that >> comes up is an error that reads: >> >> "The permissions on putty.exe are incorrectly ordered, which may >> cause some entries to be ineffective.” > That’s Explorer saying that, not Cygwin, right? Let

Re: wget 1.17.x creates odd permissions on downloaded files

2016-06-23 Thread Andrey Repin
Greetings, Zube! > wget 1.16.3 seemed to work fine for a simple task, that is to download > putty.exe from a local http site. Start up a normal windows cmd.exe, > download, run, no muss, no fuss. > The last two wget versions (1.17.1-1 and -2) seem to exhibit the > following issues when putty.exe

RE: FD_SETSIZE and sizeof(fd_set)

2016-06-23 Thread Steven Bardwell
> > > > There are (of course) a lot of other included files, and > > is one of them. In my code it comes AFTER the > > redefinition of FD_SETSIZE and . I don't think this > > could be the issue. > > It is if you are mixing Windows API and Cygwin. > > Just look at sys/select.h and you'll under

Re: FD_SETSIZE and sizeof(fd_set)

2016-06-23 Thread Lee Dilkie
On 6/23/2016 6:54 AM, Steven Bardwell wrote: Here is a "program" that shows the issue I am worried about. It is so simple that I must be overlooking something really obvious: #include #undef FD_SETSIZE #define FD_SETSIZE 256 #include #include main() { fd_set rfds; fprin

RE: FD_SETSIZE and sizeof(fd_set)

2016-06-23 Thread Steven Bardwell
> > > > Here is a "program" that shows the issue I am worried about. It is so simple > that I must be overlooking something really obvious: > > > > #include > > #undef FD_SETSIZE > > #define FD_SETSIZE 256 > > #include > > #include > > > > main() > > { > > fd_set rfds; > > fprint

Re: wget 1.17.x creates odd permissions on downloaded files

2016-06-23 Thread Zube
On Thu Jun 23 01:34:17 PM, Andrey Repin wrote: > Greetings, Zube! Thanks very much for taking the time to reply. > This is how Cygwin works around certain incompatibilities between > Windows and POSIX permission models. Do NOT fall into a trap > and believe that Explorer trying to drag you t

Re: FD_SETSIZE and sizeof(fd_set)

2016-06-23 Thread Corinna Vinschen
On Jun 23 11:36, Steven Bardwell wrote: > > > > > > Here is a "program" that shows the issue I am worried about. It is so > > > simple > > that I must be overlooking something really obvious: > > > > > > #include > > > #undef FD_SETSIZE > > > #define FD_SETSIZE 256 > > > #include > > > #include

Re: FD_SETSIZE and sizeof(fd_set)

2016-06-23 Thread Corinna Vinschen
On Jun 23 13:52, Corinna Vinschen wrote: > On Jun 23 11:36, Steven Bardwell wrote: > > > > > > > > Here is a "program" that shows the issue I am worried about. It is so > > > > simple > > > that I must be overlooking something really obvious: > > > > > > > > #include > > > > #undef FD_SETSIZE > >

Re: FD_SETSIZE and sizeof(fd_set)

2016-06-23 Thread Corinna Vinschen
On Jun 23 13:55, Corinna Vinschen wrote: > On Jun 23 13:52, Corinna Vinschen wrote: > > On Jun 23 11:36, Steven Bardwell wrote: > > > > > > > > > > Here is a "program" that shows the issue I am worried about. It is so > > > > > simple > > > > that I must be overlooking something really obvious: >

Re: FD_SETSIZE and sizeof(fd_set)

2016-06-23 Thread Corinna Vinschen
On Jun 23 14:01, Corinna Vinschen wrote: > On Jun 23 13:55, Corinna Vinschen wrote: > > On Jun 23 13:52, Corinna Vinschen wrote: > > > On Jun 23 11:36, Steven Bardwell wrote: > > > > > > > > > > > > Here is a "program" that shows the issue I am worried about. It is > > > > > > so simple > > > > >

RE: FD_SETSIZE and sizeof(fd_set) - thanks for a simple solution

2016-06-23 Thread Steven Bardwell
> > > > > > Here is a "program" that shows the issue I am worried about. It is > > > > > > so > simple > > > > > that I must be overlooking something really obvious: > > > > > > > > > > > > #include > > > > > > #undef FD_SETSIZE > > > > > > #define FD_SETSIZE 256 > > > > > > #include > > > > > >

[ANNOUNCEMENT] Cygwin library now available under GNU LGPL

2016-06-23 Thread Corinna Vinschen
Hi folks, I'm pleased to announce that the today's upcoming release of the Cygwin library (version 2.5.2) introduces a license change. From 2.5.2 onwards, the Cygwin DLL is now available under the GNU LGPL v3, rather than the former GPLv3. The official Red Hat announcement: https://www.redhat.co

Re: wget 1.17.x creates odd permissions on downloaded files

2016-06-23 Thread Andrey Repin
Greetings, Zube! >> This is how Cygwin works around certain incompatibilities between >> Windows and POSIX permission models. Do NOT fall into a trap >> and believe that Explorer trying to drag you to. The permissions >> are correct, it's just that Explorer is unable to deal with them, >> b

[ANNOUNCEMENT] Cygwin 2.5.2-1

2016-06-23 Thread Corinna Vinschen
Hi Cygwin friends and users, I released Cygwin version 2.5.2-1. This is a plain bugfix release, plus a few assorted improvements under the hood. - NOTE 1: This is the first Cygwin release with the Cygwin DLL licensed under

RE: Cygwin 2.5.2-1

2016-06-23 Thread Nellis, Kenneth
> From: cygwin-announce-owner> > ... > NOTE 2: > > Cygwin 2.5.2 is the last release supporting Windows XP and Windows > Server 2003. > ... Okay, but to be clear, is it the *final* release supporting these? --Ken Nellis

Re: Cygwin 2.5.2-1

2016-06-23 Thread Corinna Vinschen
On Jun 23 13:05, Nellis, Kenneth wrote: > > From: cygwin-announce-owner> > > ... > > NOTE 2: > > > > Cygwin 2.5.2 is the last release supporting Windows XP and Windows > > Server 2003. > > ... > > Okay, but to be clear, is it the *final* release supporting these? Yes, I'm reasonably sure, g

Re: Cygwin library now available under GNU LGPL

2016-06-23 Thread Warren Young
On Jun 23, 2016, at 6:18 AM, Corinna Vinschen wrote: > > From 2.5.2 onwards, the Cygwin DLL is now available under the GNU LGPL v3, > rather > than the former GPLv3. I have mixed feelings about this. On the one hand, it means we get the same freedoms when deploying GCC-compiled software on Wi

Re: wget 1.17.x creates odd permissions on downloaded files

2016-06-23 Thread Warren Young
On Jun 23, 2016, at 4:21 AM, Andrey Repin wrote: > > Greetings, Warren Young! > >>> 2) Examining the permissions on putty.exe, the first thing that >>> comes up is an error that reads: >>> >>> "The permissions on putty.exe are incorrectly ordered, which may >>> cause some entries to be ineffect

Re: Cygwin library now available under GNU LGPL

2016-06-23 Thread Corinna Vinschen
On Jun 23 09:48, Warren Young wrote: > On Jun 23, 2016, at 6:18 AM, Corinna Vinschen wrote: > > > > From 2.5.2 onwards, the Cygwin DLL is now available under the GNU LGPL v3, > > rather > > than the former GPLv3. > > I have mixed feelings about this. > > On the one hand, it means we get the sa

Re: wget 1.17.x creates odd permissions on downloaded files

2016-06-23 Thread Andrey Repin
Greetings, Warren Young! > On Jun 23, 2016, at 4:21 AM, Andrey Repin wrote: >> >> Greetings, Warren Young! >> 2) Examining the permissions on putty.exe, the first thing that comes up is an error that reads: "The permissions on putty.exe are incorrectly ordered, which may >>

[ANNOUNCEMENT] New procedure for code contributions to the Cygwin sources

2016-06-23 Thread Corinna Vinschen
Hi folks, as mentioned in https://cygwin.com/ml/cygwin-announce/2016-06/msg00048.html the procedure for contributions to the Cygwin sources has been much simplified. If you already have the former Cygwin Copyright Assignment signed and submitted, you're all set. Otherwise, just make a public st

Re: wget 1.17.x creates odd permissions on downloaded files

2016-06-23 Thread Warren Young
On Jun 23, 2016, at 12:17 PM, Andrey Repin wrote: > Let Explorer fix it. >>> >>> Do NOT do that. It'll screw Cygwin permission handling. > >> Here’s my fixperms script, which keeps both sides happy: > > Overengineered. > Just use noacl mounts and you'll not have this problem again. Let me

Re: Piping on 64-bit Cygwin was Re: [ANNOUNCEMENT] llvm 3.7.1-2

2016-06-23 Thread cyg Simple
On 6/22/2016 1:17 PM, Corinna Vinschen wrote: > On Jun 22 10:01, Warren Young wrote: >> Still, you could get similar problems. ifdefs for portable >> sized-integer types are a particularly rich source of bugs, especially >> ones where #ifdef WINDOWS precedes any test that could match Cygwin, >> s

dbus package installed, but no configured as a Windows service

2016-06-23 Thread Xi Shen
Hi, I installed the dbus package from the Cygwin steup tool, but I could not find a Windows service named "dbus" or alike been setup...did I miss something? I do not have any of the X11 packages selected explicitly...do I have to install the X11 packages to have dbus work on Windows? Thanks, X