Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-14 Thread Peter Rosin
On 2014-01-15 05:53, Lord Laraby wrote: > On Tue, Jan 14, 2014 at 10:50 AM, Ted Nolan wrote: >> In message <52d55d96.8070...@redhat.com> you write: >>> >>> Your program may be violating POSIX, which would trigger undefined behavior. >>> >>> Quoting POSIX: >>> pubs.opengroup.org/onlinepubs/969991979

RE: Extended attributes

2014-01-14 Thread Pavel Fedin
Hello! > "user." xattrs are supported, but no others. This is partially to have > smooth support of xattrs when using Samba shares. See the attr > package and the getxattr, etc. calls in Cygwin's ntea.cc. Yes, i have checked that. What do you think about adding other possible namespaces (sy

Re: cygstart fails

2014-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2014 at 11:08:38PM +0100, Christian Franke wrote: >Buchbinder, Barry (NIH/NIAID) [E] wrote: >> Thomas Wolff sent the following at Tuesday, January 14, 2014 4:26 PM >>> After today's setup update, cygstart (e.g. "cygstart .") fails >>> with: /usr/bin/cygstart.exe: error while loading

[ANNOUNCEMENT] Updated: groff-1.22.2-2

2014-01-14 Thread Christopher Faylor
I've made a new version of groff available for installation. This is a refresh from ftp.gnu.org. groff pretty much builds straight out of the box. This release contains an extra "groff-perl" package, as promised here: http://cygwin.com/ml/cygwin/2014-01/msg00117.html So this should eliminate t

Re: RPM 4.11.1-1 fails on Cygwin 1.7.27-1 and -2

2014-01-14 Thread Marco Atzeri
On 15/01/2014 06:38, Lord Laraby wrote: So, does cygwin now support installing software via Redhat Package Manager? No. That I am aware of Or is this RPM just a cross install tool just used for cygwin on linux boxen? something like that I tried to build RPM many long moons ago when cygw

Re: RPM 4.11.1-1 fails on Cygwin 1.7.27-1 and -2

2014-01-14 Thread Christopher Faylor
On Wed, Jan 15, 2014 at 12:38:18AM -0500, Lord Laraby wrote: >So, does cygwin now support installing software via Redhat Package >Manager? No, of course not. >Or is this RPM just a cross install tool just used for cygwin on linux >boxen? We've had an rpm binary in the distribution for probably 1

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-14 Thread Lord Laraby
Please forgive my TOFU above. This gmail client really has no manners at all. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: RPM 4.11.1-1 fails on Cygwin 1.7.27-1 and -2

2014-01-14 Thread Lord Laraby
So, does cygwin now support installing software via Redhat Package Manager? Or is this RPM just a cross install tool just used for cygwin on linux boxen? I tried to build RPM many long moons ago when cygwin was young, but other than very simple src packages, most everything failed to configure or b

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-14 Thread Lord Laraby
My two cents say, since the child is not referencing 'fp' at all, there is no violation of the POSIX semantics in this situation. It actually does seem, however, that the fork is closing, or at least forgetting the stdio file position of, fp when it forks. A possible memory corruption during fork f

Re: RPM 4.11.1-1 fails on Cygwin 1.7.27-1 and -2

2014-01-14 Thread Ken
Ken wrote: Hello, There appears to be a problem with the 'RPM' utility, as it produces no output, not even for --version or --help. It appears all dependencies are installed. I could not find any reports on this (bug?) in the lists, so here are the details. - 'rpm --version' reports nothi

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Steven Penny
On Tue, Jan 14, 2014 at 6:15 PM, Larry Hall (Cygwin) wrote > Perhaps it's time to add 'set -x' to your ~/.bash_profile and ~/.bashrc to see > what gets invoked on your end. Problem has been solved, I think you missed this link http://cygwin.com/ml/cygwin/2014-01/msg00152.html -- Problem reports:

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Larry Hall (Cygwin)
On 1/14/2014 6:50 PM, Steven Penny wrote: On Tue, Jan 14, 2014 at 10:54 AM, Larry Hall (Cygwin) wrote Problem reports: http://cygwin.com/problems.html After running cygcheck -s -v -r on both a "good" and "bad" Cygwin.bat I ran a "git diff" and noticed this +PS1 = '\[\e]0;\w\

