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>2012-02-26 18:01:32 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-02-26 18:01:32 +0400
commitb0af77452cad7e92c10ff095cc4a25a5133c03ab (patch)
tree5f364ea9fe7a2dda9c53f27367c1d901e7fb3589 /winsup/cygwin/path.cc
parentdbf576fd861451a66cbc1b49e06ce1baab411cbe (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/path.cc')
-rw-r--r--winsup/cygwin/path.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index fdef934b8..4bc47e100 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -73,8 +73,6 @@
#include <wchar.h>
#include <wctype.h>
-bool dos_file_warning = true;
-
suffix_info stat_suffixes[] =
{
suffix_info ("", 1),
@@ -1452,10 +1450,6 @@ conv_path_list (const char *src, char *dst, size_t size,
/* Create a symlink from FROMPATH to TOPATH. */
-/* If TRUE create symlinks as Windows shortcuts, if false create symlinks
- as normal files with magic number and system bit set. */
-bool allow_winsymlinks = false;
-
extern "C" int
symlink (const char *oldpath, const char *newpath)
{