- (djm) Merged big SCO portability patch from Tim Rice
   <tim@multitalents.net>
diff --git a/authfile.c b/authfile.c
index c8eac18..afedd7b 100644
--- a/authfile.c
+++ b/authfile.c
@@ -147,7 +147,7 @@
 		      strerror(errno));
 		buffer_free(&encrypted);
 		close(fd);
-		remove(filename);
+		unlink(filename);
 		return 0;
 	}
 	close(fd);