Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit Don't use HAVE_ yet.



details:   https://anonhg.NetBSD.org/src/rev/865632dedd80
branches:  trunk
changeset: 521711:865632dedd80
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 03 23:37:19 2002 +0000

description:
Don't use HAVE_ yet.

diffstat:

 lib/libedit/el.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 96eed3aaf89c -r 865632dedd80 lib/libedit/el.c
--- a/lib/libedit/el.c  Sun Feb 03 23:34:42 2002 +0000
+++ b/lib/libedit/el.c  Sun Feb 03 23:37:19 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: el.c,v 1.27 2002/02/03 23:30:03 christos Exp $ */
+/*     $NetBSD: el.c,v 1.28 2002/02/03 23:37:19 christos Exp $ */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -36,14 +36,12 @@
  * SUCH DAMAGE.
  */
 
-#ifdef HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
-#endif
 #if !defined(lint) && !defined(SCCSID)
 #if 0
 static char sccsid[] = "@(#)el.c       8.2 (Berkeley) 1/3/94";
 #else
-__RCSID("$NetBSD: el.c,v 1.27 2002/02/03 23:30:03 christos Exp $");
+__RCSID("$NetBSD: el.c,v 1.28 2002/02/03 23:37:19 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -413,7 +411,7 @@
 
        fp = NULL;
        if (fname == NULL) {
-#ifdef HAVE_ISSETUGID
+#if 1 /* HAVE_ISSETUGID */
                static const char elpath[] = "/.editrc";
                char path[MAXPATHLEN];
 



Home | Main Index | Thread Index | Old Index