From 287d4bc216b512fc8ff9e5fe0575f55b8df755b1 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 5 Dec 2014 15:14:23 +0000 Subject: [PATCH] =?UTF-8?q?int=20=E2=86=92=20bool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eval.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eval.c b/eval.c index dbac940..1858715 100644 --- a/eval.c +++ b/eval.c @@ -23,7 +23,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.160 2014/11/25 21:13:23 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.161 2014/12/05 15:14:23 tg Exp $"); /* * string expansion @@ -70,7 +70,7 @@ static char *valsub(struct op *, Area *); static char *trimsub(char *, char *, int); static void glob(char *, XPtrV *, bool); static void globit(XString *, char **, char *, XPtrV *, int); -static const char *maybe_expand_tilde(const char *, XString *, char **, int); +static const char *maybe_expand_tilde(const char *, XString *, char **, bool); #ifndef MKSH_NOPWNAM static char *homedir(char *); #endif @@ -1027,7 +1027,7 @@ expand( tcp = maybe_expand_tilde(sp, &ds, &tdp, - f & DOASNTILDE); + tobool(f & DOASNTILDE)); if (tcp) { if (dp != tdp) word = IFS_WORD; @@ -1663,7 +1663,7 @@ debunk(char *dp, const char *sp, size_t dlen) * past the name, otherwise returns 0. */ static const char * -maybe_expand_tilde(const char *p, XString *dsp, char **dpp, int isassign) +maybe_expand_tilde(const char *p, XString *dsp, char **dpp, bool isassign) { XString ts; char *dp = *dpp;