diff options
| author | Jim Blandy | 1993-05-19 04:38:28 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-19 04:38:28 +0000 |
| commit | fad97cbed645ccc167265f38fb92bc8e03cc63ad (patch) | |
| tree | b7bc4bfe3a7e072c32bb598516487660fb10caf4 /src/process.c | |
| parent | 3d24868836b773b9a698eb1f34e3903462f14843 (diff) | |
| download | emacs-fad97cbed645ccc167265f38fb92bc8e03cc63ad.tar.gz emacs-fad97cbed645ccc167265f38fb92bc8e03cc63ad.zip | |
* process.c [__sgi] (allocate_pty): Give up immediately if pty is
inaccessible.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index f383c95511a..17a0ca6a7ca 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -444,7 +444,7 @@ allocate_pty () | |||
| 444 | if (access (pty_name, 6) != 0) | 444 | if (access (pty_name, 6) != 0) |
| 445 | { | 445 | { |
| 446 | close (fd); | 446 | close (fd); |
| 447 | #ifndef IRIS | 447 | #if !defined(IRIS) && !defined(__sgi) |
| 448 | continue; | 448 | continue; |
| 449 | #else | 449 | #else |
| 450 | return -1; | 450 | return -1; |