projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c3597
)
- Fixed the binary search in _dosmaperr.
author
Hartmut Birr
<osexpert@googlemail.com>
Sun, 11 Jan 2004 10:58:45 +0000
(10:58 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Sun, 11 Jan 2004 10:58:45 +0000
(10:58 +0000)
svn path=/trunk/; revision=7565
reactos/lib/msvcrt/stdlib/errno.c
patch
|
blob
|
history
diff --git
a/reactos/lib/msvcrt/stdlib/errno.c
b/reactos/lib/msvcrt/stdlib/errno.c
index
b4373d0
..
0b415a1
100644
(file)
--- a/
reactos/lib/msvcrt/stdlib/errno.c
+++ b/
reactos/lib/msvcrt/stdlib/errno.c
@@
-1,4
+1,4
@@
-/* $Id: errno.c,v 1.1
2 2003/12/24 23:20:08 sedwards
Exp $
+/* $Id: errno.c,v 1.1
3 2004/01/11 10:58:45 hbirr
Exp $
*
*/
#ifdef __USE_W32API
@@
-69,7
+69,7
@@
void _dosmaperr(unsigned long oserror)
if (doserrmap[pos].winerr == oserror) {
__set_errno(doserrmap[pos].en);
return;
- } else if (doserrmap[pos].winerr
>
oserror) {
+ } else if (doserrmap[pos].winerr
<
oserror) {
base = pos + 1;
--lim;
}