s/__FUNCTION__/G_GNUC_FUNCTION/ ditto ditto ditto change "test $x == y" to
2002-01-28 Laszlo Peter <laca@ireland.sun.com> * archiver/location.c: s/__FUNCTION__/G_GNUC_FUNCTION/ * capplets/common/capplet-util.c: ditto * capplets/common/capplet-util.h: ditto * libbackground/preferences.c: ditto * applets/common/wrapper-script.in: change "test $x == y" to "test $x = y" for portability
This commit is contained in:
parent
66fa37fc6e
commit
a02d04c48b
6 changed files with 17 additions and 8 deletions
|
@ -679,11 +679,11 @@ location_do_rollback (Location *location, gchar *backend_id, xmlDocPtr doc)
|
|||
|
||||
if (fflush (output) == EOF)
|
||||
g_critical ("%s: Could not dump buffer: %s",
|
||||
__FUNCTION__, g_strerror (errno));
|
||||
G_GNUC_FUNCTION, g_strerror (errno));
|
||||
|
||||
if (fclose (output) == EOF) {
|
||||
g_critical ("%s: Could not close output stream: %s",
|
||||
__FUNCTION__, g_strerror (errno));
|
||||
G_GNUC_FUNCTION, g_strerror (errno));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -724,7 +724,7 @@ location_delete (Location *location)
|
|||
|
||||
if (rmdir (location->p->fullpath) == -1)
|
||||
g_warning ("%s: Could not remove directory: %s\n",
|
||||
__FUNCTION__, g_strerror (errno));
|
||||
G_GNUC_FUNCTION, g_strerror (errno));
|
||||
|
||||
location->p->deleted = TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue