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:
Thiago de Arruda 2014-04-22 16:58:09 -03:00
parent 9f7426ca16
commit 8f710a4103
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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);

View File

@ -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