Subject: Re: Option to make cpp(1) not accept named pipes or devices as include
To: Jim Wise <jwise@draga.com>
From: Christos Zoulas <christos@zoulas.com>
List: tech-toolchain
Date: 11/29/2004 17:26:32
On Nov 29,  4:24pm, jwise@draga.com (Jim Wise) wrote:
-- Subject: Re: Option to make cpp(1) not accept named pipes or devices as in

| -----BEGIN PGP SIGNED MESSAGE-----
| Hash: SHA1
| 
| On Mon, 29 Nov 2004, Christos Zoulas wrote:
| 
| >That is the only way to fix this problem, so I say go for it.
| 
| Cool. I've placed a patch for cpp -- including updates to .texi, .info 
| (via correct makeinfo), and man page documentation -- which implements 
| this behavior if the environment variable CPP_RESTRICTED is set at:
| 
| 	http://www.draga.com/~jwise/NetBSD/cpp.diff
| 
| I'd like to commit this sometime tonight or tomorrow, and then feed back
| to FSF.
| 
| (A mail containing the patch as an attachment will come over the wire 
| later today when the tech-toolchain-owner approves it.  :-) )
| 
| Any suggested improvements before I do so?
| 

Can you do diff -u? Also "do not open non regular files" -> "only open regular files"

christos