From d4bf779c7e4138f25a46b482df445f17b305691e Mon Sep 17 00:00:00 2001 From: tg Date: Wed, 8 May 2013 11:30:45 +0000 Subject: [PATCH] =?UTF-8?q?also=20from=20Sylvestre=20Ledru=E2=80=99s=20cla?= =?UTF-8?q?ng-using=20Debian=20buildd,=20quieten=20another=20configure=20t?= =?UTF-8?q?ime=20warning;=20log=20before=20running=20that=20/dev/{null,tty?= =?UTF-8?q?}=20exist=20(with=20ls=20-l,=20so=20we=20see=20they=E2=80=99re?= =?UTF-8?q?=20actual=20devices)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Build.sh b/Build.sh index aab5f63..8d2f920 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.632 2013/05/08 11:16:17 tg Exp $' +srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.633 2013/05/08 11:30:45 tg Exp $' #- # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012, 2013 @@ -28,6 +28,9 @@ srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.632 2013/05/08 11:16:17 tg Exp $' LC_ALL=C export LC_ALL +echo "For the build logs, demonstrate that /dev/null and /dev/tty exist:" +ls -l /dev/null /dev/tty + case $ZSH_VERSION:$VERSION in :zsh*) ZSH_VERSION=2 ;; esac @@ -1537,7 +1540,7 @@ else #define EXTERN #define MKSH_INCLUDES_ONLY #include "sh.h" - __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.632 2013/05/08 11:16:17 tg Exp $"); + __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.633 2013/05/08 11:30:45 tg Exp $"); int main(void) { printf("Hello, World!\n"); return (0); } EOF case $cm in @@ -1753,7 +1756,7 @@ EOF ac_test setresugid <<-'EOF' #include #include - int main(void) { setresuid(0,0,0); return (setresgid(0,0,0)); } + int main(void) { return (setresuid(0,0,0) + setresgid(0,0,0)); } EOF ac_test setgroups setresugid 0 <<-'EOF'