# HG changeset patch # User Dennis Kaarsemaker # Date 1407781141 25200 # Node ID 1a480ba231b6ef7714a08151434b7773a1851936 # Parent 86e3374a40a32cd59c3cd5de2df7d956dd50def7 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 diff -r 86e3374a40a3 -r 1a480ba231b6 CONTRIBUTORS --- a/CONTRIBUTORS Mon Aug 11 11:07:00 2014 -0700 +++ b/CONTRIBUTORS Mon Aug 11 11:19:01 2014 -0700 @@ -1,5 +1,6 @@ Adam Spiers Alexander Perlis +Dennis Kaarsemaker Emile "iMil" Heitor Gertjan Halkes Giacomo Tenaglia diff -r 86e3374a40a3 -r 1a480ba231b6 shelldap --- a/shelldap Mon Aug 11 11:07:00 2014 -0700 +++ b/shelldap Mon Aug 11 11:19:01 2014 -0700 @@ -655,7 +655,7 @@ 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 warnings; $0 = 'shelldap'; -my $VERSION = '1.0.2'; +my $VERSION = '1.2.0'; use Getopt::Long; use YAML::Syck;