aboutsummaryrefslogtreecommitdiff
path: root/metachar.h
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2021-02-11 01:51:11 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2021-02-11 01:51:11 +0000
commit8b6f73e37baf5c37946844ec335a84856b1a9033 (patch)
treede7fca1ad8b6fd8c656a92e783611e261c8b7227 /metachar.h
parent8e11a9b4250be3c3379c45fa820bff78d99d5946 (diff)
downloadsrc-8b6f73e37baf5c37946844ec335a84856b1a9033.tar.gz
src-8b6f73e37baf5c37946844ec335a84856b1a9033.zip
Diffstat (limited to 'metachar.h')
-rw-r--r--metachar.h6
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 != '=')