Changeset View
Changeset View
Standalone View
Standalone View
math/atlas/files/patch-tune+sysinfo+emit_buildinfo.c
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- tune/sysinfo/emit_buildinfo.c.orig 2014-07-10 18:22:24.000000000 +0200 | |||||
+++ tune/sysinfo/emit_buildinfo.c 2014-11-10 15:54:36.000000000 +0100 | |||||
@@ -53,7 +53,10 @@ | |||||
sprintf(ln, "%s > %s\n", cmnd, tnam); | |||||
fprintf(stderr, "system: %s", ln); | |||||
if (!system(ln)) return(tnam); | |||||
- else return(NULL); | |||||
+ else { | |||||
+ remove(tnam); | |||||
+ return(NULL); | |||||
+ } | |||||
} | |||||
void FixString(char *ln) | |||||
@@ -98,6 +101,7 @@ | |||||
assert(fp); | |||||
if (!fgets(ln, 512, fp)) ln[0] = '\0'; | |||||
fclose(fp); | |||||
+ remove(tnam); | |||||
return(0); | |||||
} | |||||
else ln[0] = '\0'; |