]> git.pld-linux.org Git - packages/netpbm.git/commitdiff
- better formated
authorankry <ankry@pld-linux.org>
Thu, 5 Aug 2004 20:36:02 +0000 (20:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    netpbm-security-CAN-2003-0924-tmpfile.patch -> 1.2

netpbm-security-CAN-2003-0924-tmpfile.patch

index 5b7ff946d2feeb2adc824f5cf1fc8351cd7cc31c..c1f53de66d4c3ac5fcd8e768d29a171fa94732c0 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN netpbm-9.25/pbm/libpm.c netpbm-9.25.patch/pbm/libpm.c
---- netpbm-9.25/pbm/libpm.c    2002-02-24 23:37:29.000000000 +0100
-+++ netpbm-9.25.patch/pbm/libpm.c      2004-08-05 21:47:24.000000000 +0200
+--- netpbm-9.25/pbm/libpm.c     2002-02-24 23:37:29.000000000 +0100
++++ netpbm-9.25.patch/pbm/libpm.c       2004-08-05 21:47:24.000000000 +0200
 @@ -644,6 +644,8 @@
      struct stat statbuf;
      FILE * original_file;
@@ -16,10 +15,10 @@ diff -urN netpbm-9.25/pbm/libpm.c netpbm-9.25.patch/pbm/libpm.c
          seekable_file = original_file;
 -    } else {
 -        seekable_file = tmpfile();
-+    } else {      
++    } else {
 +/*        seekable_file = tmpfile();*/
-+          strcpy(fname, TEMPFILE_NAME);
-+          seekable_file = fdopen(mkstemp(fname), "w+");
++        strcpy(fname, TEMPFILE_NAME);
++        seekable_file = fdopen(mkstemp(fname), "w+");
  
          /* Copy the input into the temporary seekable file */
-         while (!feof(original_file) && !ferror(original_file) 
+         while (!feof(original_file) && !ferror(original_file)
This page took 0.106856 seconds and 4 git commands to generate.