userspace.c transports.c xp_socket.c mmap.c glob_wrapper.c");
ADD_SOURCES("win32", "glob.c readdir.c \
- registry.c select.c sendmail.c time.c wfile.c winutil.c wsyslog.c globals.c");
+ registry.c select.c sendmail.c time.c winutil.c wsyslog.c globals.c");
STDOUT.WriteBlankLines(1);
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\win32\wfile.c\r
-# End Source File\r
-# Begin Source File\r
-\r
SOURCE=..\win32\winutil.c\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\win32\wfile.c\r
-# End Source File\r
-# Begin Source File\r
-\r
SOURCE=..\win32\winutil.c\r
# End Source File\r
# Begin Source File\r
+++ /dev/null
-
-/* Function borrowed from the Downhill Project */
-#include "wfile.h"
-#include "direct.h"
-
-int readlink(char *file_Name, char *buf_Mem, int buf_Size)
-{
- /* See if the file exists */
- if (access(file_Name, WFILE_EXISTS) == -1) {
- errno = ENOENT;
- } else {
- errno = EINVAL;
- }
-
- /* Either way, it's not a link */
- return -1;
-}
+++ /dev/null
-#include <io.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
-
-#define access _access
-#define WFILE_EXISTS 0
-#ifndef ENOENT
-#define ENOENT 136
-#endif
-#ifndef EINVAL
-#define EINVAL 131
-#endif
-
-int readlink(char *, char *, int);
-int checkroot(char *path);