Re: Cygrunsrv starts sshd twice after disconnect (1.7.25 i686 WinXP)

2014-01-14 Thread Larry Hall (Cygwin)
On 1/14/2014 4:55 PM, Alexander Kriegisch wrote: Ping. I have not received any answers in four weeks. If I can provide more info please tell me what, how, .. I see a second 'sshd' process created when I login to the server. The second has the first as its parent PID. From that, I'll gather t

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Steven Penny
On Tue, Jan 14, 2014 at 5:50 PM, Steven Penny wrote > However it doesnt make much sense because even with "bad" Cygwin.bat PS1 seems > to be already defined To answer my own question, PS1 is already defined, but not exported. This is because the export happens in /etc/profile, which is called with

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Steven Penny
On Tue, Jan 14, 2014 at 10:54 AM, Larry Hall (Cygwin) wrote >> Problem reports: http://cygwin.com/problems.html After running cygcheck -s -v -r on both a "good" and "bad" Cygwin.bat I ran a "git diff" and noticed this +PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Steven Penny
On Tue, Jan 14, 2014 at 10:54 AM, Larry Hall (Cygwin) wrote > Sorry, I cannot reproduce this. I guess we need more info if you're still > having the problem. See the problem reporting guidelines at the link below. So I tried this again, more in depth - Delete C:\cygwin folder - Fresh download o

Re: [ITA] tcl-sqlite3

2014-01-14 Thread Warren Young
On 1/14/2014 14:39, Yaakov (Cygwin/X) wrote: On 2014-01-14 14:52, Corinna Vinschen wrote: In how far does that affect the filename? This is a loadable module, not a link library, and unlike other language interpreters which load extensions directly based on file name, Tcl package-type extensio

Re: cygstart fails

2014-01-14 Thread Christian Franke
Buchbinder, Barry (NIH/NIAID) [E] wrote: Thomas Wolff sent the following at Tuesday, January 14, 2014 4:26 PM After today's setup update, cygstart (e.g. "cygstart .") fails with: /usr/bin/cygstart.exe: error while loading shared libraries: cygpopt-0.dll: cannot open shared object file: No such f

Re: cygstart fails

2014-01-14 Thread Warren Young
On 1/14/2014 14:26, Thomas Wolff wrote: After today's setup update, cygstart (e.g. "cygstart .") fails with: /usr/bin/cygstart.exe: error while loading shared libraries: cygpopt-0.dll: cannot open shared object file: No such file or directory (happened on two systems, both on Windows 7 64 bit, wi

RE: cygstart fails

2014-01-14 Thread Buchbinder, Barry (NIH/NIAID) [E]
Thomas Wolff sent the following at Tuesday, January 14, 2014 4:26 PM >After today's setup update, cygstart (e.g. "cygstart .") fails >with: /usr/bin/cygstart.exe: error while loading shared libraries: >cygpopt-0.dll: cannot open shared object file: No such file or directory >(happened on two system

Re: Cygrunsrv starts sshd twice after disconnect (1.7.25 i686 WinXP)

