Change loff_t to Y_LOFF_T in Yaffs Direct
[yaffs2.git] / direct / handle_common.sh
index 04dbcf9d2a0506e0758c75ec1da1de149ada1409..0e339f190ebd1c14003f33cea354da507e60f1bf 100755 (executable)
@@ -26,7 +26,9 @@ if [ "$1" = "copy" ] ; then
                -e "s/strncpy/yaffs_strncpy/g" \
                -e "s/strnlen/yaffs_strnlen/g" \
                -e "s/strcmp/yaffs_strcmp/g" \
-               -e "s/strncmp/yaffs_strncmp/g" >$i
+               -e "s/strncmp/yaffs_strncmp/g"\
+               -e "s/loff_t/Y_LOFF_T/g" \
+                >$i
        done
 elif [ "$1" = "clean" ] ; then 
        for i in $YAFFS_COMMON_SOURCES ; do