diff options
Diffstat (limited to 'src/cm.c')
-rw-r--r-- | src/cm.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -15,14 +15,14 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ +along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include <config.h> -#include <stdio.h> #include "lisp.h" #include "cm.h" +#include "sysstdio.h" #include "termchar.h" #include "tparam.h" @@ -45,8 +45,8 @@ int cmputc (int c) { if (current_tty->termscript) - putc (c & 0177, current_tty->termscript); - putc (c & 0177, current_tty->output); + putc_unlocked (c & 0177, current_tty->termscript); + putc_unlocked (c & 0177, current_tty->output); return c; } @@ -117,11 +117,11 @@ cmcheckmagic (struct tty_display_info *tty) if (!MagicWrap (tty) || curY (tty) >= FrameRows (tty) - 1) emacs_abort (); if (tty->termscript) - putc ('\r', tty->termscript); - putc ('\r', tty->output); + putc_unlocked ('\r', tty->termscript); + putc_unlocked ('\r', tty->output); if (tty->termscript) - putc ('\n', tty->termscript); - putc ('\n', tty->output); + putc_unlocked ('\n', tty->termscript); + putc_unlocked ('\n', tty->output); curX (tty) = 0; curY (tty)++; } |