From e59b50879819db3bbb189ba7e069950a8991ea05 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 28 Jun 2004 16:01:19 +1000 Subject: - (dtucker) [acconfig.h configure.ac sftp-server.c] Bug #823: add sftp rename handling for Linux which returns EPERM for link() on (at least some) filesystems that do not support hard links. sftp-server will fall back to stat+rename() in such cases. --- acconfig.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'acconfig.h') diff --git a/acconfig.h b/acconfig.h index f14353519..4c655823f 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,4 +1,4 @@ -/* $Id: acconfig.h,v 1.177 2004/04/15 23:22:40 dtucker Exp $ */ +/* $Id: acconfig.h,v 1.178 2004/06/28 06:01:20 dtucker Exp $ */ /* * Copyright (c) 1999-2003 Damien Miller. All rights reserved. @@ -434,6 +434,12 @@ /* Define if cmsg_type is not passed correctly */ #undef BROKEN_CMSG_TYPE +/* + * Define to whatever link() returns for "not supported" if it doesn't + * return EOPNOTSUPP. + */ +#undef LINK_OPNOTSUPP_ERRNO + /* Strings used in /etc/passwd to denote locked account */ #undef LOCKED_PASSWD_STRING #undef LOCKED_PASSWD_PREFIX -- cgit v1.2.3