summaryrefslogtreecommitdiff
path: root/win32/perlglob.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/perlglob.c')
-rw-r--r--win32/perlglob.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/perlglob.c b/win32/perlglob.c
index 87e8e90cd4..b2fdca2f71 100644
--- a/win32/perlglob.c
+++ b/win32/perlglob.c
@@ -21,7 +21,6 @@ main(int argc, char *argv[])
BOOL downcase = TRUE;
/* check out the file system characteristics */
-
if (GetFullPathName(".", MAX_PATH, root, &dummy)) {
if (dummy = strchr(root, '\\'))
*++dummy = '\0';
@@ -31,7 +30,7 @@ main(int argc, char *argv[])
}
}
- _setmode(_fileno(stdout), _O_BINARY);
+ setmode(fileno(stdout), O_BINARY);
for (i = 1; i < argc; i++) {
len = strlen(argv[i]);
if (downcase)