diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2021-02-11 01:51:11 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2021-02-11 01:51:11 +0000 |
commit | 8b6f73e37baf5c37946844ec335a84856b1a9033 (patch) | |
tree | de7fca1ad8b6fd8c656a92e783611e261c8b7227 /metachar.h | |
parent | 8e11a9b4250be3c3379c45fa820bff78d99d5946 (diff) | |
download | src-8b6f73e37baf5c37946844ec335a84856b1a9033.tar.gz src-8b6f73e37baf5c37946844ec335a84856b1a9033.zip |
Diffstat (limited to 'metachar.h')
-rw-r--r-- | metachar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/metachar.h b/metachar.h index 3c0780a31b8b..04f967229109 100644 --- a/metachar.h +++ b/metachar.h @@ -1,6 +1,6 @@ -/* $NetBSD: metachar.h,v 1.13 2021/01/10 21:20:46 rillig Exp $ */ +/* $NetBSD: metachar.h,v 1.15 2021/01/19 20:51:46 rillig Exp $ */ -/*- +/* * Copyright (c) 2015 The NetBSD Foundation, Inc. * All rights reserved. * @@ -37,7 +37,7 @@ extern unsigned char _metachar[]; #define is_shell_metachar(c) (_metachar[(c) & 0x7f] != 0) -MAKE_INLINE int +MAKE_INLINE Boolean needshell(const char *cmd) { while (!is_shell_metachar(*cmd) && *cmd != ':' && *cmd != '=') |