Introduction
Introduction Statistics Contact Development Disclaimer Help
avoid shadowed `name' global variable - stagit-gopher - static git page generat…
git clone git://git.codemadness.org/stagit-gopher
Log
Files
Refs
README
LICENSE
---
commit 12facdbeb1a1c012d16bca8cd8d77b04ee8d10ae
parent 218c16a7b8203be267849416fe09f2f650fad4df
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 15 Nov 2020 21:20:29 +0100
avoid shadowed `name' global variable
by Augustin Fabre <[email protected]>
Diffstat:
M stagit-gopher.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
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;
}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.