lib_fgets: don't check for printability, as it doesn't allow to work with extended ASCII
This commit is contained in:
parent
bfbe705e3f
commit
74230c5371
@ -216,11 +216,9 @@ FAR char *lib_fgets(FAR char *buf, size_t buflen, FILE *stream,
|
||||
}
|
||||
}
|
||||
|
||||
/* Otherwise, check if the character is printable and, if so, put the
|
||||
* character in the line buffer
|
||||
*/
|
||||
/* Otherwise, put the character in the line buffer */
|
||||
|
||||
else if (isprint(ch))
|
||||
else
|
||||
{
|
||||
buf[nch++] = ch;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user