changed @inclone to @include_once

changed the sf_in_open() to set arg->uniqie_id in lib/awk/std.c
This commit is contained in:
2019-05-13 05:22:40 +00:00
parent 3bfaaa2bc9
commit 546d34d732
21 changed files with 121 additions and 129 deletions

View File

@ -354,7 +354,7 @@ int qse_fio_init (
}
if (handle == INVALID_HANDLE_VALUE)
{
DWORD e = GetLastError();
DWORD e = GetLastError();
if (!fellback && e == ERROR_INVALID_PARAMETER &&
((share_mode & FILE_SHARE_DELETE) || (flags & QSE_FIO_APPEND)))
{
@ -957,7 +957,7 @@ qse_fio_errnum_t qse_fio_geterrnum (const qse_fio_t* fio)
return fio->errnum;
}
qse_fio_hnd_t qse_fio_gethandle (const qse_fio_t* fio)
qse_fio_hnd_t qse_fio_gethnd (const qse_fio_t* fio)
{
return fio->handle;
}

View File

@ -206,7 +206,7 @@ int qse_get_wcsfile_attr_with_mmgr (const qse_wchar_t* file, int flags, qse_fatt
n = qse_get_mbsfile_attr(mbsfile, flags, attr);
if (mbsfile != mbsfile_buf) QSE_MMGR_FREE (mmgr, mbsfile);
if (mbsfile != mbsfile_buf) QSE_MMGR_FREE (mmgr, mbsfile);
return n;
}

View File

@ -1192,7 +1192,7 @@ void qse_nwio_setcmgr (qse_nwio_t* nwio, qse_cmgr_t* cmgr)
if (nwio->tio) qse_tio_setcmgr (nwio->tio, cmgr);
}
qse_nwio_hnd_t qse_nwio_gethandle (const qse_nwio_t* nwio)
qse_nwio_hnd_t qse_nwio_gethnd (const qse_nwio_t* nwio)
{
return nwio->handle;
}

View File

@ -1865,7 +1865,7 @@ void qse_pio_setcmgr (qse_pio_t* pio, qse_pio_hid_t hid, qse_cmgr_t* cmgr)
if (pio->pin[hid].tio) qse_tio_setcmgr (pio->pin[hid].tio, cmgr);
}
qse_pio_hnd_t qse_pio_gethandle (const qse_pio_t* pio, qse_pio_hid_t hid)
qse_pio_hnd_t qse_pio_gethnd (const qse_pio_t* pio, qse_pio_hid_t hid)
{
return pio->pin[hid].handle;
}

View File

@ -298,9 +298,9 @@ void qse_sio_setcmgr (qse_sio_t* sio, qse_cmgr_t* cmgr)
qse_tio_setcmgr (&sio->tio.io, cmgr);
}
qse_sio_hnd_t qse_sio_gethandle (const qse_sio_t* sio)
qse_sio_hnd_t qse_sio_gethnd (const qse_sio_t* sio)
{
/*return qse_fio_gethandle (&sio->file);*/
/*return qse_fio_gethnd (&sio->file);*/
return QSE_FIO_HANDLE(&sio->file);
}