2014-01-14 Thread Alexander Kriegisch
Ping. I have not received any answers in four weeks. If I can provide more info please tell me what, how, .. > Am 18.12.2013 um 11:36 schrieb "Alexander Kriegisch" > : > > I have sshd running as a Windows service, installed via cygrunsrv. It > basically works fine, but once a day (maybe after

cygstart fails

2014-01-14 Thread Thomas Wolff
After today's setup update, cygstart (e.g. "cygstart .") fails with: /usr/bin/cygstart.exe: error while loading shared libraries: cygpopt-0.dll: cannot open shared object file: No such file or directory (happened on two systems, both on Windows 7 64 bit, with cygwin 32 bit; works with cygwin 64

Re: problem -- cygwin doesn't allow remounting of root; running 32-bit progs from 64-bit cygwin

2014-01-14 Thread Linda Walsh
Larry Hall (Cygwin) wrote: On 1/13/2014 9:04 PM, Linda Walsh wrote: So how can can I get mount to allow me to remount root -- i.e.: /usr/bin> mount C:\\ / mount: warning: couldn't determine mount type. mount: /: Operation not permitted Have you referred to the Users Guide on this topic?

Re: git clone fails on large repos when using cygcrypto-1.0.0.dll, works with 0.9.8

2014-01-14 Thread Chris O'Bryan
Thanks for trying to reproduce this. Could I trouble you to try a larger repo? I just managed to successfully check out the 10MB ffmpeg example 6 times in a row with no issue using 1.0.0, but can never successfully clone our 600MB internal repo. The error seems intermittent, and a larger repo seems

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Larry Hall (Cygwin)
On 1/14/2014 1:26 AM, Steven Penny wrote: On Mon, Jan 13, 2014 at 9:54 PM, Steven Penny wrote $ ~/foo.sh /home/Steve0^G Update, it only produces this output if I enter "~/foo.sh" using tab completion. That is to say, "~/f" + TAB. If I manually enter each character, it works as expect

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-14 Thread tednolan
In message <52d55d96.8070...@redhat.com>you write: > >Your program may be violating POSIX, which would trigger undefined behavior. > >Quoting POSIX: > pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_05 > [long quote elided] Yikes! That's pretty impenatrable. And if it s

Re: problem -- cygwin doesn't allow remounting of root; running 32-bit progs from 64-bit cygwin

2014-01-14 Thread Larry Hall (Cygwin)
On 1/13/2014 9:04 PM, Linda Walsh wrote: So how can can I get mount to allow me to remount root -- i.e.: mount C:\ / (when I do it, I either get perm problems OR a message about it being unable to figure out the type: /usr/bin> mount C:\\ / mount: warning: couldn't determine mount type. mount:

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-14 Thread Eric Blake
On 01/13/2014 09:06 AM, tedno...@bellsouth.net wrote: > Hello, > > I'm running: > > CYGWIN_NT-6.1 prog5 1.7.27(0.271/5/3) 2013-12-09 11:54 x86_64 Cygwin > gcc (GCC) 4.8.2 > > on a 64 bit Win7 system. > > I have just run into an odd bug, which I have boiled down into the program > below (which s

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-14 Thread Corinna Vinschen
On Jan 13 11:06, tedno...@bellsouth.net wrote: > Hello, > > I'm running: > > CYGWIN_NT-6.1 prog5 1.7.27(0.271/5/3) 2013-12-09 11:54 x86_64 Cygwin > gcc (GCC) 4.8.2 > > on a 64 bit Win7 system. > > I have just run into an odd bug, which I have boiled down into the program > below (which started

Re: Base 64-bit Cygwin now requires Perl?

2014-01-14 Thread Andrew Schulman
> On 2014-01-13 13:21, Andrew Schulman wrote: > > lftp also has this problem. It comes with a few sample scripts, two of > > which > > are in Perl. I include the sample scripts because why not, but cygport is > > now > > quite diligent about finding this sort of thing, with the result that its

Re: nested popen()'s lead to fgets() failure on 64-bit only

2014-01-14 Thread Corinna Vinschen
On Jan 13 22:41, David Levine wrote: > Corinna wrote: > > > Your PID values are pretty suspicious. Even on a busy machine they > > should seldomly have more than 4 digits, let alone 6. The PIDs are only > > getting high if process and other handles are hold and not closed by > > another process.