log th_ioctx.c @ 699:3707a823aa02

age author description
Tue, 10 Mar 2020 16:51:55 +0200 Matti Hamalainen Fix to the previous commit. strdup the mode string since the argument is const.
Tue, 10 Mar 2020 16:47:57 +0200 Matti Hamalainen Do not reallocate th_ioctx::mode string if it has not been allocated in the first place.
Mon, 09 Mar 2020 22:26:19 +0200 Matti Hamalainen Add some error checking.
Mon, 09 Mar 2020 19:05:58 +0200 Matti Hamalainen Add helper function th_io_reopen().
Mon, 09 Mar 2020 16:22:01 +0200 Matti Hamalainen Cleanups.
Fri, 06 Mar 2020 00:16:30 +0200 Matti Hamalainen Add functions thfopen(ctx) and thfclose(ctx) to th_ioctx.
Sat, 29 Feb 2020 12:19:02 +0200 Matti Hamalainen Split stdio and memio stuff to separate files from th_stdio.c
Tue, 25 Feb 2020 06:15:08 +0200 Matti Hamalainen Add MemIO ioctx functionality.
Sat, 25 Jan 2020 13:05:11 +0200 Matti Hamalainen Remove th_io_free(), merge the functionality to th_io_close(). Add flags
Sun, 05 Jan 2020 10:44:58 +0200 Matti Hamalainen Initialize th_ioctx::line value to 1.
Fri, 03 Jan 2020 10:53:55 +0200 Matti Hamalainen Bump copyright years.
Thu, 26 Dec 2019 13:07:09 +0200 Matti Hamalainen Change return value of th_io_error() and th_io_error_v() to int, and return the error code.
Thu, 10 Jan 2019 20:01:38 +0200 Matti Hamalainen Bump copyright years.
Mon, 09 Jul 2018 08:06:45 +0300 Matti Hamalainen Improve ioctx API. This breaks backwards compatibility of th_io_fopen().
Sat, 17 Feb 2018 23:42:49 +0200 Matti Hamalainen Actually, use a inline function for ioctx atime updates.
Sat, 17 Feb 2018 23:41:11 +0200 Matti Hamalainen Use a macro for updating atime.
Tue, 02 Jan 2018 23:09:29 +0200 Matti Hamalainen Actually, revert the boolean changes .. meh.
Tue, 02 Jan 2018 22:57:02 +0200 Matti Hamalainen Bump copyright years.
Tue, 02 Jan 2018 22:56:03 +0200 Matti Hamalainen Break backwards compatibility by renaming BOOL, TRUE and FALSE to lowercase.
Sun, 01 Jan 2017 01:59:49 +0200 Matti Hamalainen Bump copyrights.
Thu, 03 Mar 2016 14:13:31 +0200 Matti Hamalainen Rename TH_PRI{u,d,x}* macros to match with standard ISO C99 inttypes.h PRI*.
Mon, 15 Feb 2016 06:05:42 +0200 Matti Hamalainen Oops, using "errno" as io_ctx struct member causes problems on some
Sun, 14 Feb 2016 07:53:18 +0200 Matti Hamalainen Rename some functions for consistency.
Fri, 12 Feb 2016 18:13:22 +0200 Matti Hamalainen Get rid of TH_HAVE_64BIT.
Fri, 12 Feb 2016 06:08:04 +0200 Matti Hamalainen Update header comment.
Fri, 12 Feb 2016 03:00:19 +0200 Matti Hamalainen Change io context API. Again.
Fri, 12 Feb 2016 02:49:21 +0200 Matti Hamalainen More work on th_ioctx stuff and wrappers.
Fri, 12 Feb 2016 00:16:49 +0200 Matti Hamalainen Fix thfgets().
Thu, 11 Feb 2016 23:14:54 +0200 Matti Hamalainen Add th_io_fopen() helper function.
Thu, 11 Feb 2016 22:27:56 +0200 Matti Hamalainen Refactor I/O contexts. Breaks API and all that.
Wed, 18 Feb 2015 13:28:29 +0200 Matti Hamalainen Use TH_PRIu_SIZE_T for size_t printing.
Wed, 18 Feb 2015 13:28:18 +0200 Matti Hamalainen Initialize line number field in ioctx to 1.
Sun, 25 May 2014 05:28:52 +0300 Matti Hamalainen Use plain memset().
Tue, 11 Dec 2012 15:32:42 +0200 Matti Hamalainen Oops, sizeof(x) vs sizeof(*x). Fixed.
Thu, 15 Nov 2012 19:52:09 +0200 Matti Hamalainen Break I/O context API, add function pointers to init/open/new functions.
Thu, 15 Nov 2012 19:44:59 +0200 Matti Hamalainen Oops, the I/O context initialization was memsetting &pointer instead of
Thu, 15 Nov 2012 19:21:14 +0200 Matti Hamalainen Added new module, a simple I/O context helper.