main.c (8832864298b522bb2b4b3d2fdb1fa0443bedd681) | main.c (aeb5d065044ee6733a7fee14edb52959a28c1ab4) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 114 unchanged lines hidden (view full) --- 123 break; 124 } 125 126 if (exception != EXSHELLPROC) { 127 if (state == 0 || iflag == 0 || ! rootshell) 128 exitshell(exitstatus); 129 } 130 reset(); | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 114 unchanged lines hidden (view full) --- 123 break; 124 } 125 126 if (exception != EXSHELLPROC) { 127 if (state == 0 || iflag == 0 || ! rootshell) 128 exitshell(exitstatus); 129 } 130 reset(); |
131 if (exception == EXINT) { 132 out2c('\n'); 133 flushout(&errout); 134 } | 131 if (exception == EXINT) 132 out2fmt_flush("\n"); |
135 popstackmark(&smark); 136 FORCEINTON; /* enable interrupts */ 137 if (state == 1) 138 goto state1; 139 else if (state == 2) 140 goto state2; 141 else if (state == 3) 142 goto state3; --- 210 unchanged lines hidden --- | 133 popstackmark(&smark); 134 FORCEINTON; /* enable interrupts */ 135 if (state == 1) 136 goto state1; 137 else if (state == 2) 138 goto state2; 139 else if (state == 3) 140 goto state3; --- 210 unchanged lines hidden --- |