1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Fix a bug leading to SIG11 in the child process

Submitted by:	Herbert Straub
Reported by:	Konstantin Nikonenko
This commit is contained in:
Tilman Keskinoz 2003-12-10 14:56:20 +00:00
parent 715fb58da6
commit 18b4f731fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95539
2 changed files with 14 additions and 4 deletions
news/newscache

View File

@ -7,6 +7,7 @@
PORTNAME= newscache
PORTVERSION= 1.1.90
PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= http://www.hstraub.at/linux/downloads/src/ \
http://www.infosys.tuwien.ac.at/NewsCache/download/

View File

@ -1,10 +1,19 @@
--- src/NewsCache.cc.orig Sat Feb 23 18:06:38 2002
+++ src/NewsCache.cc Sat Feb 23 18:06:48 2002
@@ -18,7 +18,6 @@
--- src/NewsCache.cc.orig Fri Oct 24 12:12:20 2003
+++ src/NewsCache.cc Wed Dec 10 15:47:46 2003
@@ -24,7 +24,6 @@
*/
#include "config.h"
-#include <crypt.h>
#include <ctype.h>
#include <unistd.h>
#include <string.h>
@@ -2024,7 +2023,7 @@
}
cmdp = clt.client_command_map.find(argv[0]);
- if (cmdp == end || !cmdp->second->func) {
+ if (cmdp == clt.client_command_map.end() || !cmdp->second->func) {
slog.p(Logger::Notice) << clt.client_logname
<< " unrecognized " << oreq << "\n";
(*clt.co) << "500 What?\r\n";