~johnemb/randgen/xml-report

« back to all changes in this revision

Viewing changes to lib/GenTest/Generator/FromGrammar.pm

  • Committer: John H. Embretsen
  • Date: 2010-04-08 13:28:06 UTC
  • mfrom: (140.20.39 lp-randgen)
  • Revision ID: john.embretsen@sun.com-20100408132806-vqufmjdcxqjws95j
XML: Merge in post-merge fixes and latest changes from lp:randgen. Revno 386 2010-04-08

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
                        # Create a new temporary file name and record it for unlinking at the next statement
293
293
                        $generator->[GENERATOR_TMPNAM] = tmpdir()."gentest".$$.".tmp" if not defined $generator->[GENERATOR_TMPNAM];
294
294
                        $_ = "'".$generator->[GENERATOR_TMPNAM]."'";
295
 
                        $_ =~ s{\\}{\\\\}sgio if windows();     # Backslash-escape backslashes on Windows
 
295
                        $_ =~ s{\\}{\\\\}sgio if osWindows();   # Backslash-escape backslashes on Windows
296
296
                } elsif ($_ eq '_tmptable') {
297
297
                        $_ = "tmptable".$$;
298
298
                } elsif ($_ eq '_unix_timestamp') {