Commit Graph

6929 Commits

Author SHA1 Message Date
Benjamin Otte
3826963e65 Use lchmod instead of stat + chown if available
Fallout of the NOFLOOW_SYMLINKS fix from bug 593406
2009-09-01 21:53:35 +02:00
Benjamin Otte
48e0af0157 Bug 593406 - Permissions set to 777 after copying via Nautilus
Only fail to set the permissions when the actual file is a symlink.
The previous fix failed for every file when NOFOLLOW_SYMLINKS was set.
2009-09-01 21:33:11 +02:00
Benjamin Otte
bb7852e34b Only do the chmod NOFOLLOW_SYMLINK checks with HAVE_SYMLINK 2009-09-01 21:29:43 +02:00
Dan Winship
8212aadac7 g_time_val_from_iso8601: handle timezoneless dates
per ISO 8601:2004 4.2.5.2

Based on a patch from Andy Shevchenko
http://bugzilla.gnome.org/show_bug.cgi?id=589491
2009-09-01 09:40:03 -04:00
Benjamin Otte
fc44bf40a4 Fix gtk-doc syntax 2009-09-01 12:48:55 +02:00
Benjamin Otte
e695c0932f Bug 593406 - Permissions set to 777 after copying via Nautilus
When doing a g_file_copy() with nofollow-symlinks (to copy a link for
example), the later copying of the file attributes copies the source
links 777 attributes to the target's attributes. As chmod affects the
symlink target, this would cause such copies to always set the target to
777 mode.

This patch makes setting the mode with nofollow-symlinks fail with
NOT_SUPPORTED.

The aforementioned g_file_copy() will still succeed, because it ignores
errors of the attribute copy.
2009-09-01 12:15:31 +02:00
Kjartan Maraas
e967a47117 Update Norwegian bokmål translation. 2009-09-01 10:52:59 +02:00
Sandeep Shedmake
c433158e86 Updated Marathi Translations 2009-08-31 20:47:13 +05:30
Sandeep Shedmake
c59dbb4ddf Updated Marathi Translations 2009-08-31 20:29:16 +05:30
krishnababu k
ee8e145472 Updated Telugu Translations 2009-08-31 19:41:54 +05:30
Shankar Prasad
3a7560b00a Updated Kannada(kn) translation 2009-08-31 13:34:44 +05:30
Rodrigo L. M. Flores
31924b1980 Updated Brazilian Portuguese mailing list address. 2009-08-30 19:41:47 -03:00
Petr Kovar
f2b8b69112 Updated Czech translation 2009-08-29 21:05:19 +02:00
Matthias Clasen
c47dca4cfe Re-commit 30b8774f7f
Turns out Alex had agreed to this.
2009-08-27 23:40:16 -04:00
Matthias Clasen
2889f1b8a3 Use the saved errno value
Bug 591995
2009-08-27 23:02:08 -04:00
Matthias Clasen
3ba64e72cf Read /dev/urandom unbuffered
To avoid wasting entropy. Bug 593232.
2009-08-27 22:59:05 -04:00
Matthias Clasen
3a47f48311 Revert "add a "gsettings-backend" extension point to GIO"
This reverts commit 30b8774f7f.
2009-08-27 22:51:53 -04:00
Ryan Lortie
30b8774f7f add a "gsettings-backend" extension point to GIO 2009-08-27 13:45:48 -04:00
Luca Ferretti
df981f82a0 Updated Italian translation 2009-08-26 22:04:58 +02:00
Luca Ferretti
71b684b9cf Updated Italian translation 2009-08-26 15:32:23 +02:00
Amitakhya Phukan
884c789ef5 Updating Assamese translations 2009-08-26 17:34:17 +05:30
Ani
195abb97ff Updated Malayalam Translations 2009-08-26 15:18:57 +05:30
ifelix
6c1466a2d2 Updated Tamil Translations 2009-08-25 14:10:56 +05:30
Manoj Kumar Giri
64b49c9087 Updated Oriya Translation 2009-08-25 12:14:41 +05:30
Baris Cicek
24c31a79e1 Updated Turkish translation. 2009-08-25 00:38:34 +03:00
Luca Ferretti
ef5aef582e Fix bump version 2009-08-24 21:28:11 +02:00
Matthias Clasen
83d3242d12 Bump version 2009-08-24 14:15:13 -04:00
Matthias Clasen
106cd06ff3 2.21.5 2009-08-24 14:13:49 -04:00
Matthias Clasen
eadef0325a Documentation fixes 2009-08-24 13:34:38 -04:00
Matthias Clasen
d1cbb96428 Updates 2009-08-24 13:34:38 -04:00
Carles Ferrando
002da02df8 Minor update to Catalan (Valencian) translation 2009-08-24 18:38:33 +02:00
Rajesh Ranjan
2e0656063b hindi updated by Rajesh Ranjan 2009-08-24 16:52:25 +05:30
Sweta Kothari
4a5e71b847 Updated Gujarati Translations 2009-08-24 14:23:56 +05:30
Duarte Loreto
90f9eb6e40 Updated Portuguese translation 2009-08-23 14:59:14 +01:00
Changwoo Ryu
feedeb1d12 Update Korean translation 2009-08-23 00:50:28 +09:00
Christian Persch
8ef30758d5 Preserve errno
When using errno in g_set_error with _(), preserve errno. Bug #592457.
2009-08-22 15:08:43 +02:00
A S Alam
feff29aefc Update Punjabi after Review 2009-08-22 06:15:29 +05:30
Tommi Vainikainen
a568b054ad Updated Finnish translation 2009-08-21 23:43:53 +03:00
Takayuki KUSANO
956996ddaa Update Japanese translation. 2009-08-21 00:15:12 +09:00
Tomasz Dominikowski
2a880831ed Updated Polish translation 2009-08-20 11:55:03 +02:00
Dan Winship
cd5bd15987 Use MSG_NOSIGNAL in GSocket if it's available
Even though we ignore SIGPIPE, gdb will still stop when the process
receives one, which sometimes confuses people into thinking the app
has crashed (eg, bug 578984, bug 590420), and is annoying anyway. So
use MSG_NOSIGNAL if it's there.

