| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
ok deraadt@
|
| |
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
| |
|
|
|
| |
argument but I forgot to adapt one conditional. Still no functional change since
tenex() only has one call site where `inputline_size == sizeof(buf)`.
|
| | |
|
| |
|
|
| |
call site where `inputline_size == sizeof(buf)`.
|
| |
|
|
|
|
|
|
|
| |
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).
|
| | |
|
| |
|
|
|
|
|
| |
performed first when canonical mode has been disabled on the tty just like ksh
does. Discovered by the regress tests.
Joint work with bluhm@, ok deraadt@
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
| |
take an argument. Discussed with millert and tedu.
|
| | |
|
| |
|
|
|
| |
little-endian or unsigned char :-)
ok anton
|
| |
|
|
| |
Regression found by deraadt@
|
| |
|
|
| |
ok deraadt@ tb@
|
| |
|
|
|
|
|
| |
disabled and a single char of input is read at a time. This requires the line
editing capabilities provided when ICANON is enabled to be implemented.
With help and feedback from deraadt@
|
| |
|
|
| |
ok deraadt@ tb@
|
| |
|
|
| |
OK mmcc@
|
| |
|
|
| |
and remove a few unused defines; no binary changes; ok tedu@ zhuk@
|
| |
|
|
|
| |
who wants csh without FILEC??
from Peter Brottveit Bock, but redone using unifdef
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
| |
|
|
| |
ok deraadt
|
| |
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
| | |
|
| |
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
|
|
|
| |
this fixes at least 15 buffer overflows; some help from dhartmei.
Anyone want to go do the same in ksh, and help with some of the while
(*s++ = *p++) loops in here?
|
| |
|
|
|
|
|
|
|
|
| |
The item list really did want to be zero-filled since free_items() relies
on this to find the end point. However, this is really pretty dumb since
we *know* how many items are in the list.
This highlights the elusive bug I was trying to fix--free_items() expects
the list to be NULL-terminated which was not the case if the list was full.
The fix is to simply pass free_items() the number of elements in the list.
|
| |
|
|
|
| |
This fixes a mysterious segv when doing file completion twice in
directories w/ more than 1024 files.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fix from NetBSD (christos), reported by Chris Torek.
|
| | |
|
| |
|