Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 23:53:10 -0600 (MDT)
From:      "M. Warner Losh" <imp@village.org>
To:        ken@kdm.org
Cc:        obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libcam camlib.h
Message-ID:  <20020423.235310.117915219.imp@village.org>
In-Reply-To: <20020423220257.A39867@panzer.kdm.org>
References:  <200204232358.g3NNwLW16877@freefall.freebsd.org> <20020423220257.A39867@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020423220257.A39867@panzer.kdm.org>
            "Kenneth D. Merry" <ken@kdm.org> writes:
: On Tue, Apr 23, 2002 at 16:58:21 -0700, David E. O'Brien wrote:
: > obrien      2002/04/23 16:58:21 PDT
: > 
: >   Modified files:
: >     lib/libcam           camlib.h 
: >   Log:
: >   Do not +1 with MAXPATHLEN.
: 
: Why not?  What about the terminating NUL?

Because MAXPATHLEN *INCLUDES* the terminating NUL.  See lots of
discussions on this topic in various lists in the past.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423.235310.117915219.imp>