| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| From: | "Andy AT Jet-Net" <Andy AT jet-net DOT co DOT uk> |
| To: | =?iso-8859-1?q?Ren=E9_Berber?= <r DOT berber AT computer DOT org> |
| Cc: | cygwin AT cygwin DOT com |
| Date: | Fri, 05 May 2006 21:00:57 +0100 |
| Subject: | Re: C exe redirection blank file |
| Message-ID: | <4e2269bfcfAndy@jet-net.co.uk> |
| In-Reply-To: | <e3g084$921$1@sea.gmane.org> |
| References: | <4e225417b8AndyBurgess AT argonet DOT co DOT uk> <e3g084$921$1 AT sea DOT gmane DOT org> |
| User-Agent: | Pluto/3.03h (RISC-OS/4.02) POPstar/2.06-ds.3 |
| X-orpheus-MailScanner: | Found to be clean |
| X-orpheus-MailScanner-SpamCheck: | notspam, spamassassin (score=0.187, required 5, autolearn=disabled, AWL 0.19) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Thanks for your reply,
> > * Suddenly I could no longer redirect the output of this program, and the two
> > files it created were now blank.
> [snip]
> Did you forget to close the files
Thanks for that, that's fixed the writing of the files! Dunno why that's
happened only on this machine.
Is there a limit to the number of files on XP - like the old config.sys
option files=99?
> 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().
chkdsk fixed errors this time, but I still have the "problems with the file
system" error (maybe a red herring), and ...
I still can't redirect output. Any advice on this v gratefully received.
Cheers
Andy
--
_____ ______ _____________________________________________
//_ / /| /_ / /
__//__ / / |/__ / /...Your friendly computer professionals
____________________/ andy AT jet-net DOT co DOT uk
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |