Bizarre Cygwin/Explorer/paths problem half-solved

2008-08-04 Thread Luke Kendall
I discovered today that if I try to run Windows Explorer from the Cygwin command line, and give it a pathname with spaces, it fails, but if I give the same command line to a cmd.exe command line, Explorer works! I.e. from Bash, explorer fails with an error message like "The path '/e,c:\temp\space

RE: flex: exec failed?

2008-08-04 Thread Jay
No longer a Cygwin issue (repros on Linux), but here's why if anyone interested: #include #include int main() { signal(SIGPIPE, SIG_IGN); << Python putenv("M4=foo"); system("flex 1.l"); return 0; } Without ignoring sigpipe, flex dies reading the pipe of a failed-to-exec child, b

Re: Bizarre Cygwin/Explorer/paths problem half-solved

2008-08-04 Thread Lev Bishop
On Mon, Aug 4, 2008 at 04:18, Luke Kendall wrote: >$ explorer /e,c:\\temp\\space\ dir >$ # NBG^ >$ explorer /e,c:\\temp >$ # GOOD^ >$ explorer c:\\temp\\space\ dir >$ # GOOD^ (but no side pane) >$ explorer /e,"c:\temp\space dir" >$ # NBG^ >$ explorer /e,"\"c:\te

genisoimage and links. Problems?

2008-08-04 Thread Angelo Graziosi
It seems that 'genisoimage' does not add correctly the symlinks to an iso image. Suppose that: $ ls -lrt /test/ totale 2 -rw-r--r-- 1 graziosi Users 77 Jun 11 23:00 hello.c lrwxrwxrwx 1 graziosi Users 7 Aug 4 12:32 hello -> hello.c Now: $ cd /tmp $ genisoimage -r -J -graft-points -V dati-1

Re: seg fault produces stackdump with no stack trace

2008-08-04 Thread Steve Waldo
Christopher Faylor writes: > I just checked in a fix which should keep the stack trace going even > when it finds a return address of zero. That'll be great. Thanks much! --Steve -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problem

RE: Bizarre Cygwin/Explorer/paths problem half-solved

2008-08-04 Thread Buchbinder, Barry (NIH/NIAID) [E]
Luke Kendall wrote on Monday, August 04, 2008 4:18 AM: > I discovered today that if I try to run Windows Explorer from the > Cygwin command line, and give it a pathname with spaces, it fails, > but if I give the same command line to a cmd.exe command line, > Explorer works! > > I.e. from Bash,

Perl mktime/gmtime peculiarities (Inc. Testcase)

2008-08-04 Thread NeilSaunders
Hi All, I'm writing an application in Perl that processes a logfile with timestamps with differing timezones - One in UTC, and one in BST. For the uninitiated, BST, or British Summer Time is UTC, with Daylight savings time running from 1am on the last Sunday of March until 1am UTC/2am BST on the

Re: cygwin gcc: Different numerical results in thread vs in main()

2008-08-04 Thread Richard Stanton
Thanks for the helpful information, David. Oddly, -ffloat-store doesn't seem to make any difference: [c:\projects\threads]gcc -ffloat-store -o thread1 thread1.c -lpthread [c:\projects\threads]thread1 Main: t/1+t =0.0005609048868329022342546 Thread 0: t/1+t =0.000560904886832902125834

RE: cygwin gcc: Different numerical results in thread vs in main()

2008-08-04 Thread Mike Marchywka
> Try compiling with -ffloat-store then report back. google for > "float-store excess precision gcc" to understand why this may help. Did you try disassembling the code? As I'm sure you know, only java AFAIK guarantees certain reproducible behaviour for floating point. If you change the optim

RE: cygwin gcc: Different numerical results in thread vs in main()

2008-08-04 Thread Dave Korn
Richard Stanton wrote on 04 August 2008 15:29: > Thanks for the helpful information, David. Oddly, -ffloat-store doesn't > seem to make any difference: No, unfortunately it can't be assumed to; it'll only come into play if the results get spilled to memory, rather than living in (x87) register

