Description: Fixes for #235965
When I run cstocs without arguments, following warning is printed:
  
  Use of uninitialized value in pattern match (m//) at /usr/bin/cstocs line 135.

Attached cstocs.patch solves the issue by checking whether ARGV[0] is
defined before using it.

I also attach another patch which fixes minor typo in dbfcstocs
documentation.  See dbfcstocs.patch.

Author: Tomas Hoger <thoger@pobox.sk>
Bug-Debian: http://bugs.debian.org/235965

--- cstocs-3.42.orig/bin/dbfcstocs.PL
+++ cstocs-3.42/bin/dbfcstocs.PL
@@ -40,7 +40,7 @@ for short usage info.
 
 =head1 DESCRIPTION
 
-This script is a wrapper aound the cstocs utility, please see its man
+This script is a wrapper around the cstocs utility, please see its man
 page first. This program converts charsets in dbf database files. You
 can also use the --field-names-charset option which will specify to
 which charset to convert the field names. So you can convert file in
--- cstocs-3.42.orig/bin/cstocs.PL
+++ cstocs-3.42/bin/cstocs.PL
@@ -144,7 +144,7 @@ Jan Pazdziora, adelton@fi.muni.cz, creat
 =cut
 
 BEGIN {
-	if ($ARGV[0] =~ /^--?i(npl)?.*?(\..+?$)?$/) {
+        if (defined($ARGV[0])  &&  $ARGV[0] =~ /^--?i(npl)?.*?(\..+?$)?$/) {
 		my $ext = '';
 		$ext = $2 if defined $2;
 		shift @ARGV;
