]> andersk Git - openssh.git/commitdiff
- (dtucker) [acconfig.h configure.ac openbsd-compat/bsd-misc.{c,h}]
authordtucker <dtucker>
Fri, 25 Feb 2005 23:07:37 +0000 (23:07 +0000)
committerdtucker <dtucker>
Fri, 25 Feb 2005 23:07:37 +0000 (23:07 +0000)
   Remove SETGROUPS_NOOP, was only used by Cygwin, which doesn't need it any
   more.  Patch from vinschen at redhat.com.

ChangeLog
acconfig.h
configure.ac
openbsd-compat/bsd-misc.c
openbsd-compat/bsd-misc.h

index 5b8a4ce31f8e71451f35b5046dc17c1a88b7c3fe..79b2d47269d3c95936ce651e8a163b9827d08fc3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 20050226
  - (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
    Remove two obsolete Cygwin #ifdefs.  Patch from vinschen at redhat.com.
+ - (dtucker) [acconfig.h configure.ac openbsd-compat/bsd-misc.{c,h}]
+   Remove SETGROUPS_NOOP, was only used by Cygwin, which doesn't need it any
+   more.  Patch from vinschen at redhat.com.
 
 20050224
  - (djm) [configure.ac] in_addr_t test needs sys/types.h too
index 6be585e6652c4b7250d09bbceb26c6850cf069a1..6a3d65d78fb37e4bb787df25f8f8b9d298f2f5f9 100644 (file)
@@ -52,9 +52,6 @@
 #undef SPT_TYPE
 #undef SPT_PADCHAR
 
-/* setgroups() NOOP allowed */
-#undef SETGROUPS_NOOP
-
 /* SCO workaround */
 #undef BROKEN_SYS_TERMIO_H
 
index b7632ae4121554d89ff19e6dd5572b03525a9f46..5d551426b9e0ad8acfd756144014ff84bd417804 100644 (file)
@@ -158,7 +158,6 @@ case "$host" in
        AC_DEFINE(NO_X11_UNIX_SOCKETS)
        AC_DEFINE(NO_IPPORT_RESERVED_CONCEPT)
        AC_DEFINE(DISABLE_FD_PASSING)
-       AC_DEFINE(SETGROUPS_NOOP)
        ;;
 *-*-dgux*)
        AC_DEFINE(IP_TOS_IS_BROKEN)
index 070a133a2d20c8bcaf5f10bacaca25b1463b3813..8e49321b4765d51f2a1fa9f89ed9008e77e3ef3e 100644 (file)
@@ -122,17 +122,6 @@ int truncate(const char *path, off_t length)
 }
 #endif /* HAVE_TRUNCATE */
 
-#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP)
-/*
- * Cygwin setgroups should be a noop.
- */
-int
-setgroups(size_t size, const gid_t *list)
-{
-       return (0);
-}
-#endif 
-
 #if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP)
 int nanosleep(const struct timespec *req, struct timespec *rem)
 {
index f74665350f02e63a512663eb055756924b35cd35..e8e95ce4a882b4feb6c290170fcafb982aab8648 100644 (file)
@@ -67,10 +67,6 @@ int utimes(char *, struct timeval *);
 int truncate (const char *, off_t);
 #endif /* HAVE_TRUNCATE */
 
-#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP)
-int setgroups(size_t, const gid_t *);
-#endif
-
 #if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP)
 #ifndef HAVE_STRUCT_TIMESPEC
 struct timespec {
This page took 0.051056 seconds and 5 git commands to generate.