[En-Nut-Discussion] Opening files for append with size > 16KB failes on Nut/OS 4.6.0
Ole Reinhardt
ole.reinhardt at embedded-it.de
Fri Aug 22 11:36:14 CEST 2008
Hi,
> To the best of my knowledge I haven't had any
> trouble with the following code.
> I'm curious to know if the error remains if you
> use it. It may provide a clue where
> the problem is.
I'll give it a try. I just tested with
fd = fopen(fielname, "r+");
if (fd != NULL) {
fseek(fd, 0, SEEK_END);
}
Should be more or less the same. I'll now test you version too. The "r+"
version resulted in a watchdog reset when trying to access the file. It
seems that the fopen or the seek took too much time. I'll first remove
the watchdog and try again.
Regards,
Ole Reinhardt
--
_____________________________________________________________
| |
| Embedded-IT Hard- und Softwarelösungen |
| |
| Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 |
| Luisenstraße 29 Mobil: +49 (0)177 7420433 |
| 57076 Siegen eMail: ole.reinhardt at embedded-it.de |
| Germany Web: http://www.embedded-it.de |
| UstID / VAT: DE198944716 |
|_____________________________________________________________|
More information about the En-Nut-Discussion
mailing list