library: this is why we hate those darn tab characters

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2021-11-09 00:00:00 -06:00 committed by Craig Small
parent 10824b0655
commit 126b14470e

View File

@ -56,7 +56,7 @@ static __thread char buf[8192];
* It also reads the current contents of the file into the global buf. * It also reads the current contents of the file into the global buf.
*/ */
#define FILE_TO_BUF(filename, fd) do{ \ #define FILE_TO_BUF(filename, fd) do{ \
static __thread int local_n; \ static __thread int local_n; \
if (fd == -1 && (fd = open(filename, O_RDONLY)) == -1) { \ if (fd == -1 && (fd = open(filename, O_RDONLY)) == -1) { \
fputs(BAD_OPEN_MESSAGE, stderr); \ fputs(BAD_OPEN_MESSAGE, stderr); \
fflush(NULL); \ fflush(NULL); \