Commit Graph

47 Commits

Author SHA1 Message Date
4e6015ed36 added sys::dup() and sys::openfd().
added the optional second parameter to sys::close(). it accepts sys::C_KEEPFD.
2019-08-26 02:47:02 +00:00
8bfac9fff4 added sys::opendir(), sys::readdir(), sys::closedir() 2019-08-25 16:03:51 +00:00
cfd39c4280 defined sys::RC_XXX items in awk 2019-08-25 06:21:32 +00:00
b419965310 updated mod-sys.c with newly defined RX_XXXX items 2019-08-23 08:14:10 +00:00
e12121a8a2 updated awk documentation 2019-08-23 07:41:26 +00:00
cd14f62522 extended sys::pipe() to accept the third argument, flags, in awk
changed sys::read() and sys::write to return -2 and -3 upon EAGAIN and EINTR respectively
2019-08-22 02:49:50 +00:00
05e14057eb added sys::pipe() to awk 2019-08-21 08:48:32 +00:00
c6a54c2ce4 some sanity check in sys::read() 2019-08-09 01:48:06 +00:00
a998e6dce9 added sys::read() to awk 2019-08-08 15:40:23 +00:00
c04312300b added sys::write() to awk 2019-08-08 11:31:27 +00:00
f6cf2aec64 added sys::open() & sys::close() 2019-08-08 08:01:57 +00:00
ae841ffd27 added sys::chmod() to awk 2019-08-05 09:00:05 +00:00
38d754e971 added sys::unlink() and sys::mkdir() 2019-08-05 08:53:22 +00:00
43cfbd6bdf added check for tm->__tm_gmtoff and tm->__tm_zone.
changed sys::strftime() to set tm_zone to GMT if sys::STRFTIME_UTC is set
2019-07-01 15:02:43 +00:00
4257ef5296 enhanced sys::strftime() to access flags - sys::STRFTIME_UTC is the only flag defined at this moment 2019-07-01 14:30:47 +00:00
4d556c475a fixed the processed length calculation bug in feed_json_data() in xli/json.c 2019-06-13 05:45:47 +00:00
5ec8e15140 updated copyright notice that's been long procrastinated 2019-06-06 05:28:23 +00:00
454f5ec837 implemented mysql::store_result(), mysql::free_result(), mysql::fetch_row() roughly 2019-06-03 08:53:46 +00:00
3bfaaa2bc9 added the unique_id field to qse_awk_sio_arg_t to implement the single time inclusion feature.
added primitive logic to check and remember inclusion
2019-05-12 17:03:30 +00:00
7811171dff fixed StdAwk to set the MODPREFIX when dlfcn is activated.
added Awk::getCmgr()
enhanced some string functions to handle byte strings
2019-04-23 15:32:23 +00:00
b2d3050d8b changed the remote log socket to be non-blocking in sys::xxxlog() 2019-01-23 03:32:24 +00:00
f33518b964 changed sys::closelog() a bit 2019-01-22 16:15:56 +00:00
7fb03044e8 added remote syslogging to sys::openlog(), sys::writelog(), sys::closelog() 2019-01-22 09:41:00 +00:00
f91b85e0cf compacted code a bit 2019-01-21 15:08:22 +00:00
2a3c9c182c fixed a bug in sys::openlog() 2019-01-17 10:09:07 +00:00
59686d87a8 fixed an issue caused by a volatile identifier passsed to openlog() 2019-01-16 09:25:17 +00:00
4d78cd0a65 added sys::openlog(), sys::closelog(), sys::writelog() 2019-01-16 08:42:17 +00:00
b96113159b fixed the potential overflow issue that would never happen in various binary serach functions 2017-05-02 01:14:32 +00:00
66dfa3a2fd did more migrating works 2016-04-29 03:55:42 +00:00
5f46de1083 updated build files 2016-04-28 15:57:20 +00:00
9cb6c963fa migrated some files from cmn to si 2016-04-28 15:29:28 +00:00
54a883bc1e added sys::mktime() and sys::strftime() to awk 2016-04-08 09:52:55 +00:00
8d1704c0a4 fixed minor building issues.
renamed sys::getpgrp to sys::getpgid
2015-03-19 14:07:50 +00:00
56e5b5191b switched the license to BSD 2014-11-19 14:42:24 +00:00
fdce5fc592 migrated rand(), srand(), system() to modules 2014-07-11 07:42:28 +00:00
36b20b4169 renamed qse_xstr_t to qse_cstr_t 2014-07-08 14:30:42 +00:00
a3453e5bd0 remove qse_cstr_t and related types. switched all existing references to qse_cstr_t and its family 2014-07-02 12:28:58 +00:00
fdad26bba1 fixed a wrong field name that caused a compilation error on solaris 8.
make some builtin string functiosn available under str::
2014-05-27 14:13:12 +00:00
d49fd50ecc added sed::str_to_str to the sed module for awk
fixed some build issues on legacy systems
2014-02-20 05:29:32 +00:00
a89cd70ddb updated copyright notice 2013-12-31 10:24:12 +00:00
ea55e0d7ee added a build option to use qse_intmax_t for integers in awk.
made relevant changes to support the option
2013-11-05 14:16:45 +00:00
9588bf2910 enhanced va_copy detection 2013-11-04 02:33:52 +00:00
aaf73a86f5 fixed wrong return values of qse_fmtout 2013-10-28 09:40:25 +00:00
b6b18918b9 changed awk modules to hard-fail when qse_awk_setrefval() fails 2013-04-20 01:57:50 +00:00
23d316a659 enhanced qse_awk_rtx_setrefval() to handle references properly
enhanced qse_awk_rtx_valtostr() and qse_awk_rtx_valtonum() to handle references more correctly.
changed some awk error codes.
2013-04-16 10:09:24 +00:00
7aa63462f1 implemented static linking of awk modules 2013-02-01 14:30:25 +00:00
710a425fb7 migrated awk module files 2013-02-01 08:31:42 +00:00