eb6c59bc48ccec382925ffc3b32e5bfa1e0479b7 |
|
27-May-2008 |
Christian Persch <chpe@gnome.org> |
Preserve errno when using g_set_error with _() and g_strerror()
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
a3fe42808174f1593559cfdcd581a4791d139f72 |
|
17-Mar-2009 |
Alexander Larsson <alexl@redhat.com> |
fix attributes argument of query_info methods to be "const char *". 2009-03-17 Alexander Larsson <alexl@redhat.com> * glocalfileinputstream.c: * glocalfileoutputstream.c: fix attributes argument of query_info methods to be "const char *". svn path=/trunk/; revision=8000
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
6cff88ba18b3bc0d118308f109840cb163dcea03 |
|
16-Mar-2009 |
Alexander Larsson <alexl@redhat.com> |
Bug 575555 – Use fsync() when replacing files to avoid data loss on 2009-03-16 Alexander Larsson <alexl@redhat.com> Bug 575555 – Use fsync() when replacing files to avoid data loss on crash * configure.in: Look for fsync(). * glib/gfileutils.c: (write_to_temp_file): fsync temp file if destination file exists 2009-03-16 Alexander Larsson <alexl@redhat.com> Bug 575555 – Use fsync() when replacing files to avoid data loss on crash * glocalfileoutputstream.c: (g_local_file_output_stream_close): (_g_local_file_output_stream_replace): fsync temp file before closing if replacing target file svn path=/trunk/; revision=7991
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
0fd66d7e22f410b7b540c2ab9383a3b2c235387a |
|
18-Feb-2009 |
Alexander Larsson <alexl@redhat.com> |
Bug 560564 – Replacing a symlink with its linked file truncates the 2009-02-18 Alexander Larsson <alexl@redhat.com> Bug 560564 – Replacing a symlink with its linked file truncates the original file * gioenums.h: Add G_FILE_CREATE_REPLACE_DESTINATION * glocalfileoutputstream.c: (handle_overwrite_open): (_g_local_file_output_stream_replace): Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files. * gfile.c: (file_copy_fallback): Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying with overwrite. svn path=/trunk/; revision=7880
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
02d9af3562e7b16104a8b1078d416d0b7a4ed796 |
|
23-Aug-2008 |
Tor Lillqvist <tml@novell.com> |
Bug 548988 - g_file_replace fails on Windows when the target file exists 2008-08-23 Tor Lillqvist <tml@novell.com> Bug 548988 - g_file_replace fails on Windows when the target file exists already * glocalfileoutputstream.c (g_local_file_output_stream_close): On Windows, close the file before renaming it (in case we have been writing to a file with a temporary name). (g_local_file_output_stream_close, handle_overwrite_open): Use GLocalFileStat instead of plain struct stat, for passing to _g_local_file_info_create_etag(). Thus also use _fstati64() instead of plain fstat() on Windows. svn path=/trunk/; revision=7388
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
3d93bf6968884d75dd2706ef85e2014305eb92f2 |
|
01-Jul-2008 |
Cody Russell <bratsche@gnome.org> |
Moved all relevant typedefs into these files. 2008-07-01 Cody Russell <bratsche@gnome.org> * gio/gioenums.h: * gio/giotypes.h: Moved all relevant typedefs into these files. * gio/*.[ch]: Updated wrt added files. Split types into separate file for easier maintainership. (#538564) svn path=/trunk/; revision=7127
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
761424465aaad736916b029383483b6ac419d831 |
|
22-Jun-2008 |
Johan Dahlin <jdahlin@async.com.br> |
Include "config.h" instead of <config.h> Command used: find -name 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch svn path=/trunk/; revision=7092
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
9c17697b56501d11b4c653432cc9e290347aa03e |
|
16-Jun-2008 |
Christian Persch <chpe@src.gnome.org> |
Use g_set_error_literal where appropriate. Patch from bug #535947. svn path=/trunk/; revision=7051
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
a4427bfff5d31499dc0b46fa3f734bc92f7d0dd5 |
|
16-Jun-2008 |
Michael Natterer <mitch@imendio.com> |
chain up unconditionally in finalize() and dispose(). Also don't 2008-06-16 Michael Natterer <mitch@imendio.com> * *.c: chain up unconditionally in finalize() and dispose(). Also don't dereference these function pointers when calling them since that has no meaning at all. svn path=/trunk/; revision=7048
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
3b1b6a9722f40495762fbb115a43b39d495c3170 |
|
18-Feb-2008 |
Alexander Larsson <alexl@redhat.com> |
Use g_unlink/g_rename instead of unlink/rename; do not pass raw filenames 2008-02-18 Alexander Larsson <alexl@redhat.com> * glocalfile.c: * glocalfileinfo.c: * glocalfileoutputstream.c: Use g_unlink/g_rename instead of unlink/rename; do not pass raw filenames to g_set_error. (#517239) Patch from Yevgen Muntyan. svn path=/trunk/; revision=6533
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
b221d1b36d0ed5ce22f21a986a352f6a92345c30 |
|
18-Feb-2008 |
Alexander Larsson <alexl@redhat.com> |
Open files with O_BINARY on windows. (#517140) 2008-02-18 Alexander Larsson <alexl@redhat.com> * glocalfile.c: * glocalfileoutputstream.c: Open files with O_BINARY on windows. (#517140) svn path=/trunk/; revision=6531
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
66ca14e807e6965e50a128e3847152605ded32eb |
|
14-Feb-2008 |
Alexander Larsson <alexl@redhat.com> |
Correctly check for HAVE_FCHMOD and HAVE_FCHOWN 2008-02-14 Alexander Larsson <alexl@redhat.com> * glocalfileoutputstream.c: Correctly check for HAVE_FCHMOD and HAVE_FCHOWN svn path=/trunk/; revision=6518
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
37ac644bd18168330f43f4d52be7e3cbb3415415 |
|
06-Feb-2008 |
Christian Persch <chpe@src.gnome.org> |
Save errno before calling other funcs that potentially alter it. Bug * gio/gdesktopappinfo.c: (ensure_dir): * gio/glocalfile.c: (g_local_file_query_filesystem_info), (g_local_file_read), (g_local_file_delete), (g_local_file_trash), (g_local_file_move): * gio/glocalfileinfo.c: (set_xattr), (_g_local_file_info_get), (_g_local_file_info_get_from_fd), (set_unix_mode), (set_unix_uid_gid), (set_symlink), (set_mtime_atime): * gio/glocalfileinputstream.c: (g_local_file_input_stream_read), (g_local_file_input_stream_skip), (g_local_file_input_stream_close), (g_local_file_input_stream_seek): * gio/glocalfileoutputstream.c: (g_local_file_output_stream_write), (g_local_file_output_stream_close), (g_local_file_output_stream_seek), (g_local_file_output_stream_truncate), (copy_file_data), (handle_overwrite_open): * gio/gunixinputstream.c: (g_unix_input_stream_read), (g_unix_input_stream_close), (read_async_cb), (close_async_cb): * gio/gunixoutputstream.c: (g_unix_output_stream_write), (g_unix_output_stream_close), (write_async_cb), (close_async_cb): Save errno before calling other funcs that potentially alter it. Bug #514766. svn path=/trunk/; revision=6466
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
c907c2832e0499491a10936c5dbea8b0f9b5b0b7 |
|
06-Feb-2008 |
Tomas Bzatek <tbzatek@redhat.com> |
Fallback to rename() if link() is not available (when no support on target 2008-02-06 Tomas Bzatek <tbzatek@redhat.com> * glocalfileoutputstream.c (g_local_file_output_stream_close): Fallback to rename() if link() is not available (when no support on target filesystem) svn path=/trunk/; revision=6464
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
54300dde6d77867aa53e60a2bdfd69cb9e644315 |
|
21-Jan-2008 |
Matthias Clasen <mclasen@redhat.com> |
Whitespace cleanups. 2008-01-21 Matthias Clasen <mclasen@redhat.com> * glocal*.c: * gvolumemanager.c: Whitespace cleanups. * glocalfileoutputsteam.c (_g_local_file_output_stream_create): Use the right mode when creating the file. svn path=/trunk/; revision=6341
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
4cb6eab803662aebb2a81fe97832dd7576391331 |
|
14-Dec-2007 |
Alexander Larsson <alexl@redhat.com> |
Clean up all flags enums to not have _FLAGS in them Make the names of some 2007-12-14 Alexander Larsson <alexl@redhat.com> * gappinfo.h: * gfile.[ch]: * gfileattribute.[ch]: * gio.symbols: * glocalfile.c: * glocalfileoutputstream.c: * gmountoperation.[ch]: * goutputstream.[ch]: Clean up all flags enums to not have _FLAGS in them Make the names of some of the enums better. * glocalfileinfo.c: Fix warning svn path=/trunk/; revision=6119
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
a33f8a7564cc649daf0dca0d67daac8430808cf9 |
|
08-Dec-2007 |
Hans Breuer <hans@breuer.org> |
[gio compiles and links on win32, not sure how much already works] ifdefed 2007-12-08 Hans Breuer <hans@breuer.org> [gio compiles and links on win32, not sure how much already works] * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info base on win32 API; prefer g_lstat() over lstat(); instead of localtime_r() use an all GLib implementation on win32; get_mount_info() still needs a win32 specifc implementation * glocalfileinfo.c : use HAVE_*_H; start of implementation of win32_get_file_user_info to get owner/group info without uid/gid * glocalfileinputstream.c : include <io.h> on win32 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS* definition, use g_win32_ftruncate() for G_OS_WIN32 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString it is available with mingw/w32api but a mess with the M$ Platform SDKs see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html * makefile.msc : updated svn path=/trunk/; revision=6070
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5 |
|
05-Dec-2007 |
Alexander Larsson <alexl@redhat.com> |
Rename all struct members named: read, write, close, truncate, or mount to 2007-12-05 Alexander Larsson <alexl@redhat.com> * gbufferedinputstream.c: * gbufferedoutputstream.c: * gdrive.[ch]: * gfile.[ch]: * gfileenumerator.[ch]: * gfileinputstream.c: * gfileoutputstream.[ch]: * gfilterinputstream.c: * gfilteroutputstream.c: * ginputstream.[ch]: * glocalfile.c: * glocalfileenumerator.c: * glocalfileinputstream.c: * glocalfileoutputstream.c: * gmemoryinputstream.c: * gmemoryoutputstream.c: * goutputstream.[ch]: * gseekable.[ch]: * gunixdrive.c: * gunixinputstream.c: * gunixoutputstream.c: Rename all struct members named: read, write, close, truncate, or mount to foo_fn, as these are reserved names and could be defined as macros in libc. (#501645) svn path=/trunk/; revision=6048
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
43ae3892110d4d4a0c744a10cbcbdcc337efefc1 |
|
03-Dec-2007 |
Hans Breuer <hans@breuer.org> |
[start of port to win32/msvc] HAVE_UNIST_H and _pipe() only include 2007-12-03 Hans Breuer <hans@breuer.org> [start of port to win32/msvc] * gcancellable.c : HAVE_UNIST_H and _pipe() * gcontenttype.c : only include <dirent.h> in the UNIX branch * gdatainputstream.c : pointer arithmetic on void* is a gcc extension * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use HAVE_UNIST_H * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/ * glocalvfs.c : use HAVE_PWD_H * gio.symbols : ifdef unix specific functions with G_OS_UNIX * makefile.msc : new file (maybe later converted to makefile.msc.in) * Makefile.am : added to EXTRA_DIST svn path=/trunk/; revision=6027
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
a2ca589703273fca80cb126430a8b058aba3eb52 |
|
30-Nov-2007 |
Matthias Clasen <matthiasc@src.gnome.org> |
More coding style fixes svn path=/trunk/; revision=5999
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
d9594f5709313d6e7a8a4f3e5f3b23fc72017417 |
|
28-Nov-2007 |
Alexander Larsson <alexl@redhat.com> |
Removed unnecessary file 2007-11-28 Alexander Larsson <alexl@redhat.com> * Makefile.am: * gdriveprivate.h: Removed unnecessary file * gdesktopappinfo.[ch]: * gdummyfile.[ch]: * gfile.c: * glocaldirectorymonitor.[ch]: * glocalfile.[ch]: * glocalfileenumerator.[ch]: * glocalfileinputstream.[ch]: * glocalfilemonitor.[ch]: * glocalfileoutputstream.[ch]: * glocalvfs.[ch]: * gnativevolumemonitor.c: * gpollfilemonitor.[ch]: * gunionvolumemonitor.[ch]: * gunixdrive.[ch]: * gunixvolume.[ch]: * gunixvolumemonitor.[ch]: * gvfs.c: * gvolumeprivate.h: * inotify/ginotifydirectorymonitor.[ch]: * inotify/ginotifyfilemonitor.[ch]: * inotify/inotify-helper.c: Append _ to all internal functions * gio.symbols: Add missing symbols Export symbols needed for modules svn path=/trunk/; revision=5977
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
7f3280230bc9448a5750fc17a6eabef691ba25f4 |
|
28-Nov-2007 |
Alexander Larsson <alexl@redhat.com> |
Added. Added. Added. Added. 2007-11-28 Alexander Larsson <alexl@redhat.com> * Makefile.am: * abicheck.sh: Added. * makegioalias.pl: Added. * pltcheck.sh: Added. * gio.symbols: Added. * *.c: * inotify/*.c Initial work on adding symbol handling. * gvfs.h: Correct ifdef guard name * fam/Makefile.am: * inotify/Makefile.am: * xdgmime/Makefile.am: Include toplevel Makefile.decl svn path=/trunk/; revision=5972
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
1b4453a12f76928bc5ae49a8da7c1f7259055a1d |
|
27-Nov-2007 |
Andre Klapper <a9016009@gmx.de> |
Fix a typo. 2007-11-27 Andre Klapper <a9016009@gmx.de> * glocalfileoutputstream.c: Fix a typo. svn path=/trunk/; revision=5959
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
5247f12f3649726471080440de0d37b78c1cec33 |
|
27-Nov-2007 |
Andrew Walton <awalton@src.gnome.org> |
Bumps documentation to 93% symbol coverage, touching most of the public files. Fixes broken function documentation prototypes. Fixes GCancellable inaccuracies. Removes unnecessary incomplete gtk-doc headers in private files. svn path=/trunk/; revision=5953
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|
3781343738de4abddf56982325a77bd70a98cd26 |
|
26-Nov-2007 |
Alexander Larsson <alexl@redhat.com> |
gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 Alexander Larsson <alexl@redhat.com> * Makefile.am: * configure.in: * gio-2.0-uninstalled.pc.in: * gio-2.0.pc.in: * gio-unix-2.0-uninstalled.pc.in: * gio-unix-2.0.pc.in: * gio/ * docs/reference/gio Merged gio-standalone into glib. * glib/glibintl.h: * glib/gutils.c: Export glib_gettext so that gio can use it Add P_ (using same domain for now) Add I_ as g_intern_static_string svn path=/trunk/; revision=5941
/external/bluetooth/glib/gio/glocalfileoutputstream.c
|