diff options
| author | Joakim Verona | 2012-08-19 02:44:11 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-08-19 02:44:11 +0200 |
| commit | 5436d1df5e2ba0b4d4f72b03a1cd09b20403654b (patch) | |
| tree | 532faa27319b3bb199d414dc85e63a58246d30b0 /src/sysdep.c | |
| parent | d02344322b0d2fea8dd9ad9dd0a6c70e058f967b (diff) | |
| parent | e757f1c6f393cf82057dbee0a4325b07f0fd55c4 (diff) | |
| download | emacs-5436d1df5e2ba0b4d4f72b03a1cd09b20403654b.tar.gz emacs-5436d1df5e2ba0b4d4f72b03a1cd09b20403654b.zip | |
upstream
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 01ca905a987..183ee005227 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -21,7 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | 21 | ||
| 22 | #define SYSTIME_INLINE EXTERN_INLINE | 22 | #define SYSTIME_INLINE EXTERN_INLINE |
| 23 | 23 | ||
| 24 | #include <ctype.h> | ||
| 25 | #include <signal.h> | 24 | #include <signal.h> |
| 26 | #include <stdio.h> | 25 | #include <stdio.h> |
| 27 | #include <setjmp.h> | 26 | #include <setjmp.h> |
| @@ -33,6 +32,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 33 | #include <unistd.h> | 32 | #include <unistd.h> |
| 34 | 33 | ||
| 35 | #include <allocator.h> | 34 | #include <allocator.h> |
| 35 | #include <c-ctype.h> | ||
| 36 | #include <careadlinkat.h> | 36 | #include <careadlinkat.h> |
| 37 | #include <ignore-value.h> | 37 | #include <ignore-value.h> |
| 38 | #include <utimens.h> | 38 | #include <utimens.h> |
| @@ -2307,8 +2307,7 @@ serial_configure (struct Lisp_Process *p, | |||
| 2307 | error ("tcsetattr() failed: %s", emacs_strerror (errno)); | 2307 | error ("tcsetattr() failed: %s", emacs_strerror (errno)); |
| 2308 | 2308 | ||
| 2309 | childp2 = Fplist_put (childp2, QCsummary, build_string (summary)); | 2309 | childp2 = Fplist_put (childp2, QCsummary, build_string (summary)); |
| 2310 | PSET (p, childp, childp2); | 2310 | pset_childp (p, childp2); |
| 2311 | |||
| 2312 | } | 2311 | } |
| 2313 | #endif /* not DOS_NT */ | 2312 | #endif /* not DOS_NT */ |
| 2314 | 2313 | ||
| @@ -2733,7 +2732,7 @@ system_process_attributes (Lisp_Object pid) | |||
| 2733 | if (emacs_read (fd, &ch, 1) != 1) | 2732 | if (emacs_read (fd, &ch, 1) != 1) |
| 2734 | break; | 2733 | break; |
| 2735 | c = ch; | 2734 | c = ch; |
| 2736 | if (isspace (c) || c == '\\') | 2735 | if (c_isspace (c) || c == '\\') |
| 2737 | cmdline_size++; /* for later quoting, see below */ | 2736 | cmdline_size++; /* for later quoting, see below */ |
| 2738 | } | 2737 | } |
| 2739 | if (cmdline_size) | 2738 | if (cmdline_size) |
| @@ -2757,7 +2756,7 @@ system_process_attributes (Lisp_Object pid) | |||
| 2757 | for (p = cmdline; p < cmdline + nread; p++) | 2756 | for (p = cmdline; p < cmdline + nread; p++) |
| 2758 | { | 2757 | { |
| 2759 | /* Escape-quote whitespace and backslashes. */ | 2758 | /* Escape-quote whitespace and backslashes. */ |
| 2760 | if (isspace (*p) || *p == '\\') | 2759 | if (c_isspace (*p) || *p == '\\') |
| 2761 | { | 2760 | { |
| 2762 | memmove (p + 1, p, nread - (p - cmdline)); | 2761 | memmove (p + 1, p, nread - (p - cmdline)); |
| 2763 | nread++; | 2762 | nread++; |