]> pd.if.org Git - pdclib.old/commit
* Test cleanups: surround the code for all functions by #ifndef REGTEST
authorOwen Shepherd <owen.shepherd@e43.eu>
Mon, 13 Aug 2012 20:11:29 +0000 (21:11 +0100)
committerOwen Shepherd <owen.shepherd@e43.eu>
Mon, 13 Aug 2012 20:11:29 +0000 (21:11 +0100)
commit10f020f1a39804bbef8cd1cf35ef7c9a8e75c7d6
tree71f39d16d2d3611058130f2daf6742727b1390f2
parentf7a440b9c7bb0c686dc2368c4ff53b20bf6371f8
* Test cleanups: surround the code for all functions by #ifndef REGTEST
* Don't REGTEST internal functions (it doesn't make sense)
* <stdio.h>: add _PDCLIB_fdopen, which opens a file based upon its _PDCLIB_fd_t
  file descriptor
    TODO: Should this be public or not? POSIX fdopen demonstrates utility
    TODO: Can we stop storing the file name? Is that useful?
* fopen: rewrite based upon _PDCLIB_fdopen to consolidate code
* strndup: don't REGTEST - mingw doesn't implement.
* <stddef.h>: conditional definition of wchar_t for <wchar.h>
* <wchar.h>: Add 4 simple functions for dependencies
* <_PDCLIB_aux.h>: rename _PDCLIB_ALL to _PDCLIB_EXTENSIONS
* platform/example/functions/stdio/tmpfile.c: return NULL, not 1
* Build system: SubInclude the platform directory to enable the building of
  support routines (e.g. app startup files)
* Test system: If $(CRT0) is set, link the contents of it into the tests. This
  enables the platform code to provide startup files.
40 files changed:
Jamfile
Jamrules
functions/_PDCLIB/atomax.c
functions/_PDCLIB/closeall.c
functions/_PDCLIB/digits.c
functions/_PDCLIB/errno.c
functions/_PDCLIB/filemode.c
functions/_PDCLIB/prepread.c
functions/_PDCLIB/prepwrite.c
functions/_PDCLIB/print.c
functions/_PDCLIB/scan.c
functions/_PDCLIB/strtox_main.c
functions/_PDCLIB/strtox_prelim.c
functions/stdio/_PDCLIB_fdopen.c [new file with mode: 0644]
functions/stdio/fopen.c
functions/string/strndup.c
functions/wchar/wcschr.c [new file with mode: 0644]
functions/wchar/wcscpy.c [new file with mode: 0644]
functions/wchar/wcslen.c [new file with mode: 0644]
functions/wchar/wcsrchr.c [new file with mode: 0644]
includes/stddef.h
includes/stdio.h
includes/wchar.h [new file with mode: 0644]
internals/_PDCLIB_aux.h
opt/nothread/call_once.c
opt/nothread/cnd_init.c
opt/nothread/cnd_signal.c
opt/nothread/cnd_wait.c
opt/nothread/mtx_destroy.c
opt/nothread/mtx_init.c
opt/nothread/mtx_lock.c
opt/nothread/mtx_timedlock.c
opt/nothread/mtx_trylock.c
opt/nothread/mtx_unlock.c
opt/nothread/thrd_yield.c
opt/nothread/tss_create.c
opt/nothread/tss_delete.c
opt/nothread/tss_get.c
opt/nothread/tss_set.c
platform/example/functions/stdio/tmpfile.c