projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change loff_t to Y_LOFF_T in Yaffs Direct
[yaffs2.git]
/
direct
/
handle_common.sh
diff --git
a/direct/handle_common.sh
b/direct/handle_common.sh
index 04dbcf9d2a0506e0758c75ec1da1de149ada1409..0e339f190ebd1c14003f33cea354da507e60f1bf 100755
(executable)
--- a/
direct/handle_common.sh
+++ b/
direct/handle_common.sh
@@
-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/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
done
elif [ "$1" = "clean" ] ; then
for i in $YAFFS_COMMON_SOURCES ; do