This is the mail archive of the
mailing list for the eCos project.
JFFS2 possible error on sign of ENOSPC error
- From: "Stephane Royo" <stephane dot royo at europe-technologies dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 2 Dec 2005 16:05:30 +0100
- Subject: [ECOS] JFFS2 possible error on sign of ENOSPC error
By using the JFFS2 support, i encountered a small problem about the sign of
error ENOSPC, in all code we can find "return -ENOSPC" excepted in one
case - around the line 1450 of fs-ecos.c- where we find "return ENOSPC":
if (writtenlen != len)
This difference forces the application to check the two cases; -ENOPSC and
ENOPSC if it wants detect the lack of space in FLASH.
Anybody could assure me that is an "error" ?
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss