diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-02-26 18:01:32 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-02-26 18:01:32 +0400 |
commit | b0af77452cad7e92c10ff095cc4a25a5133c03ab (patch) | |
tree | 5f364ea9fe7a2dda9c53f27367c1d901e7fb3589 /winsup/cygwin/environ.cc | |
parent | dbf576fd861451a66cbc1b49e06ce1baab411cbe (diff) |
* environ.cc (dos_file_warning): Drop declaration.
(ignore_case_with_glob): Ditto.
(allow_winsymlinks): Ditto.
(reset_com): Move definition to globals.cc.
(struct parse_thing): Add "detect_bloda" option.
* fhandler_serial.cc (fhandler_serial::open): Drop (incorrect)
declaration of reset_com.
* globals.cc (ignore_case_with_glob): Move definition into C++-only
block.
(dos_file_warning): Define.
(allow_winsymlinks): Define.
(reset_com): Define.
(detect_bloda): Define.
* path.cc (dos_file_warning): Drop definition here.
(allow_winsymlinks): Drop definition here.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 38a190cc3..a99f97cf8 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -2,7 +2,7 @@ process's environment. Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. + 2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -32,11 +32,6 @@ details. */ #include "shared_info.h" #include "ntdll.h" -extern bool dos_file_warning; -extern bool ignore_case_with_glob; -extern bool allow_winsymlinks; -bool reset_com = false; - static char **lastenviron; /* Parse CYGWIN options */ @@ -116,6 +111,7 @@ static struct parse_thing } values[2]; } known[] NO_COPY = { + {"detect_bloda", {&detect_bloda}, justset, NULL, {{false}, {true}}}, {"dosfilewarning", {&dos_file_warning}, justset, NULL, {{false}, {true}}}, {"error_start", {func: error_start_init}, isfunc, NULL, {{0}, {0}}}, {"export", {&export_settings}, justset, NULL, {{false}, {true}}}, |