Diff for /db/prgsrc/eq/Attic/findequal.pl between versions 1.8 and 1.10

version 1.8, 2001/05/18 22:53:03 version 1.10, 2001/08/04 11:41:50
Line 33  use POSIX qw (locale_h); Line 33  use POSIX qw (locale_h);
 do "common.pl";  do "common.pl";
   
 my ($thislocale);  my ($thislocale);
 if ($^O ~= /win/i) {  if ($^O =~ /win/i) {
         $thislocale = "Russian_Russia.20866";          $thislocale = "Russian_Russia.20866";
 } else {  } else {
         $thislocale = "ru_RU.KOI8-R";          $thislocale = "ru_RU.KOI8-R";
 }  }
 POSIX::setlocale( &POSIX::LC_ALL, $thislocale );  POSIX::setlocale( &POSIX::LC_ALL, $thislocale );
 if ((uc 'Á') ne 'á') {die "!Koi8-r locale not installed!\n"};  if ((uc 'Á') ne 'á') {die "!Koi8-r locale not installed!\n"};
 }  
   
   
 if ((uc 'Á') ne 'á') {die "!Koi8-r locale not installed!\n"};  if ((uc 'Á') ne 'á') {die "!Koi8-r locale not installed!\n"};
   
 print "before checktable";  
   
   
 if (checktable('equalto')) {die "The table equalto exists. You must delete it first!\n"};  if (checktable('equalto')) {die "The table equalto exists. You must delete it first!\n"};
   
 if ((uc 'Á') ne 'á') {die "!Koi8-r locale not installed!\n"};  if ((uc 'Á') ne 'á') {die "!Koi8-r locale not installed!\n"};
   
 print "before mydo";  
   
   
 print "Creating equalto table...\n";  print "Creating equalto table...\n";

Removed from v.1.8  
changed lines
  Added in v.1.10


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>