Mercurial > yaffs-ecoscentric
diff direct/yaffsfs.c @ 19:8d0f599f5920
*** empty log message ***
| author | charles |
|---|---|
| date | Sun, 03 Jul 2005 06:48:11 +0100 |
| parents | 0ea63ca43a42 |
| children | 12ec56e7ccfa |
line wrap: on
line diff
--- a/direct/yaffsfs.c +++ b/direct/yaffsfs.c @@ -578,6 +578,7 @@ int yaffs_write(int fd, const void *buf, yaffs_Object *obj = NULL; int pos = 0; int nWritten = -1; + int writeThrough = 0; yaffsfs_Lock(); h = yaffsfs_GetHandlePointer(fd); @@ -603,7 +604,7 @@ int yaffs_write(int fd, const void *buf, pos = h->position; } - nWritten = yaffs_WriteDataToFile(obj,buf,pos,nbyte); + nWritten = yaffs_WriteDataToFile(obj,buf,pos,nbyte,writeThrough); if(nWritten >= 0) {
