File: filtertest

package info (click to toggle)
filter 2.6.3-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, jessie, jessie-kfreebsd, lenny, sarge, squeeze, wheezy
  • size: 728 kB
  • ctags: 706
  • sloc: ansic: 4,033; sh: 3,932; makefile: 198
file content (39 lines) | stat: -rw-r--r-- 1,676 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From whorfin@pixar.com  Mon Jul 20 13:21:26 1998
Return-Path: <whorfin@pixar.com>
Received: from proxy1.ba.best.com (root@proxy1.ba.best.com [206.184.139.12])
	by shell3.ba.best.com (8.9.0/8.9.0/best.sh) with ESMTP id NAA09054
	for <bolthole+XRCPT.7068696c40626f6c74686f6c652e636f6d@shell3.ba.best.com>; Mon, 20 Jul 1998 13:20:46 -0700 (PDT)
Received: from pixar.com (pixar.pixar.com [138.72.10.20])
	by proxy1.ba.best.com (8.9.0/8.9.0/best.in) with ESMTP id NAA11519
	for <phil@bolthole.com>; Mon, 20 Jul 1998 13:19:46 -0700 (PDT)
Received: from vlad.pixar.com (vlad.pixar.com [138.72.27.164])
	by pixar.com (8.8.6/8.8.6) with SMTP id NAA14500
	for <phil@bolthole.com>; Mon, 20 Jul 1998 13:26:30 -0700 (PDT)
Received: by vlad.pixar.com (Smail3.1.29.1 #2)
	id m0yyMOy-00QqNXC; Mon, 20 Jul 98 13:19 PDT
Message-ID: <19980720131916.B22019@vlad.pixar.com>
Date: Mon, 20 Jul 1998 13:19:16 -0700
From: Rick Sayre <whorfin@pixar.com>
To: Philip Brown <phil@bolthole.com>
Subject: Re: Filter
References: <19980720110258.I18107@vlad.pixar.com> <199807202005.NAA02064@shell3.ba.best.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.92.12i
In-Reply-To: <199807202005.NAA02064@shell3.ba.best.com>; from Philip Brown on Mon, Jul 20, 1998 at 01:05:49PM -0700
X-Rcpt-To: phil@bolthole.com

Both Irix [SGI] and Solaris [Sun] man pages say:

    strncpy() copies exactly n bytes, truncating src or
    adding null characters to dst if necessary.  The result will
    not be null-terminated if the length of src is  n  or  more.

I believe this was a Posix change to the wording - Note that this is not 
inconsistent with "no more than"...


Cheers

	--Rick