removed all duplciated files
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 17 Apr 2006 18:27:18 +0000 (18:27 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 17 Apr 2006 18:27:18 +0000 (18:27 +0000)
src/arch/win64/createlink.cpp [deleted file]
src/arch/win64/createlink.exe [deleted file]
src/arch/win64/system_ln [deleted file]
src/arch/win64/unistd.h [deleted file]

diff --git a/src/arch/win64/createlink.cpp b/src/arch/win64/createlink.cpp
deleted file mode 100644 (file)
index 3b4af7f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-unix2nt_cc  -c createlink.cpp -o createlink.o -D_WIN32_WINNT=0x0500
-unix2nt_cc createlink.o
-*/
-
-#include <windows.h>
-#include <stdio.h>
-
-int main(int argc, char **argv)
-{
-  if (argc < 2) {
-    printf("%s srcFile destFile\n", argv[0]);
-    exit(1);
-  }
-  char *src = argv[1];
-  char *dest = argv[2];
-  bool fCreatedLink  = CreateHardLink(dest, src, NULL);
-  if (!fCreatedLink) {
-    int err=GetLastError();
-    if (err == ERROR_ALREADY_EXISTS) {
-      remove(dest);
-      fCreatedLink  = CreateHardLink(dest, src, NULL);   // try again
-      if (!fCreatedLink)  err=GetLastError();
-    }
-    if (!fCreatedLink)  {
-      printf("CreateHardLink %s => %s failed errno=%d, WSAerr=%d\n", src, dest, errno, err);
-      exit(1);
-    }
-  }
-  else {
-    exit(0);
-  }
-  return 0;
-}
-
diff --git a/src/arch/win64/createlink.exe b/src/arch/win64/createlink.exe
deleted file mode 100755 (executable)
index cbde403..0000000
Binary files a/src/arch/win64/createlink.exe and /dev/null differ
diff --git a/src/arch/win64/system_ln b/src/arch/win64/system_ln
deleted file mode 100755 (executable)
index fe538b0..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh\r
-\r
-if test "$OS" = 'Windows_NT'\r
-then\r
-  junction=`which createlink 2>/dev/null`\r
-fi\r
-test x$junction = x && junction='cp -f'\r
-\r
-srcs=` echo $* | awk '{ for (i=1; i<NF; i++) printf "%s ", $i}'`\r
-dest=` echo $* | awk '{ printf $NF}'`\r
-test -z "$srcs" && exit 0\r
-test -z "$dest" && exit 0\r
-\r
-#if multiple sources, target must be a directory\r
-num=`echo $srcs | awk '{ printf NF }'`\r
-if test $num -gt 1\r
-then\r
-  if test ! -d $dest \r
-  then\r
-    echo "The target is not a directory or does not exist!"\r
-    exit 1;\r
-  fi\r
-fi\r
-\r
-for src in $srcs\r
-do\r
-  while [ ! -r $src ] \r
-  do\r
-#Strip one ../ from the source path\r
-    src=`echo $src | awk -F/ '{printf "%s",$2;for (i=3;i<=NF;i++) printf "/%s",$i}'`\r
-  done\r
-  if test -n "$src" \r
-  then\r
-    destFile=$dest\r
-    test -d $dest && destFile=$dest/`basename $src`\r
-#    echo $junction $src $destFile\r
-    $junction $src $destFile\r
-    status=$?\r
-    test $status -ne 0 && echo "ERROR" &&exit $status\r
-  fi\r
-done\r
-\r
-exit 0\r
diff --git a/src/arch/win64/unistd.h b/src/arch/win64/unistd.h
deleted file mode 100644 (file)
index 71208f2..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*  DUMMY unistd.h for net-win32 build */
-/*  
-    for example:
-    xi-scan.C which is automatically generated by flex needs this header
-    file 
-*/