STDIO - fread() and file I/O test

Jonathan Larmour jifl@eCosCentric.com
Thu Mar 6 22:11:00 GMT 2003


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



More information about the Ecos-patches mailing list