Mercurial > emacs
comparison src/callproc.c @ 5688:a0f01b43a459
Include stdio.h.
(init_callproc): Put non-ex-dir warnings on stderr.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 29 Jan 1994 01:16:17 +0000 |
parents | a70dc7c886d0 |
children | ae4c6623837b |
comparison
equal
deleted
inserted
replaced
5687:2f22c0c6f021 | 5688:a0f01b43a459 |
---|---|
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | 18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
19 | 19 |
20 | 20 |
21 #include <signal.h> | 21 #include <signal.h> |
22 #include <errno.h> | 22 #include <errno.h> |
23 #include <stdio.h> | |
23 | 24 |
24 #include <config.h> | 25 #include <config.h> |
25 | 26 |
26 extern int errno; | 27 extern int errno; |
27 extern char *strerror (); | 28 extern char *strerror (); |
799 } | 800 } |
800 | 801 |
801 tempdir = Fdirectory_file_name (Vexec_directory); | 802 tempdir = Fdirectory_file_name (Vexec_directory); |
802 if (access (XSTRING (tempdir)->data, 0) < 0) | 803 if (access (XSTRING (tempdir)->data, 0) < 0) |
803 { | 804 { |
804 printf ("Warning: arch-dependent data dir (%s) does not exist.\n", | 805 fprintf (stderr, |
805 XSTRING (Vexec_directory)->data); | 806 "Warning: arch-dependent data dir (%s) does not exist.\n", |
807 XSTRING (Vexec_directory)->data); | |
806 sleep (2); | 808 sleep (2); |
807 } | 809 } |
808 | 810 |
809 tempdir = Fdirectory_file_name (Vdata_directory); | 811 tempdir = Fdirectory_file_name (Vdata_directory); |
810 if (access (XSTRING (tempdir)->data, 0) < 0) | 812 if (access (XSTRING (tempdir)->data, 0) < 0) |
811 { | 813 { |
812 printf ("Warning: arch-independent data dir (%s) does not exist.\n", | 814 fprintf (stderr, |
813 XSTRING (Vdata_directory)->data); | 815 "Warning: arch-independent data dir (%s) does not exist.\n", |
816 XSTRING (Vdata_directory)->data); | |
814 sleep (2); | 817 sleep (2); |
815 } | 818 } |
816 | 819 |
817 #ifdef VMS | 820 #ifdef VMS |
818 Vshell_file_name = build_string ("*dcl*"); | 821 Vshell_file_name = build_string ("*dcl*"); |