GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread dazjorz
Hey all, I'm not very great with the inner workings of GNU or Cygwin libc, so please bear with me if I make any mistakes or misunderstandings. I was trying to get GNU coreutils to work on Cygwin. Maybe this seems weird to you guys, because Cygwin has coreutils, but there are a few reasons:

GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread dazjorz
Hey all, I'm not very great with the inner workings of GNU or Cygwin libc, so please bear with me if I make any mistakes or misunderstandings. I was trying to get GNU coreutils to work on Cygwin. Maybe this seems weird to you guys, because Cygwin has coreutils, but there are a few reasons:

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Larry Hall (Cygwin)
dazjorz wrote: Hey all, I'm not very great with the inner workings of GNU or Cygwin libc, so please bear with me if I make any mistakes or misunderstandings. I was trying to get GNU coreutils to work on Cygwin. Maybe this seems weird to you guys, because Cygwin has coreutils, but there are

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Sjors Gielen
Larry Hall (Cygwin) wrote: dazjorz wrote: Hey all, I'm not very great with the inner workings of GNU or Cygwin libc, so please bear with me if I make any mistakes or misunderstandings. I was trying to get GNU coreutils to work on Cygwin. Maybe this seems weird to you guys, because Cygwin

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Dave Korn
dazjorz wrote: - Cygwin didn't have md5sum, Cygwin does have md5sum in coreutils. You can see this at the cygwin package list: http://cygwin.com/packages/ by entering 'md5sum.exe' in the search box. - It should work, and Because I Can is always a valid reason in UNIX world

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sjors Gielen wrote: Did you try with Cygwin coreutils or GNU coreutils? :) Cygwin's coreutils *is* GNU coreutils, with some patches which you will find necessary. Yaakov -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Sjors Gielen
Yaakov (Cygwin/X) wrote: Sjors Gielen wrote: Did you try with Cygwin coreutils or GNU coreutils? :) Cygwin's coreutils *is* GNU coreutils, with some patches which you will find necessary. [snip] Dave Korn wrote: However, you may have to recreate all the cygwin-specific patches that the

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Matt Wozniski
On Sun, Jan 18, 2009 at 5:11 PM, Sjors Gielen wrote: I'm trying to create a full Cygwin port for Debian. This means the base system packages, et cetera. Let's just keep it at I love apt and dpkg for package managers. Keep in mind that apt and dpkg will never be able to work completely on

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Ed Schouten
Hello all, * Sjors Gielen mailingl...@dazjorz.com wrote: Yaakov (Cygwin/X) wrote: Sjors Gielen wrote: Did you try with Cygwin coreutils or GNU coreutils? :) Cygwin's coreutils *is* GNU coreutils, with some patches which you will find necessary. [snip] Dave Korn wrote: However, you

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Sjors Gielen on 1/18/2009 3:11 PM: cygwin bash maintainer hasn't managed to send upstream yet... [snip] ?? Are you using an old version?? It should be fixed by now. http://www.mail-archive.com/bug-coreut...@gnu.org/msg10188.html

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ed Schouten on 1/18/2009 3:19 PM: But that's not a proper fix anyway. cat can't just decide to reopen the file descriptor of the standard output. That even breaks the first sentence of POSIX: The cat utility shall read files

Re: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dave Korn on 1/18/2009 2:42 PM: However, you may have to recreate all the cygwin-specific patches that the cygwin bash maintainer hasn't managed to send upstream yet... Not only that, but some of those patches will never be sent