ShellPkg: Remove redundant quotes in file path string for Shell command parameters.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16122 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -72,5 +72,23 @@ InternalShellIsHexOrDecimalNumber (
|
||||
IN CONST BOOLEAN StopAtSpace
|
||||
);
|
||||
|
||||
/**
|
||||
Cleans off all the quotes in the string.
|
||||
|
||||
@param[in] OriginalString pointer to the string to be cleaned.
|
||||
@param[out] CleanString The new string with all quotes removed.
|
||||
Memory allocated in the function and free
|
||||
by caller.
|
||||
|
||||
@retval EFI_SUCCESS The operation was successful.
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
InternalShellStripQuotes (
|
||||
IN CONST CHAR16 *OriginalString,
|
||||
OUT CHAR16 **CleanString
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user