summaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-06-28 16:01:19 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-06-28 16:01:19 +1000
commite59b50879819db3bbb189ba7e069950a8991ea05 (patch)
tree0c771262fb0f74ef43283c26c71ec8fdb0c5ee3d /acconfig.h
parentf9eb2b013510ef35372560e673d0bf80b1b4dd2c (diff)
- (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.
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/acconfig.h b/acconfig.h
index f1435351..4c655823 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