cvs commit: patches/bzip2 bzip2-1.0.2-use_mktemp-1.patch bzip2-1.0.2-use-mktemp.patch

jim at linuxfromscratch.org jim at linuxfromscratch.org
Fri Jun 4 03:38:38 PDT 2004


jim         04/06/04 04:38:38

  Added:       bzip2    bzip2-1.0.2-use_mktemp-1.patch
  Removed:     bzip2    bzip2-1.0.2-use-mktemp.patch
  Log:
  Naming Scheme Update
  
  Revision  Changes    Path
  1.1                  patches/bzip2/bzip2-1.0.2-use_mktemp-1.patch
  
  Index: bzip2-1.0.2-use_mktemp-1.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-10-02
  Initial Package Version: 1.0.2
  Origin: http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2003-June/035234.html
  Description: Use mktemp instead of tempfile. tempfile is debian specific executable.
  diff -ur bzip2-1.0.2.orig/bzdiff bzip2-1.0.2/bzdiff
  --- bzip2-1.0.2.orig/bzdiff	2001-12-29 20:12:35.000000000 -0600
  +++ bzip2-1.0.2/bzdiff	2003-06-07 09:32:54.000000000 -0500
  @@ -37,7 +37,7 @@
   	echo "Usage: $prog [${comp}_options] file [file]"
   	exit 1
   fi
  -tmp=`tempfile -d /tmp -p bz` || {
  +tmp=`mktemp -t -p /tmp bzXXXXXX` || {
         echo 'cannot create a temporary file' >&2
         exit 1
   }
  
  
  



More information about the patches mailing list