CVS commit: src/external/bsd/openldap/dist/libraries/liblutil

2024-03-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  4 17:10:33 UTC 2024

Modified Files:
src/external/bsd/openldap/dist/libraries/liblutil: getpass.c

Log Message:
Fix DEBUG build.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/openldap/dist/libraries/liblutil/getpass.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/openldap/dist/libraries/liblutil

2024-03-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  4 17:10:33 UTC 2024

Modified Files:
src/external/bsd/openldap/dist/libraries/liblutil: getpass.c

Log Message:
Fix DEBUG build.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/openldap/dist/libraries/liblutil/getpass.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/openldap/dist/libraries/liblutil/getpass.c
diff -u src/external/bsd/openldap/dist/libraries/liblutil/getpass.c:1.3 src/external/bsd/openldap/dist/libraries/liblutil/getpass.c:1.4
--- src/external/bsd/openldap/dist/libraries/liblutil/getpass.c:1.3	Sat Aug 14 12:14:58 2021
+++ src/external/bsd/openldap/dist/libraries/liblutil/getpass.c	Mon Mar  4 12:10:33 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: getpass.c,v 1.3 2021/08/14 16:14:58 christos Exp $	*/
+/*	$NetBSD: getpass.c,v 1.4 2024/03/04 17:10:33 christos Exp $	*/
 
 /* getpass.c -- get password from user */
 /* $OpenLDAP$ */
@@ -33,7 +33,7 @@
  */
 
 #include 
-__RCSID("$NetBSD: getpass.c,v 1.3 2021/08/14 16:14:58 christos Exp $");
+__RCSID("$NetBSD: getpass.c,v 1.4 2024/03/04 17:10:33 christos Exp $");
 
 #include "portable.h"
 
@@ -86,11 +86,6 @@ lutil_getpass( const char *prompt )
 
 	if( prompt == NULL ) prompt = _("Password: ");
 
-#ifdef DEBUG
-	if (debug & D_TRACE)
-		printf("->getpass(%s)\n", prompt);
-#endif
-
 #if defined(HAVE_TERMIOS_H) || defined(HAVE_SGTTY_H)
 	if ((fi = fopen(TTY, "r")) == NULL)
 		fi = stdin;



CVS commit: src/external/bsd/openldap/dist/libraries/liblutil

2010-03-07 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Mon Mar  8 04:58:18 UTC 2010

Modified Files:
src/external/bsd/openldap/dist/libraries/liblutil: passwd.c

Log Message:
include ac/time.h for timeval.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/openldap/dist/libraries/liblutil/passwd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/openldap/dist/libraries/liblutil

2010-03-07 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Mon Mar  8 04:58:18 UTC 2010

Modified Files:
src/external/bsd/openldap/dist/libraries/liblutil: passwd.c

Log Message:
include ac/time.h for timeval.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/openldap/dist/libraries/liblutil/passwd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/openldap/dist/libraries/liblutil/passwd.c
diff -u src/external/bsd/openldap/dist/libraries/liblutil/passwd.c:1.1.1.2 src/external/bsd/openldap/dist/libraries/liblutil/passwd.c:1.2
--- src/external/bsd/openldap/dist/libraries/liblutil/passwd.c:1.1.1.2	Mon Mar  8 02:14:17 2010
+++ src/external/bsd/openldap/dist/libraries/liblutil/passwd.c	Mon Mar  8 04:58:18 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: passwd.c,v 1.1.1.2 2010/03/08 02:14:17 lukem Exp $	*/
+/*	$NetBSD: passwd.c,v 1.2 2010/03/08 04:58:18 lukem Exp $	*/
 
 /* OpenLDAP: pkg/ldap/libraries/liblutil/passwd.c,v 1.104.2.9 2009/08/30 22:55:47 quanah Exp */
 /* This work is part of OpenLDAP Software http://www.openldap.org/.
@@ -33,6 +33,7 @@
 #include stdio.h
 #include ac/stdlib.h
 #include ac/string.h
+#include ac/time.h
 #include ac/unistd.h
 
 #if defined(SLAPD_LMHASH)