CVSROOT:        /cvs
Module name:    src
Changes by:     an...@cvs.openbsd.org   2017/08/30 00:42:21

Modified files:
        bin/csh        : csh.c csh.h file.c func.c 

Log message:
Fix pasting of long (>BUFSIZ) lines in csh with filec enabled. NUL-terminating
the input buffer instructs csh that the buffer contains a complete command. This
is wrong and should only happen when buffer is not full, otherwise more data has
to be read in order form a complete command.

While here, do not print the prompt again when the input exceeds the input
buffer and while inserting a line continuation (backslash).

Reply via email to