summaryrefslogtreecommitdiff
path: root/usr/src/lib/libldap5/sources/ldap/common/srchpref.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libldap5/sources/ldap/common/srchpref.c')
-rw-r--r--usr/src/lib/libldap5/sources/ldap/common/srchpref.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/lib/libldap5/sources/ldap/common/srchpref.c b/usr/src/lib/libldap5/sources/ldap/common/srchpref.c
index 50105e50ab..bd3f61eebe 100644
--- a/usr/src/lib/libldap5/sources/ldap/common/srchpref.c
+++ b/usr/src/lib/libldap5/sources/ldap/common/srchpref.c
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
#pragma ident "%Z%%M% %I% %E% SMI"
/*
@@ -65,7 +69,7 @@ ldap_init_searchprefs( char *file, struct ldap_searchobj **solistp )
long rlen, len;
int rc, eof;
- if (( fp = fopen( file, "r" )) == NULL ) {
+ if (( fp = fopen( file, "rF" )) == NULL ) {
return( LDAP_SEARCHPREF_ERR_FILE );
}