OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70830ce
)
* dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.
author
cgf
<cgf>
Mon, 30 May 2005 18:20:27 +0000
(18:20 +0000)
committer
cgf
<cgf>
Mon, 30 May 2005 18:20:27 +0000
(18:20 +0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/dlfcn.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
b201c39
..
4e0e507
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,3
+1,7
@@
+2005-05-30 Christopher Faylor <cgf@timesys.com>
+
+ * dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.
+
2005-05-29 Christopher Faylor <cgf@timesys.com>
* cygmagic: Remove debugging cruft missed on 2005-05-21.
diff --git
a/winsup/cygwin/dlfcn.cc
b/winsup/cygwin/dlfcn.cc
index
fc43ed3
..
23e4aed
100644
(file)
--- a/
winsup/cygwin/dlfcn.cc
+++ b/
winsup/cygwin/dlfcn.cc
@@
-27,7
+27,7
@@
details. */
static void __stdcall
set_dl_error (const char *str)
{
-
__small_sprintf (_my_tls.locals.dl_buffer, "%s, %E", str
);
+
strcpy (_my_tls.locals.dl_buffer, strerror (get_errno ())
);
_my_tls.locals.dl_error = 1;
}