- Fixed tmppath patch (bug #150277).

Tue Feb 8 2005 Mike A. Harris <mharris@redhat.com> 3.1-22
- Bump and rebuild for FC4
This commit is contained in:
Tim Waugh 2005-04-13 11:20:38 +00:00
parent 5d60019713
commit e1129ee07b
2 changed files with 5 additions and 2 deletions

View File

@ -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");

View File

@ -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 <twaugh@redhat.com> 3.1-24
- Fixed tmppath patch (bug #150277).
* Thu Mar 3 2005 Mike A. Harris <mharris@redhat.com> 3.1-23
- Bump and rebuild for FC4, using gcc 4.