rpms/mailx/devel mailx-8.1.1-close.patch, NONE, 1.1 mailx.spec, 1.25, 1.26
Ivana Varekova (varekova)
fedora-extras-commits at redhat.com
Fri Jan 4 09:37:15 UTC 2008
Author: varekova
Update of /cvs/pkgs/rpms/mailx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6381
Modified Files:
mailx.spec
Added Files:
mailx-8.1.1-close.patch
Log Message:
- close file descriptor (#427335)
mailx-8.1.1-close.patch:
--- NEW FILE mailx-8.1.1-close.patch ---
diff -up mailx-8.1.1/quit.c.pom mailx-8.1.1/quit.c
--- mailx-8.1.1/quit.c.pom 2008-01-04 10:24:30.000000000 +0100
+++ mailx-8.1.1/quit.c 2008-01-04 10:26:58.000000000 +0100
@@ -468,6 +468,7 @@ edstop()
strcpy(tempname, tmpdir);
strcat(tempname, "mboxXXXXXX");
tempfd = mkstemp(tempname);
+ close(tempfd);
if ((obuf = Fopen(tempname, "w")) == NULL) {
perror(tempname);
Index: mailx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mailx/devel/mailx.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- mailx.spec 5 Mar 2007 08:41:38 -0000 1.25
+++ mailx.spec 4 Jan 2008 09:36:29 -0000 1.26
@@ -1,7 +1,7 @@
Summary: The /bin/mail program for sending e-mail messages
Name: mailx
Version: 8.1.1
-Release: 46%{?dist}
+Release: 47%{?dist}
License: BSD
Group: Applications/Internet
Source: ftp://ftp.debian.org/debian/pool/main/m/mailx/mailx-%{version}.tar.gz
@@ -32,6 +32,7 @@
Patch23: mailx-8.1.1-mbproblem.patch
Patch24: mailx-8.1.1-unread.patch
Patch25: mailx-8.1.1-dir.patch
+Patch26: mailx-8.1.1-close.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -72,6 +73,7 @@
%patch23 -p1 -b .mbproblem
%patch24 -p1 -b .unread
%patch25 -p1 -b .dir
+%patch26 -p1 -b .close
%build
make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
@@ -108,6 +110,9 @@
%{_mandir}/man1/Mail.1*
%changelog
+* Fri Jan 4 2007 Ivana Varekova <varekova at redhat.com> - 8.1.1-47
+- close file descriptor (#427335)
+
* Mon Mar 5 2007 Ivana Varekova <varekova at redhat.com> - 8.1.1-46
- add /usr/share/mailx directory
More information about the fedora-extras-commits
mailing list