summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2019-05-14 10:00:57 -0700
committerAaron Plattner <aplattner@nvidia.com>2019-05-14 10:00:57 -0700
commit5472aeb2713135e675ca5cfa9b6b301281d58669 (patch)
treece3cd6f441bb7fe4a14bf8cd75b5099e07834a75
parent9a7cc4806aa8a12f089dd216e6318ec5a3792c1d (diff)
430.14430.14
-rw-r--r--misc.c10
-rw-r--r--version.mk2
2 files changed, 11 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 6c748b1..eada82b 100644
--- a/misc.c
+++ b/misc.c
@@ -285,6 +285,16 @@ int run_command(Options *op, const char *cmd, char **data, int output,
}
/*
+ * Clear LANG and LC_ALL before running the command, to make sure
+ * command output that might need to be parsed doesn't vary based
+ * on system locale settings.
+ */
+
+ unsetenv("LANG");
+ unsetenv("LC_ALL");
+
+
+ /*
* Open a process by creating a pipe, forking, and invoking the
* command.
*/
diff --git a/version.mk b/version.mk
index 5e94d96..496d309 100644
--- a/version.mk
+++ b/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 430.09
+NVIDIA_VERSION = 430.14