mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
a6cd7eb8a1
svn path=/nixpkgs/trunk/; revision=19409
21 lines
543 B
Diff
21 lines
543 B
Diff
--- unix2dos-2.2/unix2dos.c.orig Fri Nov 17 13:29:24 2000
|
|
+++ unix2dos-2.2/unix2dos.c Fri Nov 17 13:30:16 2000
|
|
@@ -214,7 +214,7 @@
|
|
|
|
strcpy (TempPath, "./u2dtmp");
|
|
strcat (TempPath, "XXXXXX");
|
|
- mktemp (TempPath);
|
|
+ mkstemp (TempPath);
|
|
|
|
#ifdef DEBUG
|
|
fprintf(stderr, "unix2dos: using %s as temp file\n", TempPath);
|
|
@@ -293,7 +293,7 @@
|
|
|
|
strcpy (TempPath, "./u2dtmp");
|
|
strcat (TempPath, "XXXXXX");
|
|
- mktemp (TempPath);
|
|
+ mkstemp (TempPath);
|
|
|
|
#ifdef DEBUG
|
|
fprintf(stderr, "unix2dos: using %s as temp file\n", TempPath);
|