rpms/dnscap/devel dnscap-1.0-system.patch, NONE, 1.1 dnscap.spec, 1.1, 1.2
Adam Tkac (atkac)
fedora-extras-commits at redhat.com
Tue Aug 7 13:14:36 UTC 2007
- Previous message: rpms/dnscap/devel dnscap-1.0-isc_list.patch, NONE, 1.1 dnscap-1.0-warns.patch, NONE, 1.1 dnscap.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/selinux-policy/F-7 policy-20070501.patch, 1.44, 1.45 selinux-policy.spec, 1.484, 1.485
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: atkac
Update of /cvs/pkgs/rpms/dnscap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19835
Modified Files:
dnscap.spec
Added Files:
dnscap-1.0-system.patch
Log Message:
- handle return value from system()
dnscap-1.0-system.patch:
--- NEW FILE dnscap-1.0-system.patch ---
diff -up dnscap-20070807cvs/dnscap.c.system dnscap-20070807cvs/dnscap.c
--- dnscap-20070807cvs/dnscap.c.system 2007-08-07 15:13:56.000000000 +0200
+++ dnscap-20070807cvs/dnscap.c 2007-08-07 15:14:30.000000000 +0200
@@ -1468,7 +1468,8 @@ dumper_close(void) {
if (cmd != NULL) {
setuid(getuid());
setgid(getgid());
- system(cmd);
+ if (system(cmd) == -1)
+ abort ();
free(cmd);
}
}
Index: dnscap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dnscap/devel/dnscap.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dnscap.spec 7 Aug 2007 13:06:11 -0000 1.1
+++ dnscap.spec 7 Aug 2007 13:14:03 -0000 1.2
@@ -1,6 +1,6 @@
Name: dnscap
Version: 1.0
-Release: 0.3.20070807cvs%{?dist}
+Release: 0.4.20070807cvs%{?dist}
Summary: DNS traffic capture utility
Group: Applications/Internet
@@ -15,6 +15,7 @@
Patch0: dnscap-1.0-isc_list.patch
Patch1: dnscap-1.0-warns.patch
+Patch2: dnscap-1.0-system.patch
%description
dnscap is a network capture utility designed specifically for DNS traffic. It
@@ -27,6 +28,7 @@
%patch0 -p1 -b .isc_list
%patch1 -p1 -b .warns
+%patch2 -p1 -b .system
%build
autoreconf --install
@@ -46,6 +48,9 @@
%{_mandir}/man1/dnscap.1.gz
%changelog
+* Tue Aug 7 2007 Adam Tkac <atkac redhat com> 1.0-0.4.20070807cvs
+- handle return value of system() function
+
* Tue Aug 7 2007 Adam Tkac <atkac redhat com> 1.0-0.3.20070807cvs
- updated to latest cvs
- use libbind's isc/list API
- Previous message: rpms/dnscap/devel dnscap-1.0-isc_list.patch, NONE, 1.1 dnscap-1.0-warns.patch, NONE, 1.1 dnscap.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/selinux-policy/F-7 policy-20070501.patch, 1.44, 1.45 selinux-policy.spec, 1.484, 1.485
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list