mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
more modeline errata (#1019)
Somehow or another, I previously had missed `BUILD.mk` files. In the process I found a few straggler cases where the modeline was different from the file, including one very involved manual fix where a file had been treated like it was ts=2 and ts=8 on separate occasions. The commit history in the PR shows the gory details; the BUILD.mk was automated, everything else was mostly manual.
This commit is contained in:
parent
60813003a3
commit
3a8e01a77a
202 changed files with 879 additions and 879 deletions
|
@ -1,5 +1,5 @@
|
|||
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
|
||||
#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘
|
||||
#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘
|
||||
|
||||
PKGS += LIBC_STDIO
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* Clears eof and error state indicators on stream.
|
||||
*
|
||||
* @param f is file object stream pointer
|
||||
* @see clearerr_unlocked()
|
||||
* @see clearerr_unlocked()
|
||||
*/
|
||||
void clearerr(FILE *f) {
|
||||
flockfile(f);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* Clears eof and error state indicators on stream.
|
||||
*
|
||||
* @param f is file object stream pointer
|
||||
* @see clearerr()
|
||||
* @see clearerr()
|
||||
*/
|
||||
void clearerr_unlocked(FILE *f) {
|
||||
f->state = 0;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* Returns true if stream is in end-of-file state.
|
||||
*
|
||||
* @param f is file object stream pointer
|
||||
* @see feof_unlocked()
|
||||
* @see feof_unlocked()
|
||||
*/
|
||||
int feof(FILE *f) {
|
||||
int rc;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* Returns true if stream is in end-of-file state.
|
||||
*
|
||||
* @param f is file object stream pointer
|
||||
* @see feof()
|
||||
* @see feof()
|
||||
*/
|
||||
int feof_unlocked(FILE *f) {
|
||||
return f->state == -1;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│
|
||||
│ vi: set et ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi │
|
||||
│ vi: set noet ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi │
|
||||
╚──────────────────────────────────────────────────────────────────────────────╝
|
||||
│ │
|
||||
│ Musl Libc │
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue