Re: TEST_NT hack and OpenBSD

Sam Steingold <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <86lgsa9y1s.fsf@sdsGazPro>
Hi Bruno,

> * Bruno Haible <[email protected]> [2017-03-11 02:44:54 +0100]:
>
> 1) 'test file1 -nt -file2' is not standardized by POSIX [1], therefore better
>    not rely on it.

this is a common korn shell extension.

> 2) I don't see anything that uses it.

without it module recompile requires `rm -rf` of the module dir, see
makemake.in:

--8<---------------cut here---------------start------------->8---
  if [ "@TEST_NT@" = no ]; then # re-making a module requires rm -rf module
    newer(){ echo 'test -f $$m/'$1' -a '"'!'"' -f $@/'$2; }
  else # re-making a module just works
    newer(){ echo 'test -f $$m/'$1' -a $$m/'$1' -nt $@/'$2; }
  fi
--8<---------------cut here---------------end--------------->8---


-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 16.10 (yakkety) X 11.0.11804000
http://www.childpsy.net/ http://palestinefacts.org http://jihadwatch.org
http://openvotingconsortium.org http://truepeace.org http://www.memritv.org
Save the whales, feed the hungry, free the mallocs.

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.