os.c (60786) | os.c (63128) |
---|---|
1/* 2 * Copyright (C) 1984-2000 Mark Nudelman 3 * 4 * You may distribute under the terms of either the GNU General Public 5 * License or the Less License, as specified in the README file. 6 * 7 * For more information about less, or for information on how to 8 * contact the author, see the README file. --- 85 unchanged lines hidden (view full) --- 94#endif 95#endif 96 if (SET_JUMP(read_label)) 97 { 98 /* 99 * We jumped here from intread. 100 */ 101 reading = 0; | 1/* 2 * Copyright (C) 1984-2000 Mark Nudelman 3 * 4 * You may distribute under the terms of either the GNU General Public 5 * License or the Less License, as specified in the README file. 6 * 7 * For more information about less, or for information on how to 8 * contact the author, see the README file. --- 85 unchanged lines hidden (view full) --- 94#endif 95#endif 96 if (SET_JUMP(read_label)) 97 { 98 /* 99 * We jumped here from intread. 100 */ 101 reading = 0; |
102#if HAVE_SIGPROCMASK 103 { 104 sigset_t mask; 105 sigemptyset(&mask); 106 sigprocmask(SIG_SETMASK, &mask, NULL); 107 } 108#else |
|
102#if HAVE_SIGSETMASK 103 sigsetmask(0); 104#else 105#ifdef _OSK 106 sigmask(~0); 107#endif 108#endif | 109#if HAVE_SIGSETMASK 110 sigsetmask(0); 111#else 112#ifdef _OSK 113 sigmask(~0); 114#endif 115#endif |
116#endif |
|
109 return (READ_INTR); 110 } 111 112 flush(); 113 reading = 1; 114#if MSDOS_COMPILER==DJGPPC 115 if (isatty(fd)) 116 { --- 196 unchanged lines hidden --- | 117 return (READ_INTR); 118 } 119 120 flush(); 121 reading = 1; 122#if MSDOS_COMPILER==DJGPPC 123 if (isatty(fd)) 124 { --- 196 unchanged lines hidden --- |