This commit is contained in:
Cameron Kaiser
2017-11-14 20:16:11 -08:00
parent 81e2358bec
commit 9bb17e851d
5 changed files with 22 additions and 6 deletions
+4 -1
View File
@@ -60,6 +60,9 @@
#include "prmem.h"
#include "plbase64.h"
#include "mozilla-config.h"
#include "plvmx.h"
static nsresult MacErrorMapper(OSErr inErr);
#endif
@@ -334,7 +337,7 @@ nsLocalFile::CreateAllAncestors(uint32_t aPermissions)
fprintf(stderr, "nsIFile: before: %s\n", buffer);
#endif
while ((slashp = strchr(slashp + 1, '/'))) {
while ((slashp = VMX_STRCHR(slashp + 1, '/'))) {
/*
* Sequences of '/' are equivalent to a single '/'.
*/