Explicitly disable wrapping when writing to file, leaving it up to the
user's editor. No reason to have shelldap and editor wrap battles. Dennis Kaarsemaker <dennis.kaarsemaker@booking.com> FossilOrigin-Name: 574bf5133459a4354682e6db80b0c87a907d124aca3aeaebd17b1285a64b23b9
This commit is contained in:
parent
6a5a286c1e
commit
069692cbe0
2 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
Adam Spiers <adam@spiers.net>
|
||||
Alexander Perlis <aperlis@math.lsu.edu>
|
||||
Dennis Kaarsemaker <dennis.kaarsemaker@booking.com>
|
||||
Emile "iMil" Heitor <imil@home.imil.net>
|
||||
Gertjan Halkes <shelldap@ghalkes.nl>
|
||||
Giacomo Tenaglia <Giacomo.Tenaglia@cern.ch>
|
||||
|
|
|
|||
4
shelldap
4
shelldap
|
|
@ -655,7 +655,7 @@ sub ldif
|
|||
if ( $use_temp ) {
|
||||
my ( undef, $fname ) =
|
||||
File::Temp::tempfile( 'shelldap_XXXXXXXX', SUFFIX => '.ldif', DIR => '/tmp', UNLINK => 1 );
|
||||
$self->{'ldif'} = Net::LDAP::LDIF->new( $fname, 'w', sort => 1, wrap => $self->wrapsize );
|
||||
$self->{'ldif'} = Net::LDAP::LDIF->new( $fname, 'w', sort => 1, wrap => 0 )
|
||||
$self->{'ldif_fname'} = $fname;
|
||||
}
|
||||
|
||||
|
|
@ -2248,7 +2248,7 @@ use strict;
|
|||
use warnings;
|
||||
|
||||
$0 = 'shelldap';
|
||||
my $VERSION = '1.0.2';
|
||||
my $VERSION = '1.2.0';
|
||||
|
||||
use Getopt::Long;
|
||||
use YAML::Syck;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue