← Commit list

7d6c9296e

Denis Vlasenko
Denis Vlasenko
2007-04-05
FAILED Duration: 12s

Subject

find: missed 'ststic' on const data

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

findutils/find.c+6 -5
@@ -646,16 +646,17 @@ static action*** parse_params(char **argv)
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;