From: Lawrence S. <ljs...@us...> - 2013-06-07 05:54:25
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via a62d98709d267c8fbf0402aa64d479a3e57b9485 (commit) from 3294e0a069edd98423b74d071a4d5a4dc5f7e369 (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 ----------------------------------------------------------------- commit a62d98709d267c8fbf0402aa64d479a3e57b9485 Author: Lawrence Sebald <ljs...@us...> Date: Fri Jun 7 01:53:35 2013 -0400 strnicmp -> strncasecmp (not strcasecmp)... ----------------------------------------------------------------------- Summary of changes: kernel/arch/dreamcast/fs/fs_iso9660.c | 2 +- kernel/exports/nmmgr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/arch/dreamcast/fs/fs_iso9660.c b/kernel/arch/dreamcast/fs/fs_iso9660.c index 26b98e1..2aa9ce9 100644 --- a/kernel/arch/dreamcast/fs/fs_iso9660.c +++ b/kernel/arch/dreamcast/fs/fs_iso9660.c @@ -496,7 +496,7 @@ static iso_dirent_t *find_object(const char *fn, int dir, else fnlen = strlen(fn); - if(!strcasecmp(rrname, fn, fnlen) && ! *(rrname + fnlen)) { + if(!strncasecmp(rrname, fn, fnlen) && ! *(rrname + fnlen)) { if(!((dir << 1) ^ de->flags)) return de; } diff --git a/kernel/exports/nmmgr.c b/kernel/exports/nmmgr.c index 6f229e2..61188a3 100644 --- a/kernel/exports/nmmgr.c +++ b/kernel/exports/nmmgr.c @@ -35,7 +35,7 @@ nmmgr_handler_t * nmmgr_lookup(const char *fn) { /* Scan the handler table and look for a path match */ LIST_FOREACH(cur, &nmmgr_handlers, list_ent) { - if(!strcasecmp(cur->pathname, fn, strlen(cur->pathname))) + if(!strncasecmp(cur->pathname, fn, strlen(cur->pathname))) break; } hooks/post-receive -- A pseudo Operating System for the Dreamcast. |