Mail Archives: cygwin/2006/05/05/18:02:48
Andy AT Jet-Net wrote:
> Thanks for your reply,
>=20
>>> * Suddenly I could no longer redirect the output of this program, and t=
he two
>>> files it created were now blank.
>> [snip]
>=20
>> Did you forget to close the files=20
> Thanks for that, that's fixed the writing of the files! Dunno why that's
> happened only on this machine.=20
The normal exit does flush and close all open file descriptors, so what you=
are
seeing is odd.
Now, the normal exit is part of the "run time" (crt0 or a similar name, that
calls main and cleans up after) and that part is statically linked so, unle=
ss it
depends on functionality on a Windows dll, it should not vary between machi=
nes.
I don't know if those basic libraries get Windows patches (updates in
Microsoft-talk)... could be worth trying.
> Is there a limit to the number of files on XP - like the old config.sys
> option files=3D99?
I don't know.
>> and/or are exiting the program in a non-standard way?
> I don't think so. With issues - can't open port - I exit with a "return -=
1"
> otherwise I just fall out of the bottom of the main().=20
>=20
> chkdsk fixed errors this time, but I still have the "problems with the fi=
le
> system" error (maybe a red herring), and ...
>=20
> I still can't redirect output. Any advice on this v gratefully received.
That's a weird one, I have no idea what is going on (I was thinking about
anti-virus or similar software that prevent creating files, but it doesn't =
look
quite like that).
--=20
Ren=E9 Berber
--
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/
- Raw text -