gnome-keyring r1065 - in trunk: . library pk
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-keyring r1065 - in trunk: . library pk
- Date: Fri, 15 Feb 2008 05:01:28 +0000 (GMT)
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]