revived syslog functions in the sys module.
fixed script and stream file name handling issues. added the path field to the hawk_sio_arg_t structure. the field should be set by the I/O handler if the name field is not HAWK_NULL.
This commit is contained in:
@ -1158,10 +1158,11 @@ static HAWK_INLINE int execute_hawk (int argc, hawk_bch_t* argv[])
|
||||
goto oops;
|
||||
}
|
||||
|
||||
/*const char* ocf[] = { "/dev/stdout", "/dev/stderr", NULL };*/
|
||||
rtx = hawk_rtx_openstdwithbcstr(
|
||||
awk, 0, "hawk",
|
||||
(arg.call? HAWK_NULL: arg.icf.ptr), /* console input */
|
||||
HAWK_NULL, /* console output */
|
||||
HAWK_NULL, /* ocf */ /* console output */
|
||||
arg.console_cmgr
|
||||
);
|
||||
if (rtx == HAWK_NULL)
|
||||
|
Reference in New Issue
Block a user