Masato Taruishi
taru****@users*****
2004年 10月 30日 (土) 09:11:21 JST
=================================================================== RCS file: utils/misc/ldifdiff/ldifdiff,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- utils/misc/ldifdiff/ldifdiff 2004/10/29 23:58:34 1.6 +++ utils/misc/ldifdiff/ldifdiff 2004/10/30 00:11:21 1.7 @@ -190,14 +190,14 @@ close $oldin; close $newin; -foreach ( keys %oldentry ) { +foreach ( sort { length($a) < length($b); } keys %oldentry ) { debug "delete: $_\n"; print "dn: $_\n"; print "changetype: delete\n"; print "\n"; } -foreach ( sort { length($a) > length($b) } keys %newentry ) { +foreach ( sort { length($a) > length($b); } keys %newentry ) { debug "add: $_\n"; print "dn: $_\n"; print "changetype: add\n";