This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: STDIO - fread() and file I/O test
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: Thu, 06 Mar 2003 22:10:32 +0000
- Subject: Re: STDIO - fread() and file I/O test
- References: <1046984278.18776.3465.camel@hermes.chez-thomas.org>
Gary Thomas wrote:
+
+#define NUM_TEST_LINES 100
+#define TEST_DIR "/"
+#define TEST_FILE "test.file"
[snip]
+
+ fp = fopen("TEST_FILE", "w");
Just noticed.... this won't work quite as you expected, although it's
entirely benign. You can just fix it (and its friends further down) with
no need for ChangeLog IMHO - just a typo in the immediately previous change.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine