mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* winsup.h (cygbench): Fix declaration to match definition.
* dcrt0.cc (initial_env): Remove unused variable.
This commit is contained in:
parent
d1b5846f29
commit
e6f4f3f7ee
@ -1,3 +1,8 @@
|
||||
2013-07-17 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||
|
||||
* winsup.h (cygbench): Fix declaration to match definition.
|
||||
* dcrt0.cc (initial_env): Remove unused variable.
|
||||
|
||||
2013-07-15 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
Remove /dev/mem, /dev/kmem, /dev/port support.
|
||||
|
@ -509,12 +509,11 @@ initial_env ()
|
||||
_cygwin_testing = 1;
|
||||
|
||||
#ifdef DEBUGGING
|
||||
DWORD len;
|
||||
char buf[NT_MAX_PATH];
|
||||
if (GetEnvironmentVariableA ("CYGWIN_DEBUG", buf, sizeof (buf) - 1))
|
||||
{
|
||||
char buf1[NT_MAX_PATH];
|
||||
len = GetModuleFileName (NULL, buf1, NT_MAX_PATH);
|
||||
GetModuleFileName (NULL, buf1, NT_MAX_PATH);
|
||||
strlwr (buf1);
|
||||
strlwr (buf);
|
||||
char *p = strpbrk (buf, ":=");
|
||||
@ -1304,7 +1303,7 @@ are unable to find another cygwin DLL.",
|
||||
}
|
||||
|
||||
#ifdef DEBUGGING
|
||||
void __stdcall
|
||||
void __reg1
|
||||
cygbench (const char *s)
|
||||
{
|
||||
if (GetEnvironmentVariableA ("CYGWIN_BENCH", NULL, 0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user