Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59431 Details for
Bug 93400
gnome-extra/nautilus-share: a nautilus extension to share folders over SMB
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nautilus-share-0.5.1-dbus-api-3.patch
nautilus-share-0.5.1-dbus-api-3.patch (text/plain), 4.29 KB, created by
Ed Catmur
on 2005-05-20 21:27:40 UTC
(
hide
)
Description:
nautilus-share-0.5.1-dbus-api-3.patch
Filename:
MIME Type:
Creator:
Ed Catmur
Created:
2005-05-20 21:27:40 UTC
Size:
4.29 KB
patch
obsolete
>--- src/smbparser-dbus-client.c 2005/05/21 03:19:18 1.1 >+++ src/smbparser-dbus-client.c 2005/05/21 03:20:03 >@@ -347,7 +347,6 @@ smbparser_dbus_get_key(DBusConnection *b > if (dbus_message_get_args (reply, &error_args, DBUS_TYPE_STRING, &dbus_string, DBUS_TYPE_INVALID)) > { > value = ((dbus_string == NULL) || (strcmp(dbus_string,"")==0) ? NULL : g_strdup (dbus_string)); >- dbus_free (dbus_string); > } > else > g_print("GetKey error in dbus_message_get_args: %s\n",error_args.message); >@@ -387,7 +386,6 @@ smbparser_dbus_share_get_key(DBusConnect > if (dbus_message_get_args (reply, &error_args, DBUS_TYPE_STRING, &dbus_string, DBUS_TYPE_INVALID)) > { > value = ((dbus_string == NULL) || (strcmp(dbus_string,"")==0) ? NULL : g_strdup (dbus_string)); >- dbus_free (dbus_string); > } > else > g_print("GetKey error in dbus_message_get_args: %s\n",error_args.message); >@@ -425,7 +423,6 @@ smbparser_dbus_share_get_name(DBusConnec > if (dbus_message_get_args (reply, &error_args, DBUS_TYPE_STRING, &dbus_string, DBUS_TYPE_INVALID)) > { > value = ((dbus_string == NULL) || (strcmp(dbus_string,"")==0) ? NULL : g_strdup (dbus_string)); >- dbus_free (dbus_string); > } > else > g_print("ShareGetName error in dbus_message_get_args: %s\n",error_args.message); >--- src/smbparser-dbus-server.c 2005/05/21 03:18:27 1.1 >+++ src/smbparser-dbus-server.c 2005/05/21 03:18:54 >@@ -205,8 +205,6 @@ path_message_func (DBusConnection *conn > value = ""; > } > dbus_message_append_args (reply_message, DBUS_TYPE_STRING, &value, DBUS_TYPE_INVALID); >- dbus_free (path); >- dbus_free (key); > if (reply_message) > { > dbus_connection_send (connection, reply_message, NULL); >@@ -244,7 +242,6 @@ path_message_func (DBusConnection *conn > daemon_log(LOG_INFO,"Path %s is sharename %s\n", path, sharename); > } > dbus_message_append_args (reply_message, DBUS_TYPE_STRING, &sharename, DBUS_TYPE_INVALID); >- dbus_free (path); > if (reply_message) > { > dbus_connection_send (connection, reply_message, NULL); >@@ -309,8 +306,6 @@ path_message_func (DBusConnection *conn > } > } > } >- dbus_free (path); >- dbus_free (newname); > if (reply_message) > { > dbus_connection_send (connection, reply_message, NULL); >@@ -392,8 +387,6 @@ path_message_func (DBusConnection *conn > dbus_message_append_args (reply_message, DBUS_TYPE_UINT32, &reply_val, DBUS_TYPE_INVALID); > } > exit: >- dbus_free (name); >- dbus_free (path); > if (reply_message) > { > dbus_connection_send (connection, reply_message, NULL); >@@ -439,7 +432,6 @@ path_message_func (DBusConnection *conn > daemon_log(LOG_INFO,"SU Sharename not in used: %s\n", sharename); > dbus_message_append_args (reply_message, DBUS_TYPE_UINT32, &reply_val, DBUS_TYPE_INVALID); > } >- dbus_free (sharename); > if (reply_message) > { > dbus_connection_send (connection, reply_message, NULL); >@@ -468,7 +460,6 @@ path_message_func (DBusConnection *conn > DBUS_TYPE_INVALID)) { > writable = smbparser_sharename_is_writable(shares,path); > daemon_log(LOG_INFO,"Path %s -> %d\n", path, writable); >- dbus_free (path); > reply_message = dbus_message_new_method_return (message); > dbus_message_append_args (reply_message, DBUS_TYPE_BOOLEAN, &writable, DBUS_TYPE_INVALID); > if (reply_message) >@@ -540,9 +531,6 @@ signal_filter (DBusConnection *connectio > else > daemon_log(LOG_ERR,"SSK Sharename path:%s not found\n", path); > >- dbus_free (path); >- dbus_free (key); >- dbus_free (value); > } else { > daemon_log(LOG_ERR,"SetKey received, but error getting message: %s\n", error.message); > dbus_error_free (&error); >@@ -573,8 +561,6 @@ signal_filter (DBusConnection *connectio > else > daemon_log(LOG_ERR,"SRK Sharename path:%s not found\n", path); > >- dbus_free (path); >- dbus_free (key); > } else { > daemon_log(LOG_ERR,"RemoveKey received, but error getting message: %s\n", error.message); > dbus_error_free (&error); >@@ -602,7 +588,6 @@ signal_filter (DBusConnection *connectio > } > else > daemon_log(LOG_ERR,"SRS Sharename path:%s not found\n", path); >- dbus_free (path); > } else { > daemon_log(LOG_ERR,"RemoveSection received, but error getting message: %s\n", error.message); > dbus_error_free (&error);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 93400
:
59428
|
59429
|
59430
|
59431
|
59432
|
59433
|
59473
|
59474
|
59508
|
60724
|
60725
|
60841
|
66363
|
86198
|
86199
|
94146
|
94926
|
94927
|
94928
|
94930
|
105251
|
161268
|
161269