Commit e7ea7f24 authored by Sven Herzberg's avatar Sven Herzberg Committed by Sven Herzberg

Don't check for unportable functions, fixes #396923

2008-01-10  Sven Herzberg  <herzi@gnome-de.org>

	Don't check for unportable functions, fixes #396923

	Reviewed by Alex.

	* configure.in: don't check for unportable functions to modify the
	environment
	* src/nautilus-main.c: don't use putenv(), use g_unsetenv()

svn path=/trunk/; revision=13589
parent 15f390b5
2008-01-10 Sven Herzberg <herzi@gnome-de.org>
Don't check for unportable functions, fixes #396923
Reviewed by Alex.
* configure.in: don't check for unportable functions to modify the
environment
* src/nautilus-main.c: don't use putenv(), use g_unsetenv()
2008-01-10 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-directory-view.c:
......
......@@ -150,9 +150,6 @@ AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/param.h)
dnl ==========================================================================
AC_CHECK_FUNCS(setenv unsetenv putenv)
dnl ==========================================================================
AC_CHECK_FUNCS(statfs statvfs)
AC_CHECK_HEADERS(sys/statfs.h sys/statvfs.h)
......
......@@ -429,7 +429,7 @@ main (int argc, char *argv[])
if (startup_id != NULL && *startup_id != '\0') {
/* Clear the DESKTOP_STARTUP_ID, but make sure to copy it first */
startup_id_copy = g_strdup (startup_id);
putenv ("DESKTOP_STARTUP_ID=");
g_unsetenv ("DESKTOP_STARTUP_ID");
}
/* we'll do it ourselves due to complicated factory setup */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment