Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-12-13 21:46:08 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-12-13 21:46:08 +0400
commit8d1bda71b4538fe0c4dee14f057645da33443a9e (patch)
tree0ac63e3cf4c39cd0a0d79d5a9886439c0ff5f3a4 /winsup/cygwin/netdb.cc
parent5250e27f71932784dc97a17b4ab0e9b2b5dbcef7 (diff)
* netdb.cc (open_system_file): Avoid MS-DOS path warning.
Diffstat (limited to 'winsup/cygwin/netdb.cc')
-rw-r--r--winsup/cygwin/netdb.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/netdb.cc b/winsup/cygwin/netdb.cc
index 3ac3d25eb..8cdabff2a 100644
--- a/winsup/cygwin/netdb.cc
+++ b/winsup/cygwin/netdb.cc
@@ -1,6 +1,6 @@
/* netdb.cc: network database related routines.
- Copyright 2002, 2003, 2007, 2010 Red Hat, Inc.
+ Copyright 2002, 2003, 2007, 2010, 2011 Red Hat, Inc.
This file is part of Cygwin.
@@ -12,6 +12,7 @@ details. */
#include <stdio.h>
#include <stdlib.h>
#include <netdb.h>
+#include <shared_info.h>
/* Locate and open a system network database file. relative_path
should be one of the following values:
@@ -27,6 +28,7 @@ open_system_file (const char *relative_path)
/* system dir path is never longer. */
char win32_name[MAX_PATH];
+ user_shared->warned_msdos = true;
sys_wcstombs (win32_name, MAX_PATH, windows_system_directory);
strcat (win32_name, "drivers\\etc\\");
strcat (win32_name, relative_path);