diff options
Diffstat (limited to 'testing/ldapvi/ldapvi_getline.patch')
-rw-r--r-- | testing/ldapvi/ldapvi_getline.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/testing/ldapvi/ldapvi_getline.patch b/testing/ldapvi/ldapvi_getline.patch deleted file mode 100644 index f839107b3d..0000000000 --- a/testing/ldapvi/ldapvi_getline.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -uNr ldapvi-1.7.orig/common.h ldapvi-1.7/common.h ---- ldapvi-1.7.orig/common.h 2007-05-05 12:17:26.000000000 +0200 -+++ ldapvi-1.7/common.h 2009-06-20 18:51:31.000000000 +0200 -@@ -273,7 +273,7 @@ - char *home_filename(char *name); - void read_ldapvi_history(void); - void write_ldapvi_history(void); --char *getline(char *prompt, char *value); -+char *ldapvi_getline(char *prompt, char *value); - char *get_password(); - char *append(char *a, char *b); - void *xalloc(size_t size); -diff -uNr ldapvi-1.7.orig/ldapvi.c ldapvi-1.7/ldapvi.c ---- ldapvi-1.7.orig/ldapvi.c 2007-05-05 12:17:26.000000000 +0200 -+++ ldapvi-1.7/ldapvi.c 2009-06-20 18:51:31.000000000 +0200 -@@ -470,7 +470,7 @@ - bo->authmethod = LDAP_AUTH_SASL; - puts("Switching to SASL authentication."); - } -- bo->sasl_mech = getline("SASL mechanism", bo->sasl_mech); -+ bo->sasl_mech = ldapvi_getline("SASL mechanism", bo->sasl_mech); - } - - static int -diff -uNr ldapvi-1.7.orig/misc.c ldapvi-1.7/misc.c ---- ldapvi-1.7.orig/misc.c 2007-05-05 12:17:26.000000000 +0200 -+++ ldapvi-1.7/misc.c 2009-06-20 18:51:31.000000000 +0200 -@@ -315,7 +315,7 @@ - } - - char * --getline(char *prompt, char *value) -+ldapvi_getline(char *prompt, char *value) - { - tdialog d; - init_dialog(&d, DIALOG_DEFAULT, prompt, value); |