Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 1995 11:34:31 -0700
From:      Bruce Evans <bde>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/i386/isa syscons.c syscons.h
Message-ID:  <199507111834.LAA29765@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
bde         95/07/11 11:34:31

  Modified:    sys/i386/isa  syscons.c syscons.h
  Log:
  Fix races in scstart().  q_to_b() wasn't called at spltty(), so there
  were two races:
  - q_to_b() might unexpectedly return 0 (e.g, after a keyboard signal
    flushes the output queue and isn't echoed).  ansi_put() interprets
    0 bytes as 4GB...
  - more output (e.g. for echoes) might arrive afer q_to_b() returns 0.
    Then scstart() returns presumably and the new output might not be
    handled for a long time.
  
  Remove unused function scxint().
  
  Fix prototypes (foo() isn't a prototype).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507111834.LAA29765>