Re: OpenSSH installation under X64 Vista - can't log in

2008-08-04 Thread Paul Keeble
Jason Byerly ymail.com> writes: > > I am having a problem similar to that reported by Kevin Hilton at the > following URL: > http://sourceware.org/ml/cygwin/2007-12/msg00552.html ... > ssh_exchange_identification: Connection closed by remote host I have executed the same procedure as Jason a

RE: cygwin gcc: Different numerical results in thread vs in main()

2008-08-04 Thread Richard Stanton
1) The result from the within thread calculation matches my Mac output (note that the Mac is also an Intel based machine, and I'm also using gcc there, albeit version 4.0.1, so clearly something is operating differently there). The main() result is different from the Mac output. 2) Checking the

RE: cygwin gcc: Different numerical results in thread vs in main()

2008-08-04 Thread Mike Marchywka
> From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED]; cygwin@cygwin.com > Date: Mon, 4 Aug 2008 09:40:36 -0700 > Subject: RE: cygwin gcc: Different numerical results in thread vs in main() > > 1) The result from the within thread calculation matches my Mac output (note > that the Mac is also an In

Re: OpenSSH installation under X64 Vista - can't log in

2008-08-04 Thread Larry Hall (Cygwin)
Paul Keeble wrote: Jason Byerly ymail.com> writes: I am having a problem similar to that reported by Kevin Hilton at the following URL: http://sourceware.org/ml/cygwin/2007-12/msg00552.html ... ssh_exchange_identification: Connection closed by remote host I have executed the same proced

Re: genisoimage and links. Problems?

2008-08-04 Thread Brian Dessent
Angelo Graziosi wrote: > Burning 'dati-1.iso' or unpacking it shows: > > $ ls -lrt test/ > totale 1 > -rwx--+ 1 graziosi Nessuno 77 Jun 11 23:00 hello.c > -rwx--+ 1 graziosi Nessuno 0 Jun 11 23:00 hello > > Is this behaviour to be expected, have I missed something or are there > problem

Setup version

2008-08-04 Thread Mike Cappella
With the recent CVE security announcement regarding setup.exe: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-3323 I'm wondering if perhaps it make sense to include the version number of setup.exe on the main Cygwin web page? It is currently seems to require downloading setup.exe and running it

RE: cygwin gcc: Different numerical results in thread vs in main()

2008-08-04 Thread Angelo Graziosi
Dave Korn wrote: Take a look at the (legendary) GCC PR323: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 ... and in particular comment #60: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323#c60 ... which has a bit of code you can adapt (google for the definition of _FPU_SETCW, it's an inline a

Re: cygwin gcc: Different numerical results in thread vs in main()

2008-08-04 Thread Brian Dessent
Angelo Graziosi wrote: > ... and in Fortran? As long as you're using a recent gcc you can just use -mpc64. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: cygwin gcc: Different numerical results in thread vs in main()

2008-08-04 Thread Angelo Graziosi
Brian Dessent wrote: Angelo Graziosi wrote: ... and in Fortran? As long as you're using a recent gcc you can just use -mpc64. How recent? With GFortran 4.3.1 and $ cat test_case.0.f90 program test_case implicit none integer :: k integer, parameter :: DP = kind(1.D0),& N = 2

postgresql-client 8.2.9-1 - psql.exe returns nothing, just goes back to the prompt

2008-08-04 Thread Mark Tunnell
Typing psql.exe at the Cygwin Bash prompt results in no output; I just get the shell prompt back, no matter what switch I add, -V, etc. I don't use psql every day so I'm not positive when it stopped working but I'm pretty sure it was fine before my last Cygwin update. However, downgrading to the 8

Re: postgresql-client 8.2.9-1 - psql.exe returns nothing, just goes back to the prompt

2008-08-04 Thread Larry Hall (Cygwin)
Mark Tunnell wrote: Typing psql.exe at the Cygwin Bash prompt results in no output; I just get the shell prompt back, no matter what switch I add, -V, etc. I don't use psql every day so I'm not positive when it stopped working but I'm pretty sure it was fine before my last Cygwin update. However

Re: postgresql-client 8.2.9-1 - psql.exe returns nothing, just goes back to the prompt

2008-08-04 Thread Mark Tunnell
> Mark Tunnell wrote: >> >> Typing psql.exe at the Cygwin Bash prompt results in no output; I just >> get the shell prompt back, no matter what switch I add, -V, etc. I >> don't use psql every day so I'm not positive when it stopped working >> but I'm pretty sure it was fine before my last Cygwin

Does anyone use insight on cygwin?

2008-08-04 Thread Christopher Faylor
Does anyone actually use insight on Cygwin? Keith Seitz, the insight maintainer, has recently made changes which will allow insight to work with a non-special version of tcl/tk rather than the hacked version that it had previously been built with. That opens the door to building a real version of

RE: Does anyone use insight on cygwin?

2008-08-04 Thread Dave Korn
Christopher Faylor wrote on 05 August 2008 00:38: > Does anyone actually use insight on Cygwin? [ ... ] > The other alternative is to nuke insight entirely. Is anyone really > relying on it? Since I barely test it when I release gdb, I'd expect > that there would be problem reports but I don't

Re: Does anyone use insight on cygwin?

2008-08-04 Thread René Berber
Christopher Faylor wrote: Does anyone actually use insight on Cygwin? Yes, not regularly but it works fine. Keith Seitz, the insight maintainer, has recently made changes which will allow insight to work with a non-special version of tcl/tk rather than the hacked version that it had previous

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Charles Wilson
Christopher Faylor wrote: Does anyone actually use insight on Cygwin? I do. I am a complete idiot when it comes to using gdb in "normal" mode. Without insight, I'm lost. Keith Seitz, the insight maintainer, has recently made changes which will allow insight to work with a non-special versio

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Brian Dessent
Just another "me too": I use insight often and would be very disappointed to see it go. Of course, if that were to happen I'd just continune building it myself, but I think having it in the distro is very worthwhile, regardless of whether it becomes an X11 app or stays a GDI app. Brian -- Unsub

Re: CSIH file permission tests on non-NTFS broken (was Re: ssh-host-config script fails)

2008-08-04 Thread Charles Wilson
Corinna Vinschen wrote: A check for non-NTFS should be sufficient for now, IMHO. It's bad enough to run an OS on such an insecure file system, but it's hard to enforce upgrading to NTFS. However, ntsec and smbntsec are dead in the water and I don't think we should encourage usage of noacl more

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Christopher Faylor on 8/4/2008 5:38 PM: | Does anyone actually use insight on Cygwin? I generally debug with raw gdb, not insight, but I have used it. But I also generally run X, so I don't mind if insight depends on X. On the other ha

FW: [Ghdl-discuss] GHDL-0.27 for Cygwin

2008-08-04 Thread Jason Pyeron
Trying to work with gcc 4.2.4 and I am having some troubles. I tried to build gcc 4.2.4 with ada support using the latest cygwin gcc and a compiled gcc 4.1.2. If anyone on the list has some pointers I would appreciate it. TIA Output from gcc 4.1.2 building 4.2.4 make[3]: Leaving directory `/tm

Re: Setup version

2008-08-04 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Mike Cappella on 8/4/2008 2:33 PM: | With the recent CVE security announcement regarding setup.exe: | |http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-3323 | | I'm wondering if perhaps it make sense to include the version number of | set

Re: postgresql-client 8.2.9-1 - psql.exe returns nothing, just goes back to the prompt

2008-08-04 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Mark Tunnell on 8/4/2008 5:25 PM: |> Sounds like a missing dependency. Try 'cygcheck psql.exe' to see if it |> complains about any missing DLLs. If it does, you need to install the |> packages with the missing DLLs. See

Re: CSIH patch (Re: Unable to run sshd under a domain sshd_server account [SOLVED])

2008-08-04 Thread Charles Wilson
Corinna Vinschen wrote: Along these lines, yes. I also think that using the cyg_server/ cron_server/sshd_server account should be preferred over SYSTEM on XP and earlier systems, at least if they are domain member machines. Maybe simply like this: The test should run on any OS, but if none of

Re: genisoimage and links. Problems?

2008-08-04 Thread Sam Hanes
Brian Dessent wrote: > It seems perfectly expected to me. When you burn the image and then > attempt to read it on a Windows machine you're not going to see symlinks > because Windows itself doesn't support symlinks. Actually, NTFS does support symlinks, but unfortunately that capability is not e

Re: Does anyone use insight on cygwin?

2008-08-04 Thread henman
I planned to start learning and using insight soon. I also agree that its an important package to keep. Wynfield -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: Does anyone actually use insight on Cygwin? Keith Seitz, the insight maintainer, has recently made changes which will allow insight to work with a non-special version of tcl/tk rather than the hacked version that it had previously been built with. That opens the door t

RE: Bizarre Cygwin/Explorer/paths problem half-solved

2008-08-04 Thread Gary R. Van Sickle
Hi Luke, > I discovered today that if I try to run Windows Explorer from > the Cygwin command line, and give it a pathname with spaces, > it fails, but if I give the same command line to a cmd.exe > command line, Explorer works! > > I.e. from Bash, explorer fails with an error message like >

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Christopher Faylor
On Mon, Aug 04, 2008 at 08:33:15PM -0400, Charles Wilson wrote: > Christopher Faylor wrote: >> Does anyone actually use insight on Cygwin? > > I do. I am a complete idiot when it comes to using gdb in "normal" mode. > Without insight, I'm lost. > >> Keith Seitz, the insight >> maintainer, has rec

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Christopher Faylor
On Mon, Aug 04, 2008 at 07:06:12PM -0600, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Christopher Faylor on 8/4/2008 5:38 PM: > | Does anyone actually use insight on Cygwin? > >I generally debug with raw gdb, not insight, but I have used it. But I >also gen

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles Wilson wrote: | (1) How do you debug the Xserver if your debugger depends on it? | | Of course, there is nobody currently trying to debug the Xserver on | cygwin -- or develop it in any way -- so that's most likely a moot | point. And beside

Re: genisoimage and links. Problems?

2008-08-04 Thread Brian Dessent
Sam Hanes wrote: > Actually, NTFS does support symlinks, but unfortunately that > capability is not exposed in the Windows GUI. There's a command-line > tool from SysInternals that can manipulate them. If you are referring to junctions, they are most certainly not the same thing as symlinks, for

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Brian Dessent
Eric Blake wrote: > YEAH! Among others, the git package would appreciate the availability of > a modern tcl/tk. Do you think git users are going to be thrilled about having to now install and run the whole X11 server enchalada just to run gitk on Windows? The current GDI tcl/tk is a double-edge

Re: genisoimage and links. Problems?

2008-08-04 Thread tmcd
On Mon, 4 Aug 2008, Brian Dessent <[EMAIL PROTECTED]> wrote: > Sam Hanes wrote: > > > Actually, NTFS does support symlinks, but unfortunately that > > capability is not exposed in the Windows GUI. There's a > > command-line tool from SysInternals that can manipulate them. > > If you are referring t

Re: Does anyone use insight on cygwin?

2008-08-04 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian Dessent wrote: | Do you think git users are going to be thrilled about having to now | install and run the whole X11 server enchalada just to run gitk on | Windows? The current GDI tcl/tk is a double-edged sword: ancient, yes, | but also quit