Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cvhci
ldapvi
ldapvi-misc-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ldapvi-misc-fixes.patch of Package ldapvi
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-12-01 10:44:47.052127187 +0100 @@ -1465,7 +1465,7 @@ int line = 0; int c; - if (lstat(sasl, &st) == -1) return; + if (lstat(sasl, &st) == -1) return 0; if ( !(in = fopen(sasl, "r"))) syserr(); if (st.st_size > 0) { 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-12-01 10:47:42.825698594 +0100 @@ -172,9 +172,9 @@ if (line > 0) { char buf[20]; snprintf(buf, 20, "+%ld", line); - execlp(vi, vi, buf, pathname, 0); + execlp(vi, vi, buf, pathname, (char*)NULL); } else - execlp(vi, vi, pathname, 0); + execlp(vi, vi, pathname, (char*)NULL); syserr(); } @@ -213,7 +213,7 @@ case -1: syserr(); case 0: - execlp(pg, pg, pathname, 0); + execlp(pg, pg, pathname, (char*)NULL); syserr(); } @@ -245,7 +245,7 @@ close(fds[1]); dup2(fds[0], 0); close(fds[0]); - execlp(pg, pg, 0); + execlp(pg, pg, (char*)NULL); syserr(); } @@ -589,6 +589,7 @@ meta_keymap = rl_copy_keymap((Keymap) keymap[27].function); keymap[27].type = ISKMAP; keymap[27].function = (rl_command_func_t *) meta_keymap; + return keymap; } diff -ru ldapvi-1.7.orig/sasl.c ldapvi-1.7/sasl.c --- ldapvi-1.7.orig/sasl.c 2007-05-05 12:17:26.000000000 +0200 +++ ldapvi-1.7/sasl.c 2010-12-01 10:48:05.797472346 +0100 @@ -139,6 +139,7 @@ default: g_ptr_array_add(defaults->scratch, result); } + return 0; } static int
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