301c301,307
< Substring = strrchr (DirectoryPath, '\\');
---
> /* Convert backslashes to slashes in the entire path */
>
> UtConvertBackslashes (DirectoryPath);
>
> /* Backup to last slash or colon */
>
> Substring = strrchr (DirectoryPath, '/');
304,308c310
< Substring = strrchr (DirectoryPath, '/');
< if (!Substring)
< {
< Substring = strrchr (DirectoryPath, ':');
< }
---
> Substring = strrchr (DirectoryPath, ':');
310a313,314
> /* Extract the simple filename */
>
312a317
> Filename = FlStrdup (DirectoryPath);
314d318
< Filename = FlStrdup (InputPath);
329d332
<
< Substring = strrchr (DirectoryPath, '\\');
---
> /* Convert backslashes to slashes in the entire path */
>
> UtConvertBackslashes (DirectoryPath);
>
> /* Backup to last slash or colon */
>
> Substring = strrchr (DirectoryPath, '/');
304,308c310
< Substring = strrchr (DirectoryPath, '/');
< if (!Substring)
< {
< Substring = strrchr (DirectoryPath, ':');
< }
---
> Substring = strrchr (DirectoryPath, ':');
310a313,314
> /* Extract the simple filename */
>
312a317
> Filename = FlStrdup (DirectoryPath);
314d318
< Filename = FlStrdup (InputPath);
329d332
<