fixing build errors
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8824 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -714,7 +714,7 @@ StrnCatGrowLeft (
|
||||
*Destination = AllocateZeroPool((Count+1)*sizeof(CHAR16));
|
||||
}
|
||||
|
||||
*Destination = CopyMem(*Destination+StrLen(Source), *Destination, StrSize(*Destination));
|
||||
*Destination = CopyMem((*Destination)+StrLen(Source), *Destination, StrSize(*Destination));
|
||||
*Destination = CopyMem(*Destination, Source, StrLen(Source));
|
||||
return (*Destination);
|
||||
}
|
||||
@ -798,7 +798,7 @@ FileHandleGetFileName (
|
||||
}
|
||||
|
||||
if (EFI_ERROR(Status) && *FullFileName != NULL) {
|
||||
FreePool(FullFileName);
|
||||
FreePool(*FullFileName);
|
||||
}
|
||||
|
||||
return (Status);
|
||||
@ -808,8 +808,8 @@ FileHandleGetFileName (
|
||||
Function to read a single line (up to but not including the \n) from a file.
|
||||
|
||||
@param[in] Handle FileHandle to read from
|
||||
@param[in,out] Buffer pointer to buffer to read into
|
||||
@param[in,out] Size pointer to number of bytes in buffer
|
||||
@param[in,out] Buffer pointer to buffer to read into
|
||||
@param[in,out] Size pointer to number of bytes in buffer
|
||||
@param[in[ Truncate if TRUE then allows for truncation of the line to fit.
|
||||
if FALSE will reset the position to the begining of the
|
||||
line if the buffer is not large enough.
|
||||
|
Reference in New Issue
Block a user