- Prevent fixps tmpdir problem (bug #188156).
This commit is contained in:
parent
c194d665db
commit
be8f42280e
2 changed files with 27 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
--- a2ps-4.13/contrib/psmandup.in.tmpdir 2006-02-15 11:03:50.000000000 +0000
|
||||
+++ a2ps-4.13/contrib/psmandup.in 2006-02-15 11:03:50.000000000 +0000
|
||||
--- a2ps-4.13/contrib/psmandup.in.tmpdir 1999-10-24 14:06:42.000000000 +0100
|
||||
+++ a2ps-4.13/contrib/psmandup.in 2006-08-08 14:52:22.000000000 +0100
|
||||
@@ -36,7 +36,7 @@
|
||||
message=
|
||||
psselect=${PSSELECT:-psselect}
|
||||
|
|
@ -9,19 +9,34 @@
|
|||
|
||||
# These two must be kept in synch. They are opposed.
|
||||
verbose=echo
|
||||
--- a2ps-4.13/contrib/fixps.in.tmpdir 2006-02-15 11:06:07.000000000 +0000
|
||||
+++ a2ps-4.13/contrib/fixps.in 2006-02-15 11:06:33.000000000 +0000
|
||||
@@ -38,7 +38,7 @@
|
||||
--- a2ps-4.13/contrib/fixps.in.tmpdir 2000-02-21 08:16:15.000000000 +0000
|
||||
+++ a2ps-4.13/contrib/fixps.in 2006-08-08 14:53:36.000000000 +0100
|
||||
@@ -38,7 +38,6 @@
|
||||
run_gs=0
|
||||
# What action to perform: fixps, cat, check, and gs
|
||||
task=fixps
|
||||
-tmpdir=/tmp/$program.$$
|
||||
+tmpdir=$(mktemp -d /tmp/$program.XXXXXX)
|
||||
verbose=echo
|
||||
|
||||
# The version/usage strings
|
||||
--- a2ps-4.13/contrib/pdiff.in.tmpdir 2006-02-15 11:05:44.000000000 +0000
|
||||
+++ a2ps-4.13/contrib/pdiff.in 2006-02-15 11:05:56.000000000 +0000
|
||||
@@ -183,6 +182,7 @@
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
+tmpdir=$(mktemp -d /tmp/$program.XXXXXX)
|
||||
if test -n "$debug"; then
|
||||
# Set -x now if debugging
|
||||
set -x
|
||||
@@ -191,7 +191,6 @@
|
||||
trap "/bin/rm -rf $tmpdir" 0 1 2 3 13 15
|
||||
fi
|
||||
|
||||
-mkdir $tmpdir
|
||||
fixps_sed=$tmpdir/fixps.sed
|
||||
|
||||
# If printing from stdin, save into a tmp file
|
||||
--- a2ps-4.13/contrib/pdiff.in.tmpdir 1999-10-24 16:07:51.000000000 +0100
|
||||
+++ a2ps-4.13/contrib/pdiff.in 2006-08-08 14:52:22.000000000 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
diff_options='-u'
|
||||
file=
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Converts text and other types of files to PostScript(TM).
|
||||
Name: a2ps
|
||||
Version: 4.13b
|
||||
Release: 53
|
||||
Release: 54
|
||||
License: GPL
|
||||
Group: Applications/Publishing
|
||||
Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
|
||||
|
|
@ -232,6 +232,9 @@ fi
|
|||
%dir %{_datadir}/a2ps
|
||||
|
||||
%changelog
|
||||
* Tue Aug 8 2006 Tim Waugh <twaugh@redhat.com> 4.13b-54
|
||||
- Prevent fixps tmpdir problem (bug #188156).
|
||||
|
||||
* Fri Jul 14 2006 Tim Waugh <twaugh@redhat.com> 4.13b-53
|
||||
- Fixed Hebrew font names (bug #174304).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue