Explicitly disable wrapping when writing to file, leaving it up to the v1.2.0
authorDennis Kaarsemaker <dennis.kaarsemaker@booking.com>
Mon, 11 Aug 2014 11:19:01 -0700
changeset 68 1a480ba231b6
parent 67 86e3374a40a3
child 69 b220dc774937
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>
CONTRIBUTORS
shelldap
--- 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 <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>
--- 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;