Thanx Johann Fixed in cvs. -- CHarles On Wednesday 15 November 2006 20:26, Johann Kok (JP) wrote: > In the function yaffsfs_DoUnlink() I found the following which seems > to me like duplicate code, but it won't break anything: > > else if(isDirectory && obj->variantType != > YAFFS_OBJECT_TYPE_DIRECTORY) > { > yaffsfs_SetError(-YAFFS_ENOTDIR, YAFFS_FILE, __LINE__); > } > else if(isDirectory && obj->variantType != > YAFFS_OBJECT_TYPE_DIRECTORY) > { > yaffsfs_SetError(-YAFFS_ENOTDIR, YAFFS_FILE, __LINE__); > } > > regards > Johann Kok > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > This e-mail and its contents are subject to the Telkom SA Limited > e-mail legal notice available at > http://www.telkom.co.za/TelkomEMailLegalNotice.PDF > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > _______________________________________________ > yaffs mailing list > yaffs@lists.aleph1.co.uk > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs