diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-07-25 14:33:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 14:33:53 +0200 |
commit | bb5eba4db8895d862038825b84d5b7a94ee5cbb0 (patch) | |
tree | b1494c186a4c9634b25f7ffec53c129814be0d7a /lib/fs.c | |
parent | 4bee0efb49c7763f38be5d69eea90b2f11944793 (diff) | |
parent | 093684df07cee69a06deed665bbb0cb3eeaf3841 (diff) |
Merge pull request #166 from jow-/fix-165
Fix 165
Diffstat (limited to 'lib/fs.c')
-rw-r--r-- | lib/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -838,7 +838,7 @@ uc_fs_isatty(uc_vm_t *vm, size_t nargs) if (fd == -1) err_return(errno); - return ucv_boolean_new(isatty(fd)); + return ucv_boolean_new(isatty(fd) == 1); } /** |