]> git.pld-linux.org Git - packages/dos2unix.git/commitdiff
- up auto/aidath/dos2unix-3_1-21 auto/th/dos2unix-3_1-21 auto/ti/dos2unix-3_1-21
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 30 May 2008 08:19:57 +0000 (08:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dos2unix-segfault.patch -> 1.2

dos2unix-segfault.patch

index 7c8391bd2bdb20e4b1fdd12362f439a54177deb5..5ead232d51b6f57d0e98e6487fb3aaccc10a2751 100644 (file)
@@ -1,5 +1,5 @@
---- dos2unix-3.1/dos2unix.c.segf       Thu Jan 17 17:27:42 2002
-+++ dos2unix-3.1/dos2unix.c    Thu Jan 17 17:28:07 2002
+--- dos2unix-3.1/dos2unix.c
++++ dos2unix-3.1/dos2unix.c
 @@ -147,9 +147,9 @@
   * RetVal: NULL if failure
   *         file stream otherwise
@@ -24,7 +24,7 @@
  
 -  strcpy (TempPath, "./d2utmp");
 -  strcat (TempPath, "XXXXXX");
--  mkstemp (TempPath);
+-  mktemp (TempPath);
 +  strcpy (TempPath, "./d2utmpXXXXXX");
 +  if((fd=mkstemp (TempPath))<0) {
 +        perror("Failed to open output temp file");
@@ -63,7 +63,7 @@
  
 -  strcpy (TempPath, "./u2dtmp");
 -  strcat (TempPath, "XXXXXX");
--  mkstemp (TempPath);
+-  mktemp (TempPath);
 +  strcpy (TempPath, "./u2dtmpXXXXXX");
 +  if((fd=mkstemp (TempPath))<0) {
 +        perror("Failed to open output temp file");
This page took 0.035076 seconds and 4 git commands to generate.