6283d58d564cb5c6754e857a72c15e9ceaea860a
kent
  Thu Apr 4 19:29:45 2013 -0700
Adding makeSymLink
diff --git src/lib/osunix.c src/lib/osunix.c
index d18854d..4a74b34 100644
--- src/lib/osunix.c
+++ src/lib/osunix.c
@@ -639,15 +639,23 @@
     }
 return TRUE;
 }
 
 boolean isRegularFile(char *fileName)
 /* Return TRUE if fileName is a regular file. */
 {
 struct stat st;
 
 if (stat(fileName, &st) < 0)
     return FALSE;
 if (S_ISREG(st.st_mode))
     return TRUE;
 return FALSE;
 }
+
+void makeSymLink(char *oldName, char *newName)
+/* Return a symbolic link from newName to oldName or die trying */
+{
+int err = symlink(oldName, newName);
+if (err < 0)
+     errnoAbort("Couldn't make symbolic link from %s to %s\n", oldName, newName);
+}