← Commit list

08dea3e5a

Glenn L McGrath
Glenn L McGrath
2003-08-29
FAILED Duration: 76s

Subject

"This function was not updating the argc and argv pointers to reflect the arguments it consumed, which means the calling function encountered them as well. As a result, a command like "ip -6 addr" was yielding a usage error." - Philip Blundell

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 →

networking/libiproute/ip_parse_common_args.c+2 -0
@@ -71,4 +71,6 @@ void ip_parse_common_args(int *argcp, char ***argvp)
argc--; argv++;
}
_SL_ = oneline ? "\\" : "\n" ;
+ *argcp = argc;
+ *argvp = argv;
}