logo       

[CVS] Module ircu2.10: Change committed: msg#00001

Subject: [CVS] Module ircu2.10: Change committed
Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2007-05-20 13:25:57 UTC

Modified files:
  Tag: u2_10_12_branch
     configure.in ChangeLog

Log message:

Fix SF#1696425 by failing configure if MAXCONNECTIONS is too small.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.182 ircu2.10/ChangeLog:1.710.2.183
--- ircu2.10/ChangeLog:1.710.2.182      Sun May 20 06:02:51 2007
+++ ircu2.10/ChangeLog  Sun May 20 06:25:47 2007
@@ -1,5 +1,10 @@
 2007-05-20  Michael Poole <mdpoole@xxxxxxxxxxx>
 
+       * configure.in (maxcon): Check that maximum connections is
+       sufficiently large to avoid underflow in MAXCLIENTS.
+       
+2007-05-20  Michael Poole <mdpoole@xxxxxxxxxxx>
+
        * include/supported.h (FEATURES2): Remove extra space.
 
        * ircd/m_admin.c (m_admin): Only check server mask against our
Index: ircu2.10/configure.in
diff -u ircu2.10/configure.in:1.34.2.1 ircu2.10/configure.in:1.34.2.2
--- ircu2.10/configure.in:1.34.2.1      Tue Dec 13 19:01:38 2005
+++ ircu2.10/configure.in       Sun May 20 06:25:47 2007
@@ -19,7 +19,7 @@
 dnl along with this program; if not, write to the Free Software
 dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-dnl $Id: configure.in,v 1.34.2.1 2005/12/14 03:01:38 entrope Exp $
+dnl $Id: configure.in,v 1.34.2.2 2007/05/20 13:25:47 entrope Exp $
 
 dnl Make sure we are in the correct directory (someone could have run
 dnl 'configure' with a wrong '--srcdir').
@@ -710,7 +710,12 @@
 [unet_cv_with_maxcon=$unet_maxcon])])
 
 if test x"$unet_cv_with_maxcon" = xyes -o x"$unet_cv_with_maxcon" = xno; then
+    if test "$unet_maxcon" -lt 32; then
+      AC_MSG_ERROR([Maximum connections (number of open files minus 4) must be 
at least 32.])
+    fi
     unet_cv_with_maxcon=$unet_maxcon
+elif test "$unet_cv_with_maxcon" -lt 32; then
+    AC_MSG_ERROR([Maximum connections (--with-maxcon) must be at least 32.])
 fi
 
 AC_MSG_RESULT([$unet_cv_with_maxcon])
----------------------- End of diff -----------------------


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe