From a13145a30d5c5e8eaf82cdf65c857a248f9b6765 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 24 Jul 2019 22:05:00 +0200 Subject: [PATCH] Cygwin: Export newlib ndbm functions Signed-off-by: Corinna Vinschen --- winsup/cygwin/common.din | 10 ++++++++++ winsup/cygwin/include/cygwin/version.h | 4 +++- winsup/cygwin/release/3.1.0 | 2 ++ winsup/doc/new-features.xml | 10 ++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din index 9cb67992b..a7b4aa2b0 100644 --- a/winsup/cygwin/common.din +++ b/winsup/cygwin/common.din @@ -394,6 +394,16 @@ cygwin_stackdump SIGFE cygwin_umount SIGFE cygwin_winpid_to_pid SIGFE daemon SIGFE +dbm_clearerr SIGFE +dbm_close SIGFE +dbm_delete SIGFE +dbm_dirfno SIGFE +dbm_error SIGFE +dbm_fetch SIGFE +dbm_firstkey SIGFE +dbm_nextkey SIGFE +dbm_open SIGFE +dbm_store SIGFE difftime NOSIGFE dirfd SIGFE dirname NOSIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index f47055d84..73d9c7840 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -511,12 +511,14 @@ details. */ 338: Export secure_getenv. 339: Export sched_getaffinity, sched_setaffinity, pthread_getaffinity_np, pthread_setaffinity_np, __sched_getaffinity_sys. + 340: Export dbm_clearerr, dbm_close, dbm_delete, dbm_dirfno, dbm_error, + dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store. Note that we forgot to bump the api for ualarm, strtoll, strtoull, sigaltstack, sethostname. */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 339 +#define CYGWIN_VERSION_API_MINOR 340 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible changes are made to the shared diff --git a/winsup/cygwin/release/3.1.0 b/winsup/cygwin/release/3.1.0 index 3b73a1802..d5d3129c8 100644 --- a/winsup/cygwin/release/3.1.0 +++ b/winsup/cygwin/release/3.1.0 @@ -8,6 +8,8 @@ What's new: - New APIs: sched_getaffinity, sched_setaffinity, pthread_getaffinity_np, pthread_setaffinity_np. +- New APIs: dbm_clearerr, dbm_close, dbm_delete, dbm_dirfno, dbm_error, + dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store. What changed: ------------- diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index 43ca11fef..a5dcfb576 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -35,6 +35,16 @@ sched_getaffinity, sched_setaffinity, pthread_getaffinity_np, pthread_setaffinity_np. + +New APIs: sched_getaffinity, sched_setaffinity, pthread_getaffinity_np, +pthread_setaffinity_np. + + + +New APIs: dbm_clearerr, dbm_close, dbm_delete, dbm_dirfno, dbm_error, +dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store. + +