| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
They were already converted to use libulog, so it's easy to convert them
to utmpx.
|
| |
|
|
|
|
|
|
|
|
| |
Because our implementation guarantees the strings inside struct utmpx to
be null terminated, we don't need to copy everything out, which makes
the code nicer to read.
Also set WARNS to 6 and add $FreeBSD$ to keep SVN silent.
|
|
|
|
|
|
|
|
|
|
| |
- Handle wrapping correctly when \r appears in the input, and don't
remove the \r from the output.
- For lines longer than 79 characters, don't drop every 80th character.
- Style: Braces around compound while statement.
PR: 114498
Submitted by: Niclas Zeising <niclas.zeising@gmail.com> (earlier version)
|
|
|
|
|
|
|
| |
Apparently with the new pts code stalled entries are printed, when they are
not with the BSD ptys.
Submitted by: Michal Mertl <mime at traveller dot cz>
|
| |
|
|
|
|
| |
Not added to Makefile as WARNS=2 will be made default.
|
|
|
|
|
|
|
|
|
|
| |
also use this, and they shouldn't have to have their own prototypes.
- Silence warnings about constness and signedness in ttymsg(). This
includes changing the return value to a `const char *', and changing
the types of `left' and `wret' (both byte counts) to ssize_t.
Reviewed by: bde
|
|
|
|
| |
Reviewed by: imp, markm
|
|
|
|
|
|
|
|
| |
egid (tty).
Obtained from: OpenBSD
Submitted by: Maxime Henrion <mux@qualys.com>
Reviewed by: imp
|
|
|
|
|
|
|
| |
Don't treat pointer as a boolean, but instead test it against NULL.
Add warning for groups that don't exist
Submitted by: ru
|
|
|
|
|
|
|
| |
a given group.
o Minor code style cleanups while I'm here
Reviewed by: bde, kris, markm, audit@
|
|
|
|
|
|
| |
with each other.
Reviewed by: markm, dwmalone
|
|
|
|
|
| |
In the case where the program is executed by a daemon running in the
background the terminal might not have a tty. The '(null)' is confusing.
|
|
|
|
|
|
| |
PR: 17867
Submitted by: Joel Ray Holveck <joelh@gnu.org>
Nagged by: nrahlstr
|
|
|
|
|
|
| |
unnecessary forced linewraps on some terminals.
Submitted by: David McNett <nugget@slacker.com>
|
|
|
|
|
|
|
| |
insertion of redundant crlf's. Eliminated the venetian-blind effect
in walled text.
Submitted by: David McNett <nugget@slacker.com>
|
| |
|
|
|
|
|
|
| |
Increase the size of a number of buffers and replace strcpy/strcat/sprintf
with snprintf(). There was a minor and possibly not exploitable security
hole related to one sprintf().
|
|
|
|
|
|
| |
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
| |
write and talk are not affected.
Now print out escape sequences in the same way as is done by write(1).
|
|
|