gnome-mount r179 - in trunk: . src
- From: diegoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-mount r179 - in trunk: . src
- Date: Thu, 26 Jun 2008 00:11:54 +0000 (UTC)
Author: diegoe
Date: Thu Jun 26 00:11:54 2008
New Revision: 179
URL: http://svn.gnome.org/viewvc/gnome-mount?rev=179&view=rev
Log:
2008-06-25 Diego Escalante Urrelo <diegoe gnome org>
* src/gnome-mount.c:
Use the envp argument of g_spawn_sync() with "LC_ALL=C" and "LANG=C", so
the checks for error messages of eject are always in English, otherwise the
checks will always fail and emit Hal.Device.Volume.UnknownFailure.
Modified:
trunk/ChangeLog
trunk/src/gnome-mount.c
Modified: trunk/src/gnome-mount.c
==============================================================================
--- trunk/src/gnome-mount.c (original)
+++ trunk/src/gnome-mount.c Thu Jun 26 00:11:54 2008
@@ -1947,7 +1947,7 @@
char *serr = NULL;
int exit_status;
char *args[3] = {"eject", NULL, NULL};
- char **envp = {NULL};
+ char *envp[3] = {"LC_ALL=C", "LANG=C", NULL};
if (opt_verbose)
g_print (_("Device %s is in /etc/fstab with mount point \"%s\"\n"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]