mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 17:25:09 +02:00
- (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.
This commit is contained in:
parent
34233830a1
commit
3804903a09
@ -1,6 +1,9 @@
|
|||||||
20050226
|
20050226
|
||||||
- (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
|
- (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
|
||||||
Remove two obsolete Cygwin #ifdefs. Patch from vinschen at redhat.com.
|
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
|
20050224
|
||||||
- (djm) [configure.ac] in_addr_t test needs sys/types.h too
|
- (djm) [configure.ac] in_addr_t test needs sys/types.h too
|
||||||
@ -2167,4 +2170,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3664 2005/02/25 23:04:28 dtucker Exp $
|
$Id: ChangeLog,v 1.3665 2005/02/25 23:07:37 dtucker Exp $
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $Id: acconfig.h,v 1.180 2004/08/16 13:12:06 dtucker Exp $ */
|
/* $Id: acconfig.h,v 1.181 2005/02/25 23:07:38 dtucker Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
|
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
|
||||||
@ -52,9 +52,6 @@
|
|||||||
#undef SPT_TYPE
|
#undef SPT_TYPE
|
||||||
#undef SPT_PADCHAR
|
#undef SPT_PADCHAR
|
||||||
|
|
||||||
/* setgroups() NOOP allowed */
|
|
||||||
#undef SETGROUPS_NOOP
|
|
||||||
|
|
||||||
/* SCO workaround */
|
/* SCO workaround */
|
||||||
#undef BROKEN_SYS_TERMIO_H
|
#undef BROKEN_SYS_TERMIO_H
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id: configure.ac,v 1.247 2005/02/24 01:12:35 djm Exp $
|
# $Id: configure.ac,v 1.248 2005/02/25 23:07:38 dtucker Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 1999-2004 Damien Miller
|
# Copyright (c) 1999-2004 Damien Miller
|
||||||
#
|
#
|
||||||
@ -158,7 +158,6 @@ case "$host" in
|
|||||||
AC_DEFINE(NO_X11_UNIX_SOCKETS)
|
AC_DEFINE(NO_X11_UNIX_SOCKETS)
|
||||||
AC_DEFINE(NO_IPPORT_RESERVED_CONCEPT)
|
AC_DEFINE(NO_IPPORT_RESERVED_CONCEPT)
|
||||||
AC_DEFINE(DISABLE_FD_PASSING)
|
AC_DEFINE(DISABLE_FD_PASSING)
|
||||||
AC_DEFINE(SETGROUPS_NOOP)
|
|
||||||
;;
|
;;
|
||||||
*-*-dgux*)
|
*-*-dgux*)
|
||||||
AC_DEFINE(IP_TOS_IS_BROKEN)
|
AC_DEFINE(IP_TOS_IS_BROKEN)
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
|
|
||||||
RCSID("$Id: bsd-misc.c,v 1.25 2004/08/15 08:41:00 djm Exp $");
|
RCSID("$Id: bsd-misc.c,v 1.26 2005/02/25 23:07:38 dtucker Exp $");
|
||||||
|
|
||||||
#ifndef HAVE___PROGNAME
|
#ifndef HAVE___PROGNAME
|
||||||
char *__progname;
|
char *__progname;
|
||||||
@ -122,17 +122,6 @@ int truncate(const char *path, off_t length)
|
|||||||
}
|
}
|
||||||
#endif /* HAVE_TRUNCATE */
|
#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)
|
#if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP)
|
||||||
int nanosleep(const struct timespec *req, struct timespec *rem)
|
int nanosleep(const struct timespec *req, struct timespec *rem)
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $Id: bsd-misc.h,v 1.17 2004/08/15 08:41:00 djm Exp $ */
|
/* $Id: bsd-misc.h,v 1.18 2005/02/25 23:07:38 dtucker Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org>
|
* Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org>
|
||||||
@ -67,10 +67,6 @@ int utimes(char *, struct timeval *);
|
|||||||
int truncate (const char *, off_t);
|
int truncate (const char *, off_t);
|
||||||
#endif /* HAVE_TRUNCATE */
|
#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)
|
#if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP)
|
||||||
#ifndef HAVE_STRUCT_TIMESPEC
|
#ifndef HAVE_STRUCT_TIMESPEC
|
||||||
struct timespec {
|
struct timespec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user