Mailinglist Archive: opensuse-commit (1358 mails)

< Previous Next >
commit gnome-vfs2 for openSUSE:Factory
Hello community,

here is the log from the commit of package gnome-vfs2 for openSUSE:Factory
checked in at 2014-01-15 19:35:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-vfs2 (Old)
and /work/SRC/openSUSE:Factory/.gnome-vfs2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-vfs2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-vfs2/gnome-vfs2.changes 2014-01-09
17:24:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-vfs2.new/gnome-vfs2.changes
2014-01-15 19:35:34.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Jan 8 14:53:33 UTC 2014 - dimstar@xxxxxxxxxxxx
+
+- Add gnome-vfs2-g_memmove-no-more.patch: Use memmove in place of
+ obsolete g_memmove.
+
+-------------------------------------------------------------------

New:
----
gnome-vfs2-g_memmove-no-more.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-vfs2.spec ++++++
--- /var/tmp/diff_new_pack.Xx0hLF/_old 2014-01-15 19:35:35.000000000 +0100
+++ /var/tmp/diff_new_pack.Xx0hLF/_new 2014-01-15 19:35:35.000000000 +0100
@@ -66,6 +66,8 @@
Patch42: gnome-vfs2-non_void.patch
# PATCH-FIX-OPENSUSE gnome-vfs2-ssl.patch bgo#681242 crrodriguez@xxxxxxxxxxxx
- Never negotiate SSLv2 because it is broken
Patch43: gnome-vfs2-ssl.patch
+# PATCH-FIX-UPSTREAM gnome-vfs2-g_memmove-no-more.patch dimstar@xxxxxxxxxxxx
-- Use memmove() instead of obsolete g_memmove()
+Patch44: gnome-vfs2-g_memmove-no-more.patch
# bug437293
%ifarch ppc64
Obsoletes: gnome-vfs2-64bit
@@ -120,6 +122,7 @@
%patch40
%patch42
%patch43
+%patch44 -p1

# ^ Place for your patches is here
#

++++++ gnome-vfs2-g_memmove-no-more.patch ++++++
Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-ace.c
===================================================================
--- gnome-vfs-2.24.4.orig/libgnomevfs/gnome-vfs-ace.c
+++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-ace.c
@@ -523,7 +523,7 @@ gnome_vfs_ace_del_perm (GnomeVFSACE

for (i=0; i<permset->count; i++) {
if (permset->perms[i] == perm) {
- g_memmove (&permset->perms[i], &permset->perms[i+1],
permset->count - i);
+ memmove (&permset->perms[i], &permset->perms[i+1],
permset->count - i);
permset->count--;
break;
}
Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-job.c
===================================================================
--- gnome-vfs-2.24.4.orig/libgnomevfs/gnome-vfs-job.c
+++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-job.c
@@ -851,7 +851,7 @@ serve_channel_read (GnomeVFSHandle *hand
if (written_bytes_in_buffer > 0) {
/* Need to shift the unwritten
bytes
to the start of the buffer */
- g_memmove(buffer,
+ memmove(buffer,
(char *) buffer +
written_bytes_in_buffer,

filled_bytes_in_buffer - written_bytes_in_buffer);
filled_bytes_in_buffer =
Index: gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-resolve.c
===================================================================
--- gnome-vfs-2.24.4.orig/libgnomevfs/gnome-vfs-resolve.c
+++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-resolve.c
@@ -115,7 +115,7 @@ resolvehandle_from_hostent (struct hoste
*handle = NULL;

for (iter = he->h_addr_list; *iter != NULL; iter++) {
- g_memmove (aptr, *iter, he->h_length);
+ memmove (aptr, *iter, he->h_length);
addr = gnome_vfs_address_new_from_sockaddr (sa,
addrlen);

if (addr != NULL)
Index: gnome-vfs-2.24.4/modules/nntp-method.c
===================================================================
--- gnome-vfs-2.24.4.orig/modules/nntp-method.c
+++ gnome-vfs-2.24.4/modules/nntp-method.c
@@ -587,7 +587,7 @@ remove_numbers_between_dashes(char *inpu
segment_size = right_ptr - left_ptr;
if (all_numbers_or_spaces(left_ptr, right_ptr) &&
segment_size > 1) {
length_to_end = strlen(right_ptr + 1) + 1;
- g_memmove(left_ptr, right_ptr + 1,
length_to_end);
+ memmove(left_ptr, right_ptr + 1,
length_to_end);
} else {
left_ptr = right_ptr;
}
@@ -680,7 +680,7 @@ remove_of_expressions (char *input_str)
if (found_number) {
length_to_end = strlen(right_ptr);
if (length_to_end > 0) {
- g_memmove(left_ptr + 1, right_ptr,
length_to_end + 1);
+ memmove(left_ptr + 1, right_ptr, length_to_end
+ 1);
} else {
left_ptr += 1;
*left_ptr = '\0';
@@ -715,7 +715,7 @@ filter_folder_name(char *folder_name)
right_ptr = strchr(left_ptr, ']');
if (right_ptr != NULL && right_ptr > left_ptr) {
length_to_end = strlen(right_ptr + 1) + 1;
- g_memmove(left_ptr, right_ptr + 1, length_to_end);
+ memmove(left_ptr, right_ptr + 1, length_to_end);
}
}

@@ -757,7 +757,7 @@ remove_commas(char *source_str)
ptr = source_str;
while (*ptr != '\0') {
if (*ptr == ',') {
- g_memmove(ptr, ptr+1, strlen(ptr));
+ memmove(ptr, ptr+1, strlen(ptr));
} else {
ptr += 1;
}
@@ -1267,7 +1267,7 @@ load_from_article (NNTPConnection *conn,
line_len = conn->buffer_size - buffer_offset;
}
dest_ptr = (char*) conn->buffer + buffer_offset;
- g_memmove(dest_ptr, line, line_len);
+ memmove(dest_ptr, line, line_len);
if (conn->uu_decode_mode) {
line_len = uu_decode_text(dest_ptr, line_len);
buffer_offset += line_len;
@@ -1354,7 +1354,7 @@ copy_bytes_from_buffer(NNTPConnection *c
size_to_move = bytes_to_read;
}
/* move the bytes from the buffer */
- g_memmove(destination_buffer, ((char*) connection->buffer) +
connection->buffer_offset, size_to_move);
+ memmove(destination_buffer, ((char*) connection->buffer) +
connection->buffer_offset, size_to_move);

/* update the counts */
connection->buffer_offset += size_to_move;
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread