Author: nnielsen
Date: Fri Feb 15 05:01:28 2008
New Revision: 1065
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1065&view=rev
Log:
* library/gnome-keyring-proto.c: Build fix due to glib
g_realloc signature change.
Modified:
trunk/ChangeLog
trunk/library/gnome-keyring-proto.c
trunk/pk/gkr-pk-index.c
Modified: trunk/library/gnome-keyring-proto.c
==============================================================================
--- trunk/library/gnome-keyring-proto.c (original)
+++ trunk/library/gnome-keyring-proto.c Fri Feb 15 05:01:28 2008
@@ -1441,7 +1441,8 @@
offset = 8;
- if (!gkr_buffer_get_stringv (buffer, offset, &offset, environment,
g_realloc))
+ if (!gkr_buffer_get_stringv (buffer, offset, &offset, environment,
+ (GkrBufferAllocator)g_realloc))
return FALSE;
return TRUE;
Modified: trunk/pk/gkr-pk-index.c
==============================================================================
--- trunk/pk/gkr-pk-index.c (original)
+++ trunk/pk/gkr-pk-index.c Fri Feb 15 05:01:28 2008
@@ -536,7 +536,7 @@
if (force) {
path = index_path_for_location (index, loc);
if (path) {
- fd = open (path, O_RDONLY, S_IRUSR | S_IWUSR);
+ fd = open (path, O_RDONLY);
if (fd == -1) {
if (errno != ENOTDIR && errno != ENOENT) {
g_message ("couldn't open index file:
%s: %s",
@@ -753,7 +753,7 @@
fd = open (path, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR);
if (fd == -1) {
- g_message ("couldn't open index file: %s: %s",
path, g_strerror (errno));
+ g_message ("couldn't create index file: %s:
%s", path, g_strerror (errno));
goto done;
}
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.