| 1 |
From [email protected] Mon Jul 20 13:21:26 1998 |
| 2 |
Return-Path: <[email protected]> |
| 3 |
Received: from proxy1.ba.best.com ([email protected] [206.184.139.12]) |
| 4 |
by shell3.ba.best.com (8.9.0/8.9.0/best.sh) with ESMTP id NAA09054 |
| 5 |
for <bolthole+XRCPT.7068696c40626f6c74686f6c652e636f6d@shell3.ba.best.com>; Mon, 20 Jul 1998 13:20:46 -0700 (PDT) |
| 6 |
Received: from pixar.com (pixar.pixar.com [138.72.10.20]) |
| 7 |
by proxy1.ba.best.com (8.9.0/8.9.0/best.in) with ESMTP id NAA11519 |
| 8 |
for <[email protected]>; Mon, 20 Jul 1998 13:19:46 -0700 (PDT) |
| 9 |
Received: from vlad.pixar.com (vlad.pixar.com [138.72.27.164]) |
| 10 |
by pixar.com (8.8.6/8.8.6) with SMTP id NAA14500 |
| 11 |
for <[email protected]>; Mon, 20 Jul 1998 13:26:30 -0700 (PDT) |
| 12 |
Received: by vlad.pixar.com (Smail3.1.29.1 #2) |
| 13 |
id m0yyMOy-00QqNXC; Mon, 20 Jul 98 13:19 PDT |
| 14 |
Message-ID: <[email protected]> |
| 15 |
Date: Mon, 20 Jul 1998 13:19:16 -0700 |
| 16 |
From: Rick Sayre <[email protected]> |
| 17 |
To: Philip Brown <[email protected]> |
| 18 |
Subject: Re: Filter |
| 19 |
References: <[email protected]> <[email protected]> |
| 20 |
Mime-Version: 1.0 |
| 21 |
Content-Type: text/plain; charset=us-ascii |
| 22 |
X-Mailer: Mutt 0.92.12i |
| 23 |
In-Reply-To: <[email protected]>; from Philip Brown on Mon, Jul 20, 1998 at 01:05:49PM -0700 |
| 24 |
X-Rcpt-To: [email protected] |
| 25 |
|
| 26 |
Both Irix [SGI] and Solaris [Sun] man pages say: |
| 27 |
|
| 28 |
strncpy() copies exactly n bytes, truncating src or |
| 29 |
adding null characters to dst if necessary. The result will |
| 30 |
not be null-terminated if the length of src is n or more. |
| 31 |
|
| 32 |
I believe this was a Posix change to the wording - Note that this is not |
| 33 |
inconsistent with "no more than"... |
| 34 |
|
| 35 |
|
| 36 |
Cheers |
| 37 |
|
| 38 |
--Rick |
| 39 |
|