Re: fhandler_base::dup failed error after upgrade to 1.5.11-1

2004-09-10 Thread Mark Bohlman
Christopher Faylor wrote:
On Thu, Sep 09, 2004 at 07:16:22PM -0400, Matthew Moss wrote:
I ran into a problem after installing updates. I removed cygwin and
reinstalled and now have a fresh installation of 1.5.11-1 using
setup.exe 2.427.
I tried the following command in bash:

tidy contrib.html  con.html
Which gave the following error:
479975353 [main] bash 4024 fhandler_base::dup: dup(/home/Matthew
Moss/con.html) failed, handle 2F, Win32 error 87
bash: con.html: Invalid argument

con is a reserved word on Windows.  Cygwin 1.5.10 erroneously let you
produce a filename named con but 1.5.11 no longer allows this.
This error message should not occur and that should be fixed but fixing
things to provide a more unix-like error message is, unfortunately, not
going to solve your problem.
Sorry.
cgf
See also http://cygwin.com/ml/cygwin/2004-06/msg01235.html if you have 
no way to get rid of any create con file.
-- Mark

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


fhandler_base::dup failed error after upgrade to 1.5.11-1

2004-09-09 Thread Matthew Moss
I ran into a problem after installing updates. I removed cygwin and
reinstalled and now have a fresh installation of 1.5.11-1 using
setup.exe 2.427.

I tried the following command in bash:

 tidy contrib.html  con.html

Which gave the following error:

479975353 [main] bash 4024 fhandler_base::dup: dup(/home/Matthew
Moss/con.html) failed, handle 2F, Win32 error 87
bash: con.html: Invalid argument

Strangely, any of the following worked fine:

 tidy contrib.html  c.html
 tidy contrib.html  co.html
 tidy contrib.html  cont.html


Only when I redirected to con.html did I get that error.  I get a
similar error simply doing this:

 cat contrib.html  con.html

Which again, strangely, works for other target filenames.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: fhandler_base::dup failed error after upgrade to 1.5.11-1

2004-09-09 Thread Christopher Faylor
On Thu, Sep 09, 2004 at 07:16:22PM -0400, Matthew Moss wrote:
I ran into a problem after installing updates. I removed cygwin and
reinstalled and now have a fresh installation of 1.5.11-1 using
setup.exe 2.427.

I tried the following command in bash:

 tidy contrib.html  con.html

Which gave the following error:

479975353 [main] bash 4024 fhandler_base::dup: dup(/home/Matthew
Moss/con.html) failed, handle 2F, Win32 error 87
bash: con.html: Invalid argument

con is a reserved word on Windows.  Cygwin 1.5.10 erroneously let you
produce a filename named con but 1.5.11 no longer allows this.

This error message should not occur and that should be fixed but fixing
things to provide a more unix-like error message is, unfortunately, not
going to solve your problem.

Sorry.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/