updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / mc-suse / mc-NULL.patch
blobbe48f6c341d3a6ca1f14c67ece590487e7c85d84
1 --- mc-4.6.2-pre1/src/cmd.c
2 +++ mc-4.6.2-pre1/src/cmd.c
3 @@ -1229,7 +1229,7 @@
4 sync_profiles ();
5 str = g_strconcat ( _(" Setup saved to ~/"), PROFILE_NAME, (char *) NULL);
7 - message (0, _(" Setup "), str);
8 + message (0, _(" Setup "), "%s", str);
9 g_free (str);
12 --- mc-4.6.2-pre1/src/hotlist.c
13 +++ mc-4.6.2-pre1/src/hotlist.c
14 @@ -1475,7 +1475,7 @@
15 msg = g_strconcat (_("MC was unable to write ~/"), HOTLIST_FILENAME,
16 _(" file, your old hotlist entries were not deleted"), (char *) NULL);
18 - message (D_ERROR, _(" Hotlist Load "), msg);
19 + message (D_ERROR, _(" Hotlist Load "), "%s", msg);
20 g_free (msg);
22 } else {
23 --- mc-4.6.2-pre1/vfs/smbfs.c
24 +++ mc-4.6.2-pre1/vfs/smbfs.c
25 @@ -566,7 +566,7 @@
26 if (p)
27 my_remote = p; /* strip off share/service name */
28 /* create remote filename as understood by smb clientgen */
29 - result = g_strconcat (my_remote, trailing_asterik ? "/*" : "", 0);
30 + result = g_strconcat (my_remote, trailing_asterik ? "/*" : "", (char *) NULL);
31 unix_to_dos (result, /* inplace = */ 1); /* code page conversion */
32 str_replace(result, '/', '\\');
33 return result;