Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-22 Thread Houder
On Sat, 21 Sep 2019 15:42:36, Ken Brown wrote: [snip] > I'll fix this and then look at your patches to mkdir and rmdir. It would > be very helpful if you would write these as a patch series with cover letter, > using git format-patch, and send them to the cygwin-patches list. Hi Ken, I think

Re: Solved. Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-22 Thread Houder
On Sat, 21 Sep 2019 21:02:37, Ken Brown wrote: [snip] > I think you can simplify this by eliminating the second part and changing > the first part to the following: > > char sep = dir[strlen (dir) - 1]; > if (isdirsep (sep) >{ > /* This converts // to

Re: Solved. Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-22 Thread Houder
Nothing new here; only correction of mistakes that I made (I decided to review my e-mail because Ken Brwon took an interrest in the subject matter). On Fri, 06 Sep 2019 23:53:05, Houder wrote: > To those still interested! :-P [snip] > While I took a closer look at the source code, I found a BUG

Re: tcl-tk-dev X dependencies?

2019-09-22 Thread Brian Inglis
On 2019-09-22 00:06, lloyd.wood.yahoo.co.uk via cygwin wrote: > gcc -O2 -DNO_ZLIB -Wall -Wextra -Wconversion -pedantic -I./include -c -o > main.o main.c > In file included from ./include/tcl_utils.h:40:0, > from main.c:38: > /usr/include/tk.h:96:13: fatal error: X11/Xlib.h: No

[ANNOUNCEMENT] cygwin 3.1.0-0.6 (TEST)

2019-09-22 Thread Ken Brown
The following packages have been uploaded to the Cygwin distribution as test releases: * cygwin-3.1.0-0.6 * cygwin-devel-3.1.0-0.6 * cygwin-doc-3.1.0-0.6 This release comes with a couple of new features and quite a few bug fixes. The most interesting changes: - A revamp of the old FIFO code.

tcl-tk-dev X dependencies?

2019-09-22 Thread lloyd.wood.yahoo.co.uk via cygwin
gcc -O2 -DNO_ZLIB -Wall -Wextra -Wconversion -pedantic -I./include    -c -o main.o main.c In file included from ./include/tcl_utils.h:40:0, from main.c:38: /usr/include/tk.h:96:13: fatal error: X11/Xlib.h: No such file or directory  #   include ^~~~

Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-22 Thread Ken Brown
On 9/22/2019 3:11 AM, Houder wrote: > - 1. - Farewell > > I will be hospitalized soon, and I do not think I will be back here (any > time soon?). I'm very sorry to hear that. Thanks for your contributions. Best wishes, Ken -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: bug with grep 3.0.2 in cygwin 3.0.7

2019-09-22 Thread Chris Wagner
On 2019-08-28 3:16 am, ak...@free.fr wrote: Hi, I encounter some problem with grep option -E on cygwin 3.0.7 echo "a^b" | grep "a^b" #answer a^b ie it's OK but echo "a^b" | grep -E "a^b" #answer nothing " for me it's KO I have to backslash ^ to be OK like : grep -E 'a\^b' Is-it a bug ? I

[PATCH] Cygwin: rmdir: fail if last component is a symlink, as on Linux

2019-09-22 Thread Ken Brown
If the last component of the directory name is a symlink followed by a slash, rmdir should fail, even if the symlink resolves to an existing empty directory. mkdir was similarly fixed in 2009 in commit 52dba6a5c45e8d8ba1e237a15213311dc11d91fb. Modify a comment to clarify the purpose of that

cygwin 3.1.0-0.6 (TEST)

2019-09-22 Thread Ken Brown
The following packages have been uploaded to the Cygwin distribution as test releases: * cygwin-3.1.0-0.6 * cygwin-devel-3.1.0-0.6 * cygwin-doc-3.1.0-0.6 This release comes with a couple of new features and quite a few bug fixes. The most interesting changes: - A revamp of the old FIFO code.