Home
avoid shadowed `name' global variable - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 12facdbeb1a1c012d16bca8cd8d77b04ee8d10ae DIR parent 218c16a7b8203be267849416fe09f2f650fad4df HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 15 Nov 2020 21:20:29 +0100 avoid shadowed `name' global variable by Augustin Fabre <augustin@augfab.fr> Diffstat: M stagit-gopher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/stagit-gopher.c b/stagit-gopher.c @@ -393,12 +393,12 @@ err: } FILE * -efopen(const char *name, const char *flags) +efopen(const char *filename, const char *flags) { FILE *fp; - if (!(fp = fopen(name, flags))) - err(1, "fopen: '%s'", name); + if (!(fp = fopen(filename, flags))) + err(1, "fopen: '%s'", filename); return fp; }