1
diff -Nur -x '*.orig' -x '*~' ggz-client-libs-0.0.14.1/ggz-config/ggz-config.c ggz-client-libs-0.0.14.1.new/ggz-config/ggz-config.c
2
--- ggz-client-libs-0.0.14.1/ggz-config/ggz-config.c 2008-01-06 06:02:46.000000000 +1100
3
+++ ggz-client-libs-0.0.14.1.new/ggz-config/ggz-config.c 2008-09-27 23:58:53.000000000 +1000
8
+ char new_pathname[(moddest ? strlen(destdir) : 0)
11
+ + strlen(suffix) + 3];
12
char fixedmodname[strlen(modname) + 1];
16
for(i = 0; i < strlen(fixedmodname); i++) {
17
if(fixedmodname[i] == '/') fixedmodname[i] = '_';
19
- sprintf(global_pathname, "%s/%s%s", global_pathname, fixedmodname, suffix);
20
+ sprintf(new_pathname, "%s/%s%s", global_pathname, fixedmodname, suffix);
22
- printf(_("Preserving %s as %s...\n"), modfile, global_pathname);
23
- return filecopy(modfile, global_pathname);
24
+ printf(_("Preserving %s as %s...\n"), modfile, new_pathname);
25
+ return filecopy(modfile, new_pathname);