| Index: fusl/src/internal/shgetc.c
|
| diff --git a/fusl/src/internal/shgetc.c b/fusl/src/internal/shgetc.c
|
| index e878b00ad50ac709b33366f11619817c1e535636..87e96ea585f451f6c4d36dc3c2057a507eb7cbca 100644
|
| --- a/fusl/src/internal/shgetc.c
|
| +++ b/fusl/src/internal/shgetc.c
|
| @@ -13,7 +13,7 @@ void __shlim(FILE *f, off_t lim)
|
| int __shgetc(FILE *f)
|
| {
|
| int c;
|
| - if (f->shlim && f->shcnt >= f->shlim || (c=__uflow(f)) < 0) {
|
| + if ((f->shlim && f->shcnt >= f->shlim) || (c=__uflow(f)) < 0) {
|
| f->shend = 0;
|
| return EOF;
|
| }
|
|
|