1997-09-14 17:05:03 +00:00
|
|
|
--- uudx.c.orig Sun Jan 29 16:44:42 1995
|
2000-02-21 17:06:44 +00:00
|
|
|
+++ uudx.c Sat Feb 12 19:31:31 2000
|
1996-06-10 01:49:45 +00:00
|
|
|
@@ -89,7 +89,11 @@
|
|
|
|
#else
|
|
|
|
#define strchr index
|
|
|
|
extern char *strchr();
|
1997-02-16 21:11:14 +00:00
|
|
|
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
1996-06-10 01:49:45 +00:00
|
|
|
extern char *sprintf();
|
|
|
|
+#else
|
|
|
|
+extern int sprintf();
|
|
|
|
+#endif
|
|
|
|
extern char *strcpy();
|
|
|
|
#endif /* BSD */
|
|
|
|
|
2000-02-21 17:06:44 +00:00
|
|
|
@@ -346,7 +350,7 @@
|
|
|
|
norm_dir(work_file_name, p);
|
|
|
|
}
|
|
|
|
strcat(work_file_name, "udXXXXXX");
|
|
|
|
- if (mktemp(work_file_name) == NULL) {
|
|
|
|
+ if (mkstemp(work_file_name) == NULL) {
|
|
|
|
cant("make", "work_file_name", 1);
|
|
|
|
/* NOTREACHED */
|
|
|
|
}
|