summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2001-03-19 18:31:44 -0800
committerTim Rice <tim@multitalents.net>2001-03-19 18:31:44 -0800
commitd14d7021a14fd45705bd1f4833e2e63829c04449 (patch)
treebd2c7b1a329f7b7db52946e673955602b6ae444d
parent82e7ae5bceb636ecd52189f6ec63fd3db108cd85 (diff)
downloadopenssh-git-d14d7021a14fd45705bd1f4833e2e63829c04449.tar.gz
change S_ISLNK macro to work for UnixWare 2.03
-rw-r--r--ChangeLog4
-rw-r--r--defines.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e07c0791..adc3faae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,8 @@
version 2.5.2
- (djm) Update RPM spec version
- (djm) Release 2.5.2p1
+- tim@mindrot.org 2001/03/19 18:33:47 [defines.h]
+ change S_ISLNK macro to work for UnixWare 2.03
20010319
- (djm) Seed PRNG at startup, rather than waiting for arc4random calls to
@@ -4641,4 +4643,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.991 2001/03/19 22:30:50 djm Exp $
+$Id: ChangeLog,v 1.992 2001/03/20 02:31:44 tim Exp $
diff --git a/defines.h b/defines.h
index 29c46a62..7f888935 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.60 2001/03/19 03:12:26 mouring Exp $ */
+/* $Id: defines.h,v 1.61 2001/03/20 02:31:45 tim Exp $ */
/* Some platforms need this for the _r() functions */
#if !defined(_REENTRANT) && !defined(SNI)
@@ -108,7 +108,7 @@ enum
#endif /* S_ISREG */
#ifndef S_ISLNK
-# define S_ISLNK(mode) (((mode) & (_S_IFMT)) == (_S_IFLNK))
+# define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
#endif /* S_ISLNK */
#ifndef S_IXUSR