mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Take out 0201-0207 range - those characters abused by sh
This commit is contained in:
parent
a1a0a1f9c7
commit
c07cbf9cf8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17562
@ -33,7 +33,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mksyntax.c,v 1.3 1996/08/11 22:50:59 ache Exp $
|
||||
* $Id: mksyntax.c,v 1.4 1996/08/12 12:31:28 ache Exp $
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
@ -328,9 +328,9 @@ print(name)
|
||||
|
||||
char *macro[] = {
|
||||
"#define is_digit(c)\t((is_type+SYNBASE)[c] & ISDIGIT)",
|
||||
"#define is_alpha(c)\t((c) != PEOF && isalpha((unsigned char) (c)))",
|
||||
"#define is_name(c)\t((c) != PEOF && ((c) == '_' || isalpha((unsigned char) (c))))",
|
||||
"#define is_in_name(c)\t((c) != PEOF && ((c) == '_' || isalnum((unsigned char) (c))))",
|
||||
"#define is_alpha(c)\t((c) != PEOF && ((c) < CTLESC || (c) > CTLENDARI) && isalpha((unsigned char) (c)))",
|
||||
"#define is_name(c)\t((c) != PEOF && ((c) < CTLESC || (c) > CTLENDARI) && ((c) == '_' || isalpha((unsigned char) (c))))",
|
||||
"#define is_in_name(c)\t((c) != PEOF && ((c) < CTLESC || (c) > CTLENDARI) && ((c) == '_' || isalnum((unsigned char) (c))))",
|
||||
"#define is_special(c)\t((is_type+SYNBASE)[c] & (ISSPECL|ISDIGIT))",
|
||||
NULL
|
||||
};
|
||||
|
@ -33,7 +33,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: var.c,v 1.3 1995/05/30 00:07:24 rgrimes Exp $
|
||||
* $Id: var.c,v 1.4 1996/08/11 22:51:00 ache Exp $
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
@ -55,6 +55,7 @@ static char sccsid[] = "@(#)var.c 8.1 (Berkeley) 5/31/93";
|
||||
#include "syntax.h"
|
||||
#include "options.h"
|
||||
#include "mail.h"
|
||||
#include "parser.h"
|
||||
#include "var.h"
|
||||
#include "memalloc.h"
|
||||
#include "error.h"
|
||||
|
Loading…
Reference in New Issue
Block a user