mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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
|
#!/bin/sh
|
||||||
|
|
||||||
for file in $(cat clint-files.txt); do
|
for file in $(cat clint-files.txt); do
|
||||||
./clint.py $file
|
./clint.py $file || fail=1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ -n "$fail" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
@ -14,7 +14,7 @@ bool os_char_avail(void);
|
|||||||
void os_breakcheck(void);
|
void os_breakcheck(void);
|
||||||
|
|
||||||
/// Test whether a file descriptor refers to a terminal.
|
/// Test whether a file descriptor refers to a terminal.
|
||||||
///
|
///
|
||||||
/// @param fd File descriptor.
|
/// @param fd File descriptor.
|
||||||
/// @return `true` if file descriptor refers to a terminal.
|
/// @return `true` if file descriptor refers to a terminal.
|
||||||
bool os_isatty(int fd);
|
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
|
// the offset argument to uv_fs_read is int64_t, could someone really try
|
||||||
// to read more than 9 quintillion (9e18) bytes?
|
// to read more than 9 quintillion (9e18) bytes?
|
||||||
// DISABLED TO FIX BROKEN BUILD ON 32bit
|
// 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);
|
// assert(rstream->fpos <= INT64_MAX);
|
||||||
|
|
||||||
// Synchronous read
|
// Synchronous read
|
||||||
|
Loading…
Reference in New Issue
Block a user