[Date Prev][Date Next] [Chronological] [Thread] [Top]

Unlimited line-width for ldapsearch (ITS#412)



Full_Name: Michele De Martin
Version: 1.2.8
OS: Linux; HP-UX 10.20
URL: ftp://ftp.openldap.org/incoming/michele-de-martin-991227.linew.patch
Submission from: (NULL) (193.42.71.2)


I've modified ldapsearch to use a new option: -N xx
This option let ldapsearch output be longer than 76 chars per line.
-N 0 means no limit.

I've deleted the following line in ldif.h
#define LINE_WIDTH      76      /* maximum length of LDIF lines */

and added this new one
extern int ldif_line_width;

(+ some more changes in other sources)

Apply the patch with

cd openldap-1.2.8
patch -p 1 < linew.patch