search for: strequ

Displaying 2 results from an estimated 2 matches for "strequ".

Did you mean: streq
2016 Jan 06
0
[PATCH klibc] gzip: Fix silent fallback to decompression
...Ignore an .exe extension for MSDOS, OS/2 and VMS. */ -#ifndef decompress if ( strncmp(progname, "un", 2) == 0 /* ungzip, uncompress */ || strncmp(progname, "gun", 3) == 0) { /* gunzip */ - decompress = 1; + decompress_wanted = 1; } -#endif if (strequ(progname+1, "cat") /* zcat, pcat, gcat */ || strequ(progname, "gzcat")) { /* gzcat */ -#ifndef decompress - decompress = 1; -#endif + decompress_wanted = 1; to_stdout = 1; } #endif @@ -282,9 +281,7 @@ int main (argc, argv) case 'c': to_stdout =...
2016 Jan 06
0
[klibc:master] gzip: Fix silent fallback to decompression
...Ignore an .exe extension for MSDOS, OS/2 and VMS. */ -#ifndef decompress if ( strncmp(progname, "un", 2) == 0 /* ungzip, uncompress */ || strncmp(progname, "gun", 3) == 0) { /* gunzip */ - decompress = 1; + decompress_wanted = 1; } -#endif if (strequ(progname+1, "cat") /* zcat, pcat, gcat */ || strequ(progname, "gzcat")) { /* gzcat */ -#ifndef decompress - decompress = 1; -#endif + decompress_wanted = 1; to_stdout = 1; } #endif @@ -282,9 +281,7 @@ int main (argc, argv) case 'c': to_stdout =...