svn commit: trunk/busybox/findutils
vda at busybox.net
vda at busybox.net
Thu Apr 5 00:35:44 UTC 2007
Author: vda
Date: 2007-04-04 17:35:43 -0700 (Wed, 04 Apr 2007)
New Revision: 18329
Log:
find: missed 'ststic' on const data
Modified:
trunk/busybox/findutils/find.c
Changeset:
Modified: trunk/busybox/findutils/find.c
===================================================================
--- trunk/busybox/findutils/find.c 2007-04-04 23:41:35 UTC (rev 18328)
+++ trunk/busybox/findutils/find.c 2007-04-05 00:35:43 UTC (rev 18329)
@@ -646,16 +646,17 @@
int find_main(int argc, char **argv);
int find_main(int argc, char **argv)
{
- bool dereference = FALSE;
- char *arg;
- char **argp;
- int i, firstopt, status = EXIT_SUCCESS;
- const char * const options[] = {
+ static const char * const options[] = {
"-follow",
USE_FEATURE_FIND_XDEV( "-xdev", )
NULL
};
+ bool dereference = FALSE;
+ char *arg;
+ char **argp;
+ int i, firstopt, status = EXIT_SUCCESS;
+
for (firstopt = 1; firstopt < argc; firstopt++) {
if (argv[firstopt][0] == '-')
break;
More information about the busybox-cvs
mailing list