* common.din: Export posix_spawn[...] functions.

* exec.cc (execve): Add EXPORT_ALIAS _execve.
	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
	* posix.sgml (std-susv4):  Add posix_spawn[...] here.
	(std-notimpl): Drop here.
This commit is contained in:
Corinna Vinschen 2013-11-26 17:11:09 +00:00
parent d12e1c0670
commit bb9d95eb38
6 changed files with 56 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2013-11-26 Corinna Vinschen <corinna@vinschen.de>
* common.din: Export posix_spawn[...] functions.
* exec.cc (execve): Add EXPORT_ALIAS _execve.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* posix.sgml (std-susv4): Add posix_spawn[...] here.
(std-notimpl): Drop here.
2013-11-26 Corinna Vinschen <corinna@vinschen.de>
* nlsfuncs.cc (strcoll): Add "__restrict" to definition.

View File

@ -775,6 +775,27 @@ posix_fallocate SIGFE
posix_madvise SIGFE
posix_memalign SIGFE
posix_openpt SIGFE
posix_spawn SIGFE
posix_spawnattr_destroy SIGFE
posix_spawnattr_init SIGFE
posix_spawnattr_getflags NOSIGFE
posix_spawnattr_getpgroup NOSIGFE
posix_spawnattr_getschedparam NOSIGFE
posix_spawnattr_getschedpolicy NOSIGFE
posix_spawnattr_getsigdefault NOSIGFE
posix_spawnattr_getsigmask NOSIGFE
posix_spawnattr_setflags NOSIGFE
posix_spawnattr_setpgroup NOSIGFE
posix_spawnattr_setschedparam NOSIGFE
posix_spawnattr_setschedpolicy NOSIGFE
posix_spawnattr_setsigdefault NOSIGFE
posix_spawnattr_setsigmask NOSIGFE
posix_spawnp SIGFE
posix_spawn_file_actions_destroy SIGFE
posix_spawn_file_actions_init SIGFE
posix_spawn_file_actions_addclose SIGFE
posix_spawn_file_actions_adddup2 SIGFE
posix_spawn_file_actions_addopen SIGFE
pow NOSIGFE
pow10 NOSIGFE
pow10f NOSIGFE

View File

@ -93,6 +93,7 @@ execve (const char *path, char *const argv[], char *const envp[])
MALLOC_CHECK;
return spawnve (_P_OVERLAY, path, argv, envp);
}
EXPORT_ALIAS (execve, _execve) /* For newlib */
extern "C" int
execvp (const char *file, char * const *argv)

View File

@ -441,12 +441,13 @@ details. */
269: Allow application override of posix_memalign.
270: Redefine mtget.mt_resid field to contain current partition as well
as number of partitions on tape.
271: Export posix_spawn, posix_spawnp, and helper functions.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 270
#define CYGWIN_VERSION_API_MINOR 271
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible

View File

@ -521,6 +521,27 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
posix_madvise
posix_memalign
posix_openpt
posix_spawn
posix_spawnattr_destroy
posix_spawnattr_init
posix_spawnattr_getflags
posix_spawnattr_getpgroup
posix_spawnattr_getschedparam
posix_spawnattr_getschedpolicy
posix_spawnattr_getsigdefault
posix_spawnattr_getsigmask
posix_spawnattr_setflags
posix_spawnattr_setpgroup
posix_spawnattr_setschedparam
posix_spawnattr_setschedpolicy
posix_spawnattr_setsigdefault
posix_spawnattr_setsigmask
posix_spawnp
posix_spawn_file_actions_destroy
posix_spawn_file_actions_init
posix_spawn_file_actions_addclose
posix_spawn_file_actions_adddup2
posix_spawn_file_actions_addopen
pow
powf
pread
@ -1404,7 +1425,6 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
nexttowardf
nexttowardl
posix_mem_offset
posix_spawn[...]
posix_trace[...]
posix_typed_[...]
powl

View File

@ -8,6 +8,9 @@ What's new:
- getnameinfo now supports glibc-specific International Domain Name (IDN)
extension flags: NI_IDN, NI_IDN_ALLOW_UNASSIGNED, NI_IDN_USE_STD3_ASCII_RULES.
- Preliminary, experimental support of the posix_spawn family of functions.
New associated header /usr/include/spawn.h.
What changed:
-------------