mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
Fix clint.sh wrapper script and broken files
- Fixed clint.sh, it no longer ignores errors in individual files. - Fixed two files that weren't passing the clint test
This commit is contained in:
parent
9f7426ca16
commit
8f710a4103
@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
for file in $(cat clint-files.txt); do
|
||||
./clint.py $file
|
||||
./clint.py $file || fail=1
|
||||
done
|
||||
|
||||
if [ -n "$fail" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
@ -14,7 +14,7 @@ bool os_char_avail(void);
|
||||
void os_breakcheck(void);
|
||||
|
||||
/// Test whether a file descriptor refers to a terminal.
|
||||
///
|
||||
///
|
||||
/// @param fd File descriptor.
|
||||
/// @return `true` if file descriptor refers to a terminal.
|
||||
bool os_isatty(int fd);
|
||||
|
@ -235,7 +235,7 @@ static void fread_idle_cb(uv_idle_t *handle)
|
||||
// the offset argument to uv_fs_read is int64_t, could someone really try
|
||||
// to read more than 9 quintillion (9e18) bytes?
|
||||
// DISABLED TO FIX BROKEN BUILD ON 32bit
|
||||
// TODO Review types to allow assertion
|
||||
// TODO(elmart): Review types to allow assertion
|
||||
// assert(rstream->fpos <= INT64_MAX);
|
||||
|
||||
// Synchronous read
|
||||
|
Loading…
Reference in New Issue
Block a user