glib r6736 - branches/glib-2-16/gio
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6736 - branches/glib-2-16/gio
- Date: Wed, 19 Mar 2008 12:18:14 +0000 (GMT)
Author: alexl
Date: Wed Mar 19 12:18:13 2008
New Revision: 6736
URL: http://svn.gnome.org/viewvc/glib?rev=6736&view=rev
Log:
2008-03-19 Alexander Larsson <alexl redhat com>
* gfile.c:
(copy_stream_with_progress):
Bump block side for copy to 64k to minimize
overhead for low latency links. (#523015)
Modified:
branches/glib-2-16/gio/ChangeLog
branches/glib-2-16/gio/gfile.c
Modified: branches/glib-2-16/gio/gfile.c
==============================================================================
--- branches/glib-2-16/gio/gfile.c (original)
+++ branches/glib-2-16/gio/gfile.c Wed Mar 19 12:18:13 2008
@@ -2124,7 +2124,7 @@
{
gssize n_read, n_written;
goffset current_size;
- char buffer[8192], *p;
+ char buffer[1024*64], *p;
gboolean res;
goffset total_size;
GFileInfo *info;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]