Gitweb links: ...log http://git.netsurf-browser.org/netsurf.git/shortlog/34508fc3cdd73ddb7a9532e434af4a561404507f ...commit http://git.netsurf-browser.org/netsurf.git/commit/34508fc3cdd73ddb7a9532e434af4a561404507f ...tree http://git.netsurf-browser.org/netsurf.git/tree/34508fc3cdd73ddb7a9532e434af4a561404507f
The branch, master has been updated via 34508fc3cdd73ddb7a9532e434af4a561404507f (commit) via 959c561eb3d69e336e1d2342d230a7c87aec9493 (commit) from 06b709f71a7e1ac2bb2b17d99bd155e4a993963d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commitdiff http://git.netsurf-browser.org/netsurf.git/commit/?id=34508fc3cdd73ddb7a9532e434af4a561404507f commit 34508fc3cdd73ddb7a9532e434af4a561404507f Author: Vincent Sanders <vi...@kyllikki.org> Commit: Vincent Sanders <vi...@kyllikki.org> For some reason atari mkdir_all operation was using the wrong path separator diff --git a/frontends/atari/file.c b/frontends/atari/file.c index 235d824..81b67e8 100644 --- a/frontends/atari/file.c +++ b/frontends/atari/file.c @@ -234,7 +234,7 @@ static nserror atari_mkdir_all(const char *fname) dname = strdup(fname); - sep = strrchr(dname, '/'); + sep = strrchr(dname, '\\'); if (sep == NULL) { /* no directory separator path is just filename so its ok */ free(dname); @@ -251,13 +251,13 @@ static nserror atari_mkdir_all(const char *fname) } return NSERROR_NOT_DIRECTORY; } - *sep = '/'; /* restore separator */ + *sep = '\\'; /* restore separator */ sep = dname; - while (*sep == '/') { + while (*sep == '\\') { sep++; } - while ((sep = strchr(sep, '/')) != NULL) { + while ((sep = strchr(sep, '\\')) != NULL) { *sep = 0; if (stat(dname, &sb) != 0) { if (nsmkdir(dname, S_IRWXU) != 0) { @@ -272,9 +272,9 @@ static nserror atari_mkdir_all(const char *fname) return NSERROR_NOT_DIRECTORY; } } - *sep = '/'; /* restore separator */ + *sep = '\\'; /* restore separator */ /* skip directory separators */ - while (*sep == '/') { + while (*sep == '\\') { sep++; } } commitdiff http://git.netsurf-browser.org/netsurf.git/commit/?id=959c561eb3d69e336e1d2342d230a7c87aec9493 commit 959c561eb3d69e336e1d2342d230a7c87aec9493 Author: Vincent Sanders <vi...@kyllikki.org> Commit: Vincent Sanders <vi...@kyllikki.org> unit testing table of contents marker was wrong case diff --git a/docs/unit-testing.md b/docs/unit-testing.md index 054c8e5..f7adc82 100644 --- a/docs/unit-testing.md +++ b/docs/unit-testing.md @@ -1,7 +1,7 @@ NetSurf Unit Testing ==================== -[toc] +[TOC] # Overview ----------------------------------------------------------------------- Summary of changes: docs/unit-testing.md | 2 +- frontends/atari/file.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/unit-testing.md b/docs/unit-testing.md index 054c8e5..f7adc82 100644 --- a/docs/unit-testing.md +++ b/docs/unit-testing.md @@ -1,7 +1,7 @@ NetSurf Unit Testing ==================== -[toc] +[TOC] # Overview diff --git a/frontends/atari/file.c b/frontends/atari/file.c index 235d824..81b67e8 100644 --- a/frontends/atari/file.c +++ b/frontends/atari/file.c @@ -234,7 +234,7 @@ static nserror atari_mkdir_all(const char *fname) dname = strdup(fname); - sep = strrchr(dname, '/'); + sep = strrchr(dname, '\\'); if (sep == NULL) { /* no directory separator path is just filename so its ok */ free(dname); @@ -251,13 +251,13 @@ static nserror atari_mkdir_all(const char *fname) } return NSERROR_NOT_DIRECTORY; } - *sep = '/'; /* restore separator */ + *sep = '\\'; /* restore separator */ sep = dname; - while (*sep == '/') { + while (*sep == '\\') { sep++; } - while ((sep = strchr(sep, '/')) != NULL) { + while ((sep = strchr(sep, '\\')) != NULL) { *sep = 0; if (stat(dname, &sb) != 0) { if (nsmkdir(dname, S_IRWXU) != 0) { @@ -272,9 +272,9 @@ static nserror atari_mkdir_all(const char *fname) return NSERROR_NOT_DIRECTORY; } } - *sep = '/'; /* restore separator */ + *sep = '\\'; /* restore separator */ /* skip directory separators */ - while (*sep == '/') { + while (*sep == '\\') { sep++; } } -- NetSurf Browser _______________________________________________ netsurf-commits mailing list netsurf-commits@netsurf-browser.org http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org