* string.h (strchr): Eliminate.

* syscalls.cc (rename): Work around inexplicable C++ warning.
This commit is contained in:
Christopher Faylor
2008-05-22 01:25:37 +00:00
parent 4962a9453a
commit 9ea50a60e1
3 changed files with 7 additions and 22 deletions

View File

@@ -1505,7 +1505,7 @@ rename (const char *oldpath, const char *newpath)
bool old_explicit_suffix = false, new_explicit_suffix = false;
size_t olen, nlen;
bool equal_path;
NTSTATUS status;
NTSTATUS status = 0;
HANDLE fh = NULL, nfh;
HANDLE old_trans = NULL, trans = NULL;
OBJECT_ATTRIBUTES attr;