From e1129ee07b5c51a969547f2845aa22560abc746c Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Apr 13 2005 11:20:38 +0000 Subject: - Fixed tmppath patch (bug #150277). Tue Feb 8 2005 Mike A. Harris 3.1-22 - Bump and rebuild for FC4 --- diff --git a/dos2unix-3.1-tmppath.patch b/dos2unix-3.1-tmppath.patch index e6ce242..6db6c84 100644 --- a/dos2unix-3.1-tmppath.patch +++ b/dos2unix-3.1-tmppath.patch @@ -27,7 +27,7 @@ + + dir = dirname(cpy); + -+ fname_len = strlen(dir) + strlen("/d2utmpXXXXXX"); ++ fname_len = strlen(dir) + strlen("/d2utmpXXXXXX") + sizeof (char); + if (!(fname_str = malloc(fname_len))) + goto make_failed; + sprintf(fname_str, "%s%s", dir, "/d2utmpXXXXXX"); diff --git a/dos2unix.spec b/dos2unix.spec index 196754f..15bbd84 100644 --- a/dos2unix.spec +++ b/dos2unix.spec @@ -1,7 +1,7 @@ Summary: Text file format converter Name: dos2unix Version: 3.1 -Release: 23 +Release: 24 Group: Applications/Text License: Freely distributable Source: %{name}-%{version}.tar.bz2 @@ -56,6 +56,9 @@ install -m444 mac2unix.1 $RPM_BUILD_ROOT%{_mandir}/man1 rm -rf $RPM_BUILD_ROOT %changelog +* Wed Apr 13 2005 Tim Waugh 3.1-24 +- Fixed tmppath patch (bug #150277). + * Thu Mar 3 2005 Mike A. Harris 3.1-23 - Bump and rebuild for FC4, using gcc 4.