* callproc.c (init_callproc): Fix bug introduced at 2014-09-07.

Fixes: debbugs:18474
This commit is contained in:
Jan Djärv 2014-09-14 10:23:48 +02:00
parent 24acbc31d2
commit 3f7ae02b89
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-09-14 Jan Djärv <jan.h.d@swipnet.se>
* callproc.c (init_callproc): Fix bug introduced at
2014-09-07 (Bug#18474).
2014-09-13 Dmitry Antipov <dmantipov@yandex.ru>
Prefer ptrdiff_t to int and avoid integer overflows.

View file

@ -1579,7 +1579,7 @@ init_callproc (void)
Lisp_Object tempdir;
#ifdef HAVE_NS
if (data_dir == 0)
data_dir == ns_etc_directory () != 0;
data_dir = ns_etc_directory () != 0;
#endif
if (!NILP (Vinstallation_directory))