summaryrefslogtreecommitdiff
path: root/usr/src/lib/libldap5/sources/ldap/common/friendly.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libldap5/sources/ldap/common/friendly.c')
-rw-r--r--usr/src/lib/libldap5/sources/ldap/common/friendly.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/lib/libldap5/sources/ldap/common/friendly.c b/usr/src/lib/libldap5/sources/ldap/common/friendly.c
index 91bb491469..79d602160d 100644
--- a/usr/src/lib/libldap5/sources/ldap/common/friendly.c
+++ b/usr/src/lib/libldap5/sources/ldap/common/friendly.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"
/*
@@ -55,7 +59,7 @@ ldap_friendly_name( char *filename, char *name, FriendlyMap *map )
}
if ( *map == NULL ) {
- if ( (fp = fopen( filename, "r" )) == NULL )
+ if ( (fp = fopen( filename, "rF" )) == NULL )
return( name );
entries = 0;