diff --git a/scripts/clint.sh b/scripts/clint.sh index 1453411e1c..55eb5c9394 100755 --- a/scripts/clint.sh +++ b/scripts/clint.sh @@ -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 diff --git a/src/os/input.h b/src/os/input.h index 0d58a33392..9ffd50fd3f 100644 --- a/src/os/input.h +++ b/src/os/input.h @@ -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); diff --git a/src/os/rstream.c b/src/os/rstream.c index 519a6466ef..59cab457fa 100644 --- a/src/os/rstream.c +++ b/src/os/rstream.c @@ -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