http://bugzilla.gnome.org/show_bug.cgi?id=591378
2009-08-19 12:12:15 -04:00
Dan Winship
021dd960cf Re-run res_init() when resolv.conf changes
libc caches the contents of resolv.conf, so if it changes (eg, because
the network state changed), we need re-run res_init().

http://bugzilla.gnome.org/show_bug.cgi?id=584246
2009-08-19 12:08:15 -04:00
Benjamin Otte
6db03d73a4 When creating a pipe for a cancelled cancellable, write to it
Includes (untested) fix for win32 that calls SetEvent() in that case.
2009-08-19 11:02:06 +02:00
Benjamin Otte
faae032ad0 Use g_cancellable_release_fd()
Part of: Bug 591388 - number of GCancellables available is too limited
2009-08-19 11:02:06 +02:00
Benjamin Otte
e2c97292c2 Implement g_cancellable_release_fd()
Part of: Bug 591388 - number of GCancellables available is too limited
2009-08-19 11:02:06 +02:00
Benjamin Otte
63426886ff Add g_cancellable_release_fd()
This patch only adds the function. The function is a NOP.
See the API documentation for a rationale.

Part of: Bug 591388 - number of GCancellables available is too limited
2009-08-19 11:02:05 +02:00
Benjamin Otte
bb8e4f06ab Bug 591714 – Figure out failure handling for g_cancellable_make_pollfd()
Make g_cancellable_make_pollfd() return a gboolean that indicates its error
status. Update the code that calls this function accordingly.
2009-08-19 11:02:05 +02:00
Og B. Maciel
a0e3b4ae84 Updated Brazilian Portuguese translation. 2009-08-18 23:09:12 -04:00
Benjamin Otte
981d14e85c Improve documentation for g_error_matches() 2009-08-18 11:35:01 +02:00
Benjamin Otte
a6ac4e90d5 Fix multiple returns in gtk-doc comment 2009-08-18 11:34:20 +02:00