Minor getenv-related fixes.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Feb 2013 02:10:36 +0000 (18:10 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Feb 2013 02:10:36 +0000 (18:10 -0800)
commit82017d9b63aead716bb896ebd459235ef3081445
treeec600fd525ed1d76c29c0097fb9d51f53361456d
parent1991bba4614e2838e570761bebab8a7720f9f1c4
Minor getenv-related fixes.

* callproc.c (Fcall_process_region) [!DOS_NT]:
Avoid unnecessary duplicate call to getenv.
* callproc.c (init_callproc):
* dispnew.c (init_display):
* sysdep.c (sys_subshell):
Omit unnecessary cast of getenv or egetenv.
src/ChangeLog
src/callproc.c
src/dispnew.c
src/sysdep.c