if (file_sep != 0)
sep[0] = file_sep;
outfilephbase = g_strconcat (fullfilebase, sep, "private.h", NULL);
- outfileph = g_strconcat (outfilephbase, no_touch ? "#gob#" : "", NULL);
+ outfileph = g_strconcat (outfilephbase, no_touch_headers ? "#gob#" : "", NULL);
} else {
outfilephbase = NULL;
outfileph = NULL;
}
-
+
if ( ! no_write) {
out = fopen (outfile, "w");
if (out == NULL) {
if (outph)
fclose (outph);
- if (! no_write) {
+ if (!no_write) {
if (no_touch) {
- compare_and_move (outfilebase);
+ compare_and_move(outfilebase);
+ }
+ if (no_touch_headers) {
+ compare_and_move(outfilehbase);
if (outfilephbase)
- compare_and_move (outfilephbase);
+ compare_and_move(outfilephbase);
}
- if (no_touch_headers)
- compare_and_move (outfilehbase);
}
-
+
return 0;
}