aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorJim Blandy1993-06-09 11:59:12 +0000
committerJim Blandy1993-06-09 11:59:12 +0000
commiteb8c3be94e12644f506b8857e49ffef88046bb0b (patch)
tree505c4ea5ae59214e4d6e749047d160c98191c9d2 /src/sysdep.c
parent16a4a21d0117ef5ed346f340f244fe199d3c8a26 (diff)
downloademacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.tar.gz
emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.zip
Apply typo patches from Paul Eggert.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 982d361ae2a..b7aa5d4bf0e 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -437,7 +437,7 @@ child_setup_tty (out)
437 s.main.c_oflag &= ~OLCUC; /* Disable map of lower case to upper on 437 s.main.c_oflag &= ~OLCUC; /* Disable map of lower case to upper on
438 output */ 438 output */
439#if 0 439#if 0
440 /* Said to be unnecesary: */ 440 /* Said to be unnecessary: */
441 s.main.c_cc[VMIN] = 1; /* minimum number of characters to accept */ 441 s.main.c_cc[VMIN] = 1; /* minimum number of characters to accept */
442 s.main.c_cc[VTIME] = 0; /* wait forever for at least 1 character */ 442 s.main.c_cc[VTIME] = 0; /* wait forever for at least 1 character */
443#endif 443#endif
@@ -697,7 +697,7 @@ reset_sigio ()
697 unrequest_sigio (); 697 unrequest_sigio ();
698} 698}
699 699
700#ifdef FASYNC /* F_SETFL does not imply existance of FASYNC */ 700#ifdef FASYNC /* F_SETFL does not imply existence of FASYNC */
701 701
702request_sigio () 702request_sigio ()
703{ 703{
@@ -830,7 +830,7 @@ emacs_set_tty (fd, settings, waitp)
830 of the requested actions could not be performed. 830 of the requested actions could not be performed.
831 We must read settings back to ensure tty setup properly. 831 We must read settings back to ensure tty setup properly.
832 AIX requires this to keep tty from hanging occasionally." */ 832 AIX requires this to keep tty from hanging occasionally." */
833 /* This make sure that we dont loop indefinetly in here. */ 833 /* This make sure that we don't loop indefinitely in here. */
834 for (i = 0 ; i < 10 ; i++) 834 for (i = 0 ; i < 10 ; i++)
835 if (tcsetattr (fd, waitp ? TCSAFLUSH : TCSADRAIN, &settings->main) < 0) 835 if (tcsetattr (fd, waitp ? TCSAFLUSH : TCSADRAIN, &settings->main) < 0)
836 { 836 {
@@ -1162,7 +1162,7 @@ init_sys_modes ()
1162 } 1162 }
1163 1163
1164#ifdef F_SETFL 1164#ifdef F_SETFL
1165#ifdef F_GETOWN /* F_SETFL does not imply existance of F_GETOWN */ 1165#ifdef F_GETOWN /* F_SETFL does not imply existence of F_GETOWN */
1166 if (interrupt_input) 1166 if (interrupt_input)
1167 { 1167 {
1168 old_fcntl_owner = fcntl (0, F_GETOWN, 0); 1168 old_fcntl_owner = fcntl (0, F_GETOWN, 0);
@@ -1311,7 +1311,7 @@ reset_sys_modes ()
1311#endif 1311#endif
1312 1312
1313#ifdef F_SETFL 1313#ifdef F_SETFL
1314#ifdef F_SETOWN /* F_SETFL does not imply existance of F_SETOWN */ 1314#ifdef F_SETOWN /* F_SETFL does not imply existence of F_SETOWN */
1315 if (interrupt_input) 1315 if (interrupt_input)
1316 { 1316 {
1317 reset_sigio (); 1317 reset_sigio ();
@@ -2395,7 +2395,7 @@ sys_abort ()
2395#ifdef VMS 2395#ifdef VMS
2396#ifdef LINK_CRTL_SHARE 2396#ifdef LINK_CRTL_SHARE
2397#ifdef SHAREABLE_LIB_BUG 2397#ifdef SHAREABLE_LIB_BUG
2398/* Variables declared noshare and initialized in shareable libraries 2398/* Variables declared noshare and initialized in sharable libraries
2399 cannot be shared. The VMS linker incorrectly forces you to use a private 2399 cannot be shared. The VMS linker incorrectly forces you to use a private
2400 version which is uninitialized... If not for this "feature", we 2400 version which is uninitialized... If not for this "feature", we
2401 could use the C library definition of sys_nerr and sys_errlist. */ 2401 could use the C library definition of sys_nerr and sys_errlist. */
@@ -2516,7 +2516,7 @@ sys_write (fildes, buf, nbyte)
2516 * to names for our own functions in sysdep.c that do the system call 2516 * to names for our own functions in sysdep.c that do the system call
2517 * with retries. Actually, for portability reasons, it is good 2517 * with retries. Actually, for portability reasons, it is good
2518 * programming practice, as this example shows, to limit all actual 2518 * programming practice, as this example shows, to limit all actual
2519 * system calls to a single occurance in the source. Sure, this 2519 * system calls to a single occurrence in the source. Sure, this
2520 * adds an extra level of function call overhead but it is almost 2520 * adds an extra level of function call overhead but it is almost
2521 * always negligible. Fred Fish, Unisoft Systems Inc. 2521 * always negligible. Fred Fish, Unisoft Systems Inc.
2522 */ 2522 */
@@ -2802,7 +2802,7 @@ char *sys_siglist[NSIG + 1] =
2802 "power-fail restart", /* 19 SIGPWR */ 2802 "power-fail restart", /* 19 SIGPWR */
2803 "window size changed", /* 20 SIGWINCH */ 2803 "window size changed", /* 20 SIGWINCH */
2804 "undefined", /* 21 */ 2804 "undefined", /* 21 */
2805 "pollable event occured", /* 22 SIGPOLL */ 2805 "pollable event occurred", /* 22 SIGPOLL */
2806 "sendable stop signal not from tty", /* 23 SIGSTOP */ 2806 "sendable stop signal not from tty", /* 23 SIGSTOP */
2807 "stop signal from tty", /* 24 SIGSTP */ 2807 "stop signal from tty", /* 24 SIGSTP */
2808 "continue a stopped process", /* 25 SIGCONT */ 2808 "continue a stopped process", /* 25 SIGCONT */
@@ -3574,7 +3574,7 @@ creat_copy_attrs (old, new)
3574sys_creat (va_alist) 3574sys_creat (va_alist)
3575 va_dcl 3575 va_dcl
3576{ 3576{
3577 va_list list_incrementor; 3577 va_list list_incrementer;
3578 char *name; 3578 char *name;
3579 int mode; 3579 int mode;
3580 int rfd; /* related file descriptor */ 3580 int rfd; /* related file descriptor */
@@ -3588,12 +3588,12 @@ sys_creat (va_alist)
3588 extern int vms_stmlf_recfm; 3588 extern int vms_stmlf_recfm;
3589 3589
3590 va_count (count); 3590 va_count (count);
3591 va_start (list_incrementor); 3591 va_start (list_incrementer);
3592 name = va_arg (list_incrementor, char *); 3592 name = va_arg (list_incrementer, char *);
3593 mode = va_arg (list_incrementor, int); 3593 mode = va_arg (list_incrementer, int);
3594 if (count > 2) 3594 if (count > 2)
3595 rfd = va_arg (list_incrementor, int); 3595 rfd = va_arg (list_incrementer, int);
3596 va_end (list_incrementor); 3596 va_end (list_incrementer);
3597 if (count > 2) 3597 if (count > 2)
3598 { 3598 {
3599 /* Use information from the related file descriptor to set record 3599 /* Use information from the related file descriptor to set record
@@ -4102,7 +4102,7 @@ rename (from, to)
4102 are renaming. 4102 are renaming.
4103 4103
4104 We could use the chmod function, but Eunichs uses 3 bits per user category 4104 We could use the chmod function, but Eunichs uses 3 bits per user category
4105 to describe the protection, and VMS uses 4 (write and delete are seperate 4105 to describe the protection, and VMS uses 4 (write and delete are separate
4106 bits). To maintain portability, the VMS implementation of `chmod' wires 4106 bits). To maintain portability, the VMS implementation of `chmod' wires
4107 the W and D bits together. */ 4107 the W and D bits together. */
4108 4108