Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/dist/ntp/ntpd Pull up revision 1.7 (requested by jwise in...
details: https://anonhg.NetBSD.org/src/rev/8e072aca7512
branches: netbsd-3
changeset: 575278:8e072aca7512
user: tron <tron%NetBSD.org@localhost>
date: Thu Apr 07 11:22:04 2005 +0000
description:
Pull up revision 1.7 (requested by jwise in ticket #113):
Double the stack space limit. We are running out with ntp.pool.org.
diffstat:
dist/ntp/ntpd/ntpd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7f42a5582e4e -r 8e072aca7512 dist/ntp/ntpd/ntpd.c
--- a/dist/ntp/ntpd/ntpd.c Thu Apr 07 11:18:20 2005 +0000
+++ b/dist/ntp/ntpd/ntpd.c Thu Apr 07 11:22:04 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ntpd.c,v 1.6 2004/06/29 04:16:37 christos Exp $ */
+/* $NetBSD: ntpd.c,v 1.6.2.1 2005/04/07 11:22:04 tron Exp $ */
/*
* ntpd.c - main program for the fixed point NTP daemon
@@ -680,7 +680,7 @@
struct rlimit rl;
if (getrlimit(RLIMIT_STACK, &rl) != -1
- && (rl.rlim_cur = 5 * 4096 * sizeof(void *)) < rl.rlim_max)
+ && (rl.rlim_cur = 10 * 4096 * sizeof(void *)) < rl.rlim_max)
{
if (setrlimit(RLIMIT_STACK, &rl) == -1)
{
Home |
Main Index |
Thread Index |
Old Index