Solution.patch

text/plain

Filename: Solution.patch
Type: text/plain
Part: 0
Message: msvc build fails in Japanese environment

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
Solution.pm 1 1
Index: Solution.pm
===================================================================
RCS file: /projects/cvsroot/pgsql/src/tools/msvc/Solution.pm,v
retrieving revision 1.49
diff -c -r1.49 Solution.pm
*** Solution.pm	23 Dec 2009 13:27:04 -0000	1.49
--- Solution.pm	29 Dec 2009 23:47:43 -0000
***************
*** 66,72 ****
      open(P,"vcbuild /? |") || die "vcbuild command not found";
      my $line = <P>;
      close(P);
!     if ($line !~ /^Microsoft \(R\) Visual C\+\+ Project Builder - Command Line Version (\d+)\.00\.\d+/) {
         die "Unable to determine vcbuild version from first line of output!";
      }
      if ($1 == 8) { $self->{vcver} = '8.00' }
--- 66,72 ----
      open(P,"vcbuild /? |") || die "vcbuild command not found";
      my $line = <P>;
      close(P);
!     if ($line !~ /^Microsoft\s*\(R\) Visual C\+\+ Project Builder - \D+(\d+)\.00\.\d+/) {
         die "Unable to determine vcbuild version from first line of output!";
      }
      if ($1 == 8) { $self->{vcver} = '8.00' }