Re: Bash unable to print epoch timestamp

2015-10-29 Thread Corinna Vinschen
On Oct 28 17:20, Brian Inglis wrote: > Corinna Vinschen cygwin.com> writes: > > On Oct 26 19:16, Brian Inglis wrote: > > > Sorry - redo with the file existing! > > > > No worries, I applied your other patch since it also cleaned up some > > whitespaces and, for some reason, the below patch didn't

Re: Permissions on /var

2015-10-29 Thread Corinna Vinschen
On Oct 28 18:00, Jan Bruun Andersen wrote: > Looks good. No errors are reported on my end now. Thanks for testing. Corinna > > On 28 October 2015 at 14:28, Corinna Vinschen > wrote: > > On Oct 28 01:33, Jan Bruun Andersen wrote: > >> Today, as I installed inetutils (I needed telnet for Cygwi

Re: initial cygwin installation

2015-10-29 Thread Achim Gratz
Am 28.10.2015 um 21:38 schrieb Duncan Roe: As it happens, I also saw that message last night. I only wanted to *reinstall* everything I had installed previously, owing to AVG antivirus having deleted I don't know what. One way to do that (if you really want to re-install instead of running cyg

Re: Bug in collation functions?

2015-10-29 Thread Corinna Vinschen
On Oct 28 21:58, Eric Blake wrote: > On 10/28/2015 04:14 PM, Ken Brown wrote: > > It's my understanding that collation is supposed to take whitespace and > > punctuation into account in the POSIX locale but not in other locales. > > Not quite right. It is up to the locale definition whether whites

Re: pthread_kill: signals remain pending after target thread exits

2015-10-29 Thread Corinna Vinschen
On Oct 28 10:14, Corinna Vinschen wrote: > On Oct 27 19:06, John Carey wrote: > > Sorry for the delay. > > > > From: Corinna Vinschen [corinna-cyg...@cygwin.com] > > Sent: Friday, October 23, 2015 5:55 AM > > > > I've attached a test case that I *think* gets into the right spot, at > > > > least f

Re: Proposal to use ThreadQuerySetWin32StartAddress inside munge_threadfunc (Cygwin randomly crashes on Wine)

2015-10-29 Thread Corinna Vinschen
On Oct 21 22:48, Qian Hong wrote: > Hi Corinna, > > On Wed, Oct 21, 2015 at 4:17 PM, Corinna Vinschen > wrote: > > I simplified your patch, taking out the printf's and added a test in the > > loop in case NtQueryInformationThread failed. See below. It's not > > overly large, but it introduces n

Re: Bug in collation functions?

2015-10-29 Thread Corinna Vinschen
On Oct 29 08:50, Corinna Vinschen wrote: > On Oct 28 21:58, Eric Blake wrote: > > On 10/28/2015 04:14 PM, Ken Brown wrote: > > > It's my understanding that collation is supposed to take whitespace and > > > punctuation into account in the POSIX locale but not in other locales. > > > > Not quite ri

Re: gcc: cannot find -lubsan

2015-10-29 Thread Csaba Raduly
On Wed, Oct 28, 2015 at 5:36 PM, Yaakov Selkowitz wrote: > > The various sanitizers in recent versions of GCC are not currently > supported on Cygwin. Then it would be nicer if GCC reported an error (rather than compile dozens of files and then fail to link them at the end). This is likely a GCC

Re: Bug in collation functions?

2015-10-29 Thread Ken Brown
On 10/29/2015 4:30 AM, Corinna Vinschen wrote: On Oct 29 08:50, Corinna Vinschen wrote: On Oct 28 21:58, Eric Blake wrote: On 10/28/2015 04:14 PM, Ken Brown wrote: It's my understanding that collation is supposed to take whitespace and punctuation into account in the POSIX locale but not in ot

Re: How to run xinit without first entering a cygwin terminal

2015-10-29 Thread Jon Turney
On 29/10/2015 06:25, Xuehan Xu wrote: Hi, everyone I'm trying to run xinit.exe to start a GUI program in a windows cmd prompt. The command I run: "c:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/xinit.exe /home/Administrator/rdesktop.exe -f 192.168.1.79 But, it seems that rdesktop.exe i

Re: Unison 2.43.3 fails to synchronize execute permission bit

2015-10-29 Thread Ms. Alex Hankins
On Wed, Oct 28, 2015 at 2:55 PM, wrote: > When synchronizing two directories on the same NTFS-formatted drive, unison > (with -perms 0o1777) fails to set execute permissions on new files. (It also > fails to detect changes in execute permissions and to set them on existing > files.) >... I f

Re: Bug in collation functions?

2015-10-29 Thread Corinna Vinschen
On Oct 29 08:59, Ken Brown wrote: > On 10/29/2015 4:30 AM, Corinna Vinschen wrote: > >On Oct 29 08:50, Corinna Vinschen wrote: > >>On Oct 28 21:58, Eric Blake wrote: > >>>On 10/28/2015 04:14 PM, Ken Brown wrote: > It's my understanding that collation is supposed to take whitespace and > pun

Re: Bug in collation functions?

2015-10-29 Thread Ken Brown
On 10/29/2015 11:35 AM, Corinna Vinschen wrote: On Oct 29 08:59, Ken Brown wrote: On 10/29/2015 4:30 AM, Corinna Vinschen wrote: On Oct 29 08:50, Corinna Vinschen wrote: On Oct 28 21:58, Eric Blake wrote: On 10/28/2015 04:14 PM, Ken Brown wrote: It's my understanding that collation is suppos

Re: Bug in collation functions?

2015-10-29 Thread Eric Blake
On 10/29/2015 09:35 AM, Corinna Vinschen wrote: >>> Right now Cygwin calls CompareStringW with dwCmpFlags set to 0, but there >>> are flags like NORM_IGNORENONSPACE, NORM_IGNORESYMBOLS. I'm open to a >>> discussion how to change the settings to more closely resemble the rules >>> on Linux. >>> >>

Re: Bug in collation functions?

2015-10-29 Thread Ken Brown
On 10/29/2015 11:45 AM, Ken Brown wrote: On 10/29/2015 11:35 AM, Corinna Vinschen wrote: On Oct 29 08:59, Ken Brown wrote: On 10/29/2015 4:30 AM, Corinna Vinschen wrote: On Oct 29 08:50, Corinna Vinschen wrote: On Oct 28 21:58, Eric Blake wrote: On 10/28/2015 04:14 PM, Ken Brown wrote: It's

[ANNOUNCEMENT] Updated: exiv2-0.25-1

2015-10-29 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution: * exiv2-0.25-1 * libexiv2_14-0.25-1 * libexiv2-devel-0.25-1 Exiv2 is a C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata of digita

[ANNOUNCEMENT] New: lz4-131-1

2015-10-29 Thread Yaakov Selkowitz
The following packages have been added to the Cygwin distribution: * lz4-131-1 * liblz4_1-131-1 * liblz4-devel-131-1 LZ4 is a lossless compression algorithm, providing compression speed at 400 MB/s per core. It features an extremely fast decoder, with speed in multiple GB/s per core. A high compr

[ANNOUNCEMENT] Updated: audiofile-0.3.6-2

2015-10-29 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution: * audiofile-0.3.6-2 * libaudiofile1-0.3.6-2 * libaudiofile-devel-0.3.6-2 The Audio File Library provides a uniform programming interface to standard digital audio file formats. This library allows the processing of audio data to

RE: pthread_kill: signals remain pending after target thread exits

2015-10-29 Thread John Carey
> From: Corinna Vinschen [corinna-cyg...@cygwin.com] > Sent: Thursday, October 29, 2015 1:02 AM > On Oct 28 10:14, Corinna Vinschen wrote: ... > > > Thanks; that was fast! I tried replacing cygwin1.dll with > > > cygwin1-20151023.dll . > > > > > > The original test case now works. I checked some

Re: Bug in collation functions?

2015-10-29 Thread Eric Blake
On 10/29/2015 10:13 AM, Ken Brown wrote: > Never mind. My test case was flawed, because it didn't check for the > possibility that wcscoll might return 0. Here's a revised definition of > the "compare" function: > > void > compare (const wchar_t *a, const wchar_t *b, const char *loc) > { > se

[ANNOUNCEMENT] Updated: pixman-0.32.8-1

2015-10-29 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution: * libpixman1_0-0.32.8-1 * libpixman1-devel-0.32.8-1 pixman is a library that provides low-level pixel manipulation features such as image compositing and trapezoid rasterization. It is used primarily by the cairo library and th

[ANNOUNCEMENT] Updated: packages rebuilt for exiv2-0.25, openexr-2.2.0

2015-10-29 Thread Yaakov Selkowitz
The following packages (and their subpackages) have been updated, having been rebuilt for exiv2-0.25 and/or openexr-2.2.0: * calligra-2.9.8-2 * gegl-0.2.0-9 * gwenview-4.14.3-3 * kdelibs-4.14.13-1 * kde-runtime-15.04.3-2 * kf5-kimageformats-5.12.0-2 * kfilemetadata-4.14.3-2 * libkexiv2-15.04.3-2 *

[ANNOUNCEMENT] New: openjpeg2-2.1.0-1

2015-10-29 Thread Yaakov Selkowitz
The following packages have been added to the Cygwin distribution: * openjpeg2-2.1.0-1 * libopenjp2_7-2.1.0-1 * libopenjp2-devel-2.1.0-1 * libopenjp2-doc-2.1.0-1 The OpenJPEG library is an open-source JPEG 2000 codec written in C language. It has been developed in order to promote the use of JPEG

[ANNOUNCEMENT] Updated: poppler-0.36.0-2

2015-10-29 Thread Yaakov Selkowitz
The following packages have been updated for both arches: * poppler-0.36.0-2 * libpoppler55-0.36.0-2 * libpoppler-devel-0.36.0-2 * libpoppler-cpp0-0.36.0-2 * libpoppler-cpp-devel-0.36.0-2 * libpoppler-glib8-0.36.0-2 * libpoppler-glib-devel-0.36.0-2 * libpoppler-glib-doc-0.36.0-2 * girepository-Pop

[ANNOUNCEMENT] Updated: tiff-4.0.6-1

2015-10-29 Thread Yaakov Selkowitz
The following packages have been updated for both arches: * tiff-4.0.6-1 * tiff-doc-4.0.6-1 * tiff-opengl-4.0.6-1 * libtiff6-4.0.6-1 * libtiff-devel-4.0.6-1 libtiff is the reference implementation for reading and writing TIFF images, along with a small collection of tools for doing simple manipul

Re: initial cygwin installation

2015-10-29 Thread Warren Young
On Oct 28, 2015, at 8:49 PM, Andrey Repin wrote: > >> I only wanted to *reinstall* >> everything I had installed previously > > Solution is to run `cygcheck --check-setup` and manually select any packages > reported incomplete for reinstall. This solution and Achim Gratz’ assume your Cygwin inst

Re: Bug in collation functions?

2015-10-29 Thread Ken Brown
On 10/29/2015 12:51 PM, Eric Blake wrote: On 10/29/2015 10:13 AM, Ken Brown wrote: Never mind. My test case was flawed, because it didn't check for the possibility that wcscoll might return 0. Here's a revised definition of the "compare" function: void compare (const wchar_t *a, const wchar_

Re: xfig-3.2.5c-2.x86_64 crashes on save as or export on windows 10

2015-10-29 Thread Hans-Georg Scherneck
Hi too, it crashes on x_86 (i.e. 32 bit version) too, even after re-installing the xorg-server packages. xfig won't show the export window before it crashes. What else can I do? Any step-by-step procedure with xorg-server renewal? Is there an issue with Athena widgets? Cheers Hans-Georg Hi,

setup.exe with packages specified downloads multiple versions [?]

2015-10-29 Thread Roger Pack
As a note, running this: setup-x86.exe ^ --quiet-mode ^ --no-admin ^ --no-startmenu ^ --no-shortcuts ^ --no-desktop ^ --site http://mirrors.xmission.com/cygwin/ ^ --root %cd% ^ --packages ^ ed,curl,wget,subversion,texinfo,gcc-g++,bison,flex,cvs,yasm,automake,libtool,autoconf,gcc-core,cmake,git,ma

Re: setup.exe with packages specified downloads multiple versions [?]

2015-10-29 Thread Marco Atzeri
On 29/10/2015 20:53, Roger Pack wrote: As a note, running this: setup-x86.exe ^ --quiet-mode ^ --no-admin ^ --no-startmenu ^ --no-shortcuts ^ --no-desktop ^ --site http://mirrors.xmission.com/cygwin/ ^ --root %cd% ^ --packages ^ ed,curl,wget,subversion,texinfo,gcc-g++,bison,flex,cvs,yasm,auto

Re: Bug in collation functions?

2015-10-29 Thread Ken Brown
On 10/29/2015 2:42 PM, Ken Brown wrote: On 10/29/2015 12:51 PM, Eric Blake wrote: On 10/29/2015 10:13 AM, Ken Brown wrote: Never mind. My test case was flawed, because it didn't check for the possibility that wcscoll might return 0. Here's a revised definition of the "compare" function: voi

Re: setup.exe with packages specified downloads multiple versions [?]

2015-10-29 Thread Roger Pack
On 10/29/15, Marco Atzeri wrote: > > > On 29/10/2015 20:53, Roger Pack wrote: >> As a note, running this: >> >> >> setup-x86.exe ^ >> --quiet-mode ^ >> --no-admin ^ >> --no-startmenu ^ >> --no-shortcuts ^ >> --no-desktop ^ >> --site http://mirrors.xmission.com/cygwin/ ^ >> --root %cd% ^ >> --packa

64 bit has different dependencies somehow?

2015-10-29 Thread Roger Pack
As a note, when installing these packages: setup-x86.exe ^ --quiet-mode ^ --no-admin ^ --no-startmenu ^ --no-shortcuts ^ --no-desktop ^ --site http://mirrors.xmission.com/cygwin/ ^ --root %cd% ^ --packages ^ ed,curl,wget,subversion,texinfo,gcc-g++,bison,flex,cvs,yasm,automake,libtool,autoconf,gcc-

Re: Bug in collation functions?

2015-10-29 Thread Ken Brown
On 10/29/2015 5:49 PM, Ken Brown wrote: On 10/29/2015 2:42 PM, Ken Brown wrote: On 10/29/2015 12:51 PM, Eric Blake wrote: On 10/29/2015 10:13 AM, Ken Brown wrote: Never mind. My test case was flawed, because it didn't check for the possibility that wcscoll might return 0. Here's a revised d

Re: How to run xinit without first entering a cygwin terminal

2015-10-29 Thread Xuehan Xu
Thanks for your reply:-) I followed your advice, now it seems that rdesktop is running, but the window that xinit showed was just plain black. rdesktop is supposed to be a remote desktop client that runs on linux and connect to a windows remote desktop. When I use the command "/usr/bin/xinit.exe .

Re: How to run xinit without first entering a cygwin terminal

2015-10-29 Thread Xuehan Xu
By the way, the error that popped up when running startx from the windows command line was something like this: "Failed to connect to socket /tmp/dbus-XsPeRupEi : connection refused" and "environment variable $XDG_CONFIG_DIRS isn't properly configured" On 30 October 2015 at 08:40, Xuehan Xu wrote