rpms/ttmkfdir/devel ttmkfdir-3.0.9-segfaults.patch, NONE, 1.1 ttmkfdir.spec, 1.10, 1.11
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sat Oct 8 06:36:21 UTC 2005
Author: lizhang
Update of /cvs/dist/rpms/ttmkfdir/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5488
Modified Files:
ttmkfdir.spec
Added Files:
ttmkfdir-3.0.9-segfaults.patch
Log Message:
LingNing Zhang : add ttmkfdir-3.0.9-segfaults.patch to fix bug #164969
ttmkfdir-3.0.9-segfaults.patch:
directory.cpp | 4 ++++
1 files changed, 4 insertions(+)
--- NEW FILE ttmkfdir-3.0.9-segfaults.patch ---
--- ttmkfdir-3.0.9/directory.cpp.back 2005-10-08 14:25:37.839328408 +0800
+++ ttmkfdir-3.0.9/directory.cpp 2005-10-08 14:26:00.021956136 +0800
@@ -13,6 +13,10 @@
directory::scan (const std::string &dir)
{
DIR *ttfdir = opendir(dir.c_str ());
+ if (!ttfdir) {
+ printf("%s is not exist!\n", dir.c_str ());
+ exit(-1);
+ }
this->clear ();
dirpath = dir;
Index: ttmkfdir.spec
===================================================================
RCS file: /cvs/dist/rpms/ttmkfdir/devel/ttmkfdir.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ttmkfdir.spec 3 Aug 2005 13:12:39 -0000 1.10
+++ ttmkfdir.spec 8 Oct 2005 06:36:12 -0000 1.11
@@ -1,7 +1,7 @@
Summary: Utility to create fonts.scale files for truetype fonts
Name: ttmkfdir
Version: 3.0.9
-Release: 17
+Release: 18
Source0: %{name}-%{version}.tar.bz2
Patch: ttmkfdir-3.0.9-cpp.patch
Patch1: ttmkfdir-3.0.9-zlib.patch
@@ -9,6 +9,7 @@
Patch3: ttmkfdir-3.0.9-namespace.patch
Patch4: ttmkfdir-3.0.9-fix-crash.patch
Patch5: ttmkfdir-3.0.9-warnings.patch
+Patch6: ttmkfdir-3.0.9-segfaults.patch
License: GPL
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-root
@@ -49,6 +50,9 @@
%{_bindir}/ttmkfdir
%changelog
+* Sat Oct 8 2005 LingNing Zhang <lizhang at redhat.com> -3.0.9-18
+- add ttmkfdir-3.0.9-segfaults.patch to fix bug #164969
+
* Wed Aug 3 2005 Jens Petersen <petersen at redhat.com> - 3.0.9-17
- replace ttmkfdir-3.0.9-defautl_enc_size.patch and
ttmkfdir-3.0.9-crashplus.patch with ttmkfdir-3.0.9-fix-crash.patch
More information about the fedora-cvs-commits
mailing list