X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FEfiRom%2FEfiRom.c;h=838ee25cba74c9212342cb7a5f65105a090eb1c9;hp=9f7da8017ca98efc5b6feee891720ebd63d79089;hb=1be2ed90a20618d71ddf34b8a07d038da0b36854;hpb=b8a13d736961faff0d11241a0428abc44a084d6e diff --git a/BaseTools/Source/C/EfiRom/EfiRom.c b/BaseTools/Source/C/EfiRom/EfiRom.c index 9f7da8017c..838ee25cba 100644 --- a/BaseTools/Source/C/EfiRom/EfiRom.c +++ b/BaseTools/Source/C/EfiRom/EfiRom.c @@ -1,6 +1,6 @@ /** @file -Copyright (c) 1999 - 2013, Intel Corporation. All rights reserved.
+Copyright (c) 1999 - 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 @@ -135,7 +135,7 @@ Returns: // // Now open our output file // - if ((FptrOut = fopen (mOptions.OutFileName, "wb")) == NULL) { + if ((FptrOut = fopen (LongFilePath (mOptions.OutFileName), "wb")) == NULL) { Error (NULL, 0, 0001, "Error opening file", "Error opening file %s", mOptions.OutFileName); goto BailOut; } @@ -246,7 +246,7 @@ Returns: // // Try to open the input file // - if ((InFptr = fopen (InFile->FileName, "rb")) == NULL) { + if ((InFptr = fopen (LongFilePath (InFile->FileName), "rb")) == NULL) { Error (NULL, 0, 0001, "Error opening file", InFile->FileName); return STATUS_ERROR; } @@ -460,7 +460,7 @@ Returns: // // Try to open the input file // - if ((InFptr = fopen (InFile->FileName, "rb")) == NULL) { + if ((InFptr = fopen (LongFilePath (InFile->FileName), "rb")) == NULL) { Error (NULL, 0, 0001, "Open file error", "Error opening file: %s", InFile->FileName); return STATUS_ERROR; } @@ -1230,7 +1230,7 @@ Returns: // // Copyright declaration // - fprintf (stdout, "Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.\n\n"); + fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n"); // // Details Option @@ -1300,7 +1300,7 @@ Returns: // // Open the input file // - if ((InFptr = fopen (InFile->FileName, "rb")) == NULL) { + if ((InFptr = fopen (LongFilePath (InFile->FileName), "rb")) == NULL) { Error (NULL, 0, 0001, "Error opening file", InFile->FileName); return ; }