X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FGenCrc32%2FGenCrc32.c;h=a2ff5880d5510fb7cb0d6755839c8b7b71fe3420;hb=1be2ed90a20618d71ddf34b8a07d038da0b36854;hp=8ece9a841268cd3bc18ee71504d45332b47940f1;hpb=b8a13d736961faff0d11241a0428abc44a084d6e;p=mirror_edk2.git diff --git a/BaseTools/Source/C/GenCrc32/GenCrc32.c b/BaseTools/Source/C/GenCrc32/GenCrc32.c index 8ece9a8412..a2ff5880d5 100644 --- a/BaseTools/Source/C/GenCrc32/GenCrc32.c +++ b/BaseTools/Source/C/GenCrc32/GenCrc32.c @@ -1,6 +1,6 @@ /** @file -Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.
+Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -282,7 +282,7 @@ Returns: // // Open Input file and read file data. // - InFile = fopen (InputFileName, "rb"); + InFile = fopen (LongFilePath (InputFileName), "rb"); if (InFile == NULL) { Error (NULL, 0, 0001, "Error opening file", InputFileName); return STATUS_ERROR; @@ -305,7 +305,7 @@ Returns: // // Open output file // - OutFile = fopen (OutputFileName, "wb"); + OutFile = fopen (LongFilePath (OutputFileName), "wb"); if (OutFile == NULL) { Error (NULL, 0, 0001, "Error opening file", OutputFileName); goto Finish;