make @word to be always on
simplified the return value of I/O handler's open function by eliminating the concept of EOF on opening. enhanced qse_awk_parsestd() to accept an array of qse_awk_parsestd_t for input streams. enhanced cmd/awk/awk.c to handle multiple -f's properly
This commit is contained in:
@ -234,7 +234,7 @@ int qse_tio_attachout (
|
||||
}
|
||||
|
||||
tio->errnum = QSE_TIO_ENOERR;
|
||||
if (output (tio, QSE_TIO_OPEN, QSE_NULL, 0) == -1)
|
||||
if (output (tio, QSE_TIO_OPEN, QSE_NULL, 0) <= -1)
|
||||
{
|
||||
if (tio->errnum == QSE_TIO_ENOERR) tio->errnum = QSE_TIO_EOTHER;
|
||||
if (xbufptr != bufptr) QSE_MMGR_FREE (tio->mmgr, xbufptr);
|
||||
|
Reference in New Issue
Block a user