Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cvhci
ldapvi
ldapvi-getline-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ldapvi-getline-fix.patch of Package ldapvi
diff -ru 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 2010-11-05 16:20:17.364102792 +0100 @@ -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 -ru 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 2010-11-05 16:20:31.240103335 +0100 @@ -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 -ru 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 2010-11-05 16:20:45.664103312 +0100 @@ -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);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor