From 3d522cfa27a287ac3abdb65d802848feaee8a7df Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 22 Dec 2017 18:36:21 +0000 Subject: [PATCH] turns out that Plan 9 does *not* have symlink(7)s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cf. https://github.com/brho/plan9/blob/master/sys/src/ape/lib/ap/plan9/dirtostat.c despite https://github.com/brho/plan9/blob/master/sys/include/ape/sys/stat.h see http://static.usenix.org/events/usenix2000/general/full_papers/pikelex/pikelex.pdf though… --- Build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Build.sh b/Build.sh index b0baa37..7d80fbb 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.728 2017/12/22 16:29:58 tg Exp $' +srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.729 2017/12/22 18:36:21 tg Exp $' #- # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012, 2013, 2014, 2015, 2016, 2017 @@ -796,6 +796,8 @@ Harvey) add_cppflags -DMKSH_ASSUME_UTF8 HAVE_ISSET_MKSH_ASSUME_UTF8=1 HAVE_ISOFF_MKSH_ASSUME_UTF8=0 + add_cppflags -DMKSH__NO_SYMLINK + check_categories="$check_categories nosymlink" add_cppflags -DMKSH_NO_CMDLINE_EDITING add_cppflags -DMKSH__NO_SETEUGID oswarn=' and will currently not work' @@ -823,9 +825,11 @@ Jehanne) : "${HAVE_TERMIOS_H=1}" : "${HAVE_GETRUSAGE=1}" : "${LDSTATIC=-static}" + add_cppflags -DMKSH_ASSUME_UTF8 HAVE_ISSET_MKSH_ASSUME_UTF8=1 HAVE_ISOFF_MKSH_ASSUME_UTF8=0 - add_cppflags -DMKSH_ASSUME_UTF8 + add_cppflags -DMKSH__NO_SYMLINK + check_categories="$check_categories nosymlink" add_cppflags -DMKSH_NO_CMDLINE_EDITING add_cppflags -DMKSH_DISABLE_REVOKE_WARNING add_cppflags '-D_PATH_DEFPATH=\"/cmd\"' @@ -962,6 +966,8 @@ Plan9) add_cppflags -DMKSH_ASSUME_UTF8 HAVE_ISSET_MKSH_ASSUME_UTF8=1 HAVE_ISOFF_MKSH_ASSUME_UTF8=0 + add_cppflags -DMKSH__NO_SYMLINK + check_categories="$check_categories nosymlink" add_cppflags -DMKSH_NO_CMDLINE_EDITING add_cppflags -DMKSH__NO_SETEUGID oswarn=' and will currently not work'