mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-14 06:59:10 +00:00
Revert whitespace fixes to third_party (#501)
This commit is contained in:
parent
d4000bb8f7
commit
9de3d8f1e6
365 changed files with 39190 additions and 39211 deletions
8
third_party/finger/display.c
vendored
8
third_party/finger/display.c
vendored
|
@ -89,18 +89,18 @@ fxputc(FILE *f, int ch)
|
|||
ch = ch&0xff;
|
||||
|
||||
/* on 7-bit terminals, strip high bit */
|
||||
if (!is8bit()) ch &= 0x7f;
|
||||
if (!is8bit()) ch &= 0x7f;
|
||||
|
||||
/*
|
||||
/*
|
||||
* Assume anything that isn't a control character is printable.
|
||||
* We can't count on locale stuff to tell us what's printable
|
||||
* We can't count on locale stuff to tell us what's printable
|
||||
* because we might be looking at someone who uses different
|
||||
* locale settings or is on the other side of the planet. So,
|
||||
* strip 0-31, 127, 128-159, and 255. Note that not stripping
|
||||
* 128-159 is asking for trouble, as 155 (M-esc) is interpreted
|
||||
* as esc-[ by most terminals. Hopefully this won't break anyone's
|
||||
* charset.
|
||||
*
|
||||
*
|
||||
* It would be nice if we could set the terminal to display in the
|
||||
* right charset, but we have no way to know what it is. feh.
|
||||
*/
|
||||
|
|
2
third_party/finger/finger.1
vendored
2
third_party/finger/finger.1
vendored
|
@ -153,7 +153,7 @@ The
|
|||
.Fl l
|
||||
option is the only option that may be passed to a remote machine.
|
||||
.Pp
|
||||
If standard output is a socket,
|
||||
If standard output is a socket,
|
||||
.Nm finger
|
||||
will emit a carriage return (^M) before every linefeed (^J). This is
|
||||
for processing remote finger requests when invoked by
|
||||
|
|
2
third_party/finger/util.c
vendored
2
third_party/finger/util.c
vendored
|
@ -258,7 +258,7 @@ void enter_lastlog(PERSON *pn) {
|
|||
/*
|
||||
* and if it's not any of the current logins
|
||||
* can't use time comparison because there may be a small
|
||||
* discrepancy since login calls time() twice
|
||||
* discrepency since login calls time() twice
|
||||
*/
|
||||
for (w = pn->whead; doit && w != NULL; w = w->next)
|
||||
if (w->info == LOGGEDIN &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue