mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Updates for bsd
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4478 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
09e7ec6d3f
commit
e9e59a3272
5 changed files with 475 additions and 334 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat Jun 26 7:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSRunLoop.m: Fix error in last mod.
|
||||
* Source/NSTask.m: Allow for bsd setpgrp()
|
||||
* Souyrce/configure.in: Allow for bsd setpgrp()
|
||||
|
||||
Fri Jun 25 11:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSRunLoop.m: Use autorelease pools in ([limitDateForMode:])
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
/* Define as __inline if that's what the C compiler calls it. */
|
||||
#undef inline
|
||||
|
||||
/* Define if the `setpgrp' function takes no argument. */
|
||||
#undef SETPGRP_VOID
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
#undef size_t
|
||||
|
||||
|
|
|
@ -515,7 +515,11 @@ extern char *objc_find_executable(const char *name);
|
|||
* Make sure task is run in it's own process group.
|
||||
*/
|
||||
#if HAVE_SETPGRP
|
||||
#ifdef SETPGRP_VOID
|
||||
setpgrp();
|
||||
#else
|
||||
setpgrp(getpid(), getpid());
|
||||
#endif
|
||||
#else
|
||||
#if defined(__WIN32__)
|
||||
pid = (int)GetCurrentProcessId(),
|
||||
|
|
|
@ -481,6 +481,7 @@ AC_CHECK_FUNCS(inet_aton)
|
|||
# These functions needed by NSTask.m
|
||||
#--------------------------------------------------------------------
|
||||
AC_CHECK_FUNCS(killpg setpgrp setpgid)
|
||||
AC_FUNC_SETPGRP
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# This function needed by NSThread.m
|
||||
|
|
Loading…
Reference in a new issue