* 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.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* globals.cc - Define global variables here.
|
||||
|
||||
Copyright 1996, 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 file is part of Cygwin.
|
||||
|
||||
@@ -53,6 +53,11 @@ int NO_COPY dynamically_loaded;
|
||||
|
||||
/* Some CYGWIN environment variable variables. */
|
||||
bool allow_glob = true;
|
||||
bool ignore_case_with_glob = false;
|
||||
bool dos_file_warning = true;
|
||||
bool allow_winsymlinks = false;
|
||||
bool reset_com = false;
|
||||
bool detect_bloda = false;
|
||||
|
||||
bool NO_COPY in_forkee;
|
||||
|
||||
@@ -157,7 +162,6 @@ extern "C"
|
||||
/* threadinterface */ &_mtinterf,
|
||||
/* impure_ptr */ _GLOBAL_REENT,
|
||||
};
|
||||
bool ignore_case_with_glob;
|
||||
int _check_for_executable = true;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user