* testsuite/winsup.api/winsup.exp: ignore stdout by default
* testsuite/winsup.api/crlf.c: non-verbose by default * winsup.h: prune out windows headers we don't normally need * assert.cc: add wingdi.h and winuser.h * fhandler_console.cc: ditto * fhandler_windows.cc: ditto * select.cc: ditto * spawn.cc: ditto * strace.cc: ditto * tty.cc: ditto * window.cc: ditto * hinfo.cc: add winsock.h * syscalls.cc: add winnls.h * uinfo.cc: ditto * include/windows.h: optimize non-inclusion of repeat headers
This commit is contained in:
parent
bf7be721b8
commit
d0b178fe3a
|
@ -1,3 +1,21 @@
|
|||
2000-07-27 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* testsuite/winsup.api/winsup.exp: ignore stdout by default
|
||||
* testsuite/winsup.api/crlf.c: non-verbose by default
|
||||
|
||||
* winsup.h: prune out windows headers we don't normally need
|
||||
* assert.cc: add wingdi.h and winuser.h
|
||||
* fhandler_console.cc: ditto
|
||||
* fhandler_windows.cc: ditto
|
||||
* select.cc: ditto
|
||||
* spawn.cc: ditto
|
||||
* strace.cc: ditto
|
||||
* tty.cc: ditto
|
||||
* window.cc: ditto
|
||||
* hinfo.cc: add winsock.h
|
||||
* syscalls.cc: add winnls.h
|
||||
* uinfo.cc: ditto
|
||||
|
||||
Thu Jul 27 10:24:36 2000 Egor Duda <deo@logos-m.ru>
|
||||
|
||||
* fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to
|
||||
|
|
|
@ -9,6 +9,8 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|||
details. */
|
||||
|
||||
#include "winsup.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -19,6 +19,7 @@ details. */
|
|||
|
||||
#define Win32_Winsock
|
||||
#include "winsup.h"
|
||||
#include <winsock.h>
|
||||
|
||||
hinfo dtable;
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ details. */
|
|||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include "winsup.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
#include <ctype.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -13,6 +13,8 @@ details. */
|
|||
|
||||
#include <errno.h>
|
||||
#include "winsup.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
|
||||
/*
|
||||
The following unix-style calls are supported:
|
||||
|
|
|
@ -26,6 +26,8 @@ details. */
|
|||
#include <sys/time.h>
|
||||
|
||||
#include "winsup.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
#include <netdb.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -16,6 +16,8 @@ details. */
|
|||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include "winsup.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
#include <ctype.h>
|
||||
#include "paths.h"
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@ details. */
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include "winsup.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
|
||||
#define PROTECT(x) x[sizeof(x)-1] = 0
|
||||
#define CHECK(x) if (x[sizeof(x)-1] != 0) { small_printf("array bound exceeded %d\n", __LINE__); ExitProcess(1); }
|
||||
|
|
|
@ -21,6 +21,7 @@ details. */
|
|||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include "winsup.h"
|
||||
#include <winnls.h>
|
||||
#include <lmcons.h> /* for UNLEN */
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -237,7 +237,7 @@ get_bytestream(Buffer *buf)
|
|||
|
||||
char dataname[] = "crlf.dat";
|
||||
|
||||
int verbose=1;
|
||||
int verbose=0;
|
||||
void
|
||||
v(char *fmt, ...)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@ foreach src [glob -nocomplain $srcdir/$subdir/*.c $srcdir/$subdir/*/*.c] {
|
|||
verbose -log "$rv"
|
||||
fail "$testcase (compile)"
|
||||
} else {
|
||||
ws_spawn "../cygrun ./$base.exe"
|
||||
ws_spawn "../cygrun ./$base.exe > /dev/null"
|
||||
if { $rv != "" } {
|
||||
verbose -log "$testcase: $rv"
|
||||
fail "$testcase (execute)"
|
||||
|
|
|
@ -12,6 +12,8 @@ details. */
|
|||
#include <unistd.h>
|
||||
#include <utmp.h>
|
||||
#include "winsup.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
|
||||
extern fhandler_tty_master *tty_master;
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ details. */
|
|||
|
||||
#include <pwd.h>
|
||||
#include "winsup.h"
|
||||
#include <winnls.h>
|
||||
#include <utmp.h>
|
||||
#include <limits.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -15,6 +15,8 @@ details. */
|
|||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include "winsup.h"
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
|
||||
static NO_COPY UINT timer_active = 0;
|
||||
static NO_COPY struct itimerval itv;
|
||||
|
|
|
@ -50,8 +50,24 @@ __asm__ __volatile__(
|
|||
return __res;
|
||||
}
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#define _WINGDI_H
|
||||
#define _WINUSER_H
|
||||
#define _WINNLS_H
|
||||
#define _WINVER_H
|
||||
#define _WINNETWK_H
|
||||
#define _WINSVC_H
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
#undef _WINGDI_H
|
||||
#undef _WINUSER_H
|
||||
#undef _WINNLS_H
|
||||
#undef _WINVER_H
|
||||
#undef _WINNETWK_H
|
||||
#undef _WINSVC_H
|
||||
|
||||
/* The one function we use from winuser.h most of the time */
|
||||
extern "C" DWORD WINAPI GetLastError (void);
|
||||
|
||||
/* Used for runtime OS check/decisions. */
|
||||
enum os_type {winNT = 1, win95, win98, win32s, unknown};
|
||||
|
|
|
@ -237,7 +237,7 @@ get_bytestream(Buffer *buf)
|
|||
|
||||
char dataname[] = "crlf.dat";
|
||||
|
||||
int verbose=1;
|
||||
int verbose=0;
|
||||
void
|
||||
v(char *fmt, ...)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@ foreach src [glob -nocomplain $srcdir/$subdir/*.c $srcdir/$subdir/*/*.c] {
|
|||
verbose -log "$rv"
|
||||
fail "$testcase (compile)"
|
||||
} else {
|
||||
ws_spawn "../cygrun ./$base.exe"
|
||||
ws_spawn "../cygrun ./$base.exe > /dev/null"
|
||||
if { $rv != "" } {
|
||||
verbose -log "$testcase: $rv"
|
||||
fail "$testcase (execute)"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2000-07-27 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* include/windows.h: optimize non-inclusion of repeat headers
|
||||
|
||||
2000-07-11 DJ Delorie <dj@cygnus.com>
|
||||
|
||||
* include/shlobj.h: add CSIDL_COMMON_*
|
||||
|
|
|
@ -98,13 +98,27 @@
|
|||
#include <basetyps.h>
|
||||
#include <excpt.h>
|
||||
#include <winbase.h>
|
||||
#ifndef _WINGDI_H
|
||||
#include <wingdi.h>
|
||||
#endif
|
||||
#ifndef _WINUSER_H
|
||||
#include <winuser.h>
|
||||
#endif
|
||||
#ifndef _WINNLS_H
|
||||
#include <winnls.h>
|
||||
#endif
|
||||
#ifndef _WINVER_H
|
||||
#include <winver.h>
|
||||
#endif
|
||||
#ifndef _WINNETWK_H
|
||||
#include <winnetwk.h>
|
||||
#endif
|
||||
#ifndef _WINREG_H
|
||||
#include <winreg.h>
|
||||
#endif
|
||||
#ifndef _WINSVC_H
|
||||
#include <winsvc.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#include <commdlg.h>
|
||||
|
|
Loading…
Reference in New Issue