* 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>
|
2013-07-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
Remove /dev/mem, /dev/kmem, /dev/port support.
|
Remove /dev/mem, /dev/kmem, /dev/port support.
|
||||||
|
|
|
@ -509,12 +509,11 @@ initial_env ()
|
||||||
_cygwin_testing = 1;
|
_cygwin_testing = 1;
|
||||||
|
|
||||||
#ifdef DEBUGGING
|
#ifdef DEBUGGING
|
||||||
DWORD len;
|
|
||||||
char buf[NT_MAX_PATH];
|
char buf[NT_MAX_PATH];
|
||||||
if (GetEnvironmentVariableA ("CYGWIN_DEBUG", buf, sizeof (buf) - 1))
|
if (GetEnvironmentVariableA ("CYGWIN_DEBUG", buf, sizeof (buf) - 1))
|
||||||
{
|
{
|
||||||
char buf1[NT_MAX_PATH];
|
char buf1[NT_MAX_PATH];
|
||||||
len = GetModuleFileName (NULL, buf1, NT_MAX_PATH);
|
GetModuleFileName (NULL, buf1, NT_MAX_PATH);
|
||||||
strlwr (buf1);
|
strlwr (buf1);
|
||||||
strlwr (buf);
|
strlwr (buf);
|
||||||
char *p = strpbrk (buf, ":=");
|
char *p = strpbrk (buf, ":=");
|
||||||
|
@ -1304,7 +1303,7 @@ are unable to find another cygwin DLL.",
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUGGING
|
#ifdef DEBUGGING
|
||||||
void __stdcall
|
void __reg1
|
||||||
cygbench (const char *s)
|
cygbench (const char *s)
|
||||||
{
|
{
|
||||||
if (GetEnvironmentVariableA ("CYGWIN_BENCH", NULL, 0))
|
if (GetEnvironmentVariableA ("CYGWIN_BENCH", NULL, 0))
|
||||||
|
|
Loading…
Reference in New Issue