aboutsummaryrefslogtreecommitdiffstats
path: root/app/nginx/src/os/win32/ngx_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/nginx/src/os/win32/ngx_stat.c')
-rw-r--r--app/nginx/src/os/win32/ngx_stat.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/app/nginx/src/os/win32/ngx_stat.c b/app/nginx/src/os/win32/ngx_stat.c
deleted file mode 100644
index 51bcd96..0000000
--- a/app/nginx/src/os/win32/ngx_stat.c
+++ /dev/null
@@ -1,34 +0,0 @@
-
-/*
- * Copyright (C) Igor Sysoev
- * Copyright (C) Nginx, Inc.
- */
-
-
-#include <ngx_config.h>
-#include <ngx_core.h>
-
-
-int ngx_file_type(char *file, ngx_file_info_t *sb)
-{
- sb->dwFileAttributes = GetFileAttributes(file);
-
- if (sb->dwFileAttributes == INVALID_FILE_ATTRIBUTES) {
- return -1;
- }
-
- return 0;
-}
-
-/*
-int ngx_stat(char *file, ngx_stat_t *sb)
-{
- *sb = GetFileAttributes(file);
-
- if (*sb == INVALID_FILE_ATTRIBUTES) {
- return -1;
- }
-
- return 0;
-}
-*/