projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Apply vodz' last_patch52
[oweals/busybox.git]
/
libbb
/
xfuncs.c
diff --git
a/libbb/xfuncs.c
b/libbb/xfuncs.c
index 57c698079fd72231279c6fe6e39717373fdc1835..869c04a4c18119f60bc7a91b2756b2adf831ae1f 100644
(file)
--- a/
libbb/xfuncs.c
+++ b/
libbb/xfuncs.c
@@
-85,6
+85,13
@@
FILE *xfopen(const char *path, const char *mode)
return fp;
}
+/* Stupid gcc always includes its own builtin strlen()... */
+#undef strlen
+size_t xstrlen(const char *string)
+{
+ return(strlen(string));
+}
+
/* END CODE */
/*
Local Variables: