Add missing break in switch
This commit is contained in:
parent
cb4c6da011
commit
8b96a515a4
11
ypserv-2.29-nomap.patch
Normal file
11
ypserv-2.29-nomap.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -up ypserv-2.29/ypserv/server.c.nomap2 ypserv-2.29/ypserv/server.c
|
||||
--- ypserv-2.29/ypserv/server.c.nomap2 2012-11-09 10:43:21.953487135 +0100
|
||||
+++ ypserv-2.29/ypserv/server.c 2012-11-09 10:59:32.472973005 +0100
|
||||
@@ -835,6 +835,7 @@ ypproc_all_2_svc (ypreq_nokey *argp, ypr
|
||||
if (debug_flag)
|
||||
log_msg ("\t-> Ignored (not a valid domain)");
|
||||
result->ypresp_all_u.val.stat = YP_NODOM;
|
||||
+ break;
|
||||
case -4:
|
||||
if (debug_flag)
|
||||
log_msg ("\t-> Ignored (map does not exist)");
|
@ -4,7 +4,7 @@ Summary: The NIS (Network Information Service) server
|
||||
Url: http://www.linux-nis.org/nis/ypserv/index.html
|
||||
Name: ypserv
|
||||
Version: 2.29
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source0: http://www.linux-nis.org/download/ypserv/ypserv-%{version}.tar.bz2
|
||||
@ -33,6 +33,7 @@ Patch9: ypserv-2.25-systemd.patch
|
||||
Patch16: ypserv-2.27-confpost.patch
|
||||
Patch17: ypserv-2.27-cloexec.patch
|
||||
Patch18: ypserv-2.29-sdnotify.patch
|
||||
Patch19: ypserv-2.29-nomap.patch
|
||||
|
||||
BuildRequires: tokyocabinet-devel
|
||||
BuildRequires: systemd-units
|
||||
@ -69,6 +70,7 @@ machines.
|
||||
%patch16 -p1 -b .confpost
|
||||
%patch17 -p1 -b .cloexec
|
||||
%patch18 -p1 -b .sdnotify
|
||||
%patch19 -p1 -b .nomap
|
||||
|
||||
autoreconf
|
||||
|
||||
@ -208,6 +210,9 @@ NOPUSH=true make -eC /var/yp >&2 || :
|
||||
%{_includedir}/*/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 09 2012 Honza Horak <hhorak@redhat.com> - 2.29-4
|
||||
- Add missing break in switch
|
||||
|
||||
* Thu Oct 04 2012 Honza Horak <hhorak@redhat.com> - 2.29-3
|
||||
- Run %%triggerun regardless of systemd_post variable definition
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user