* 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:
Corinna Vinschen
2012-02-26 14:01:32 +00:00
parent dbf576fd86
commit b0af77452c
5 changed files with 27 additions and 16 deletions

View File

@ -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)
{