Re: configure wrongly caches results

2005-09-27 Thread Stepan Kasal
Hi Pat, On Mon, Sep 26, 2005 at 12:51:53AM +0200, Patrice Dumas wrote: > So it seems that there is a kind of caching that cannot be disabled and > that is preventing such tests to work. Indeed, you can switch off the cache _file_, so that it is not read at the beginning and written at the end, bu

sh portability questions

2005-09-27 Thread Akim Demaille
Now that there are no doubts about the portability of shell functions (in the sense that there's always a shell on the machine that supports function ---and maybe the documentation should reflect this), I'm curious about the support of "return" and "local". Is there anything known about them? IS

Re: sh portability questions

2005-09-27 Thread Paul Eggert
Akim Demaille <[EMAIL PROTECTED]> writes: > Now that there are no doubts about the portability of shell functions > (in the sense that there's always a shell on the machine that supports > function ---and maybe the documentation should reflect this), Yes, it should. > I'm curious about the suppo

Re: sh portability questions

2005-09-27 Thread Paul Eggert
Andreas Schwab <[EMAIL PROTECTED]> writes: > Paul Eggert <[EMAIL PROTECTED]> writes: > >> Assuming you don't need recursion, here's a thought. Use "local", but >> stick to the convention that all variable names are unique. On >> systems that don't support "local", define a function named "local"

Re: sh portability questions

2005-09-27 Thread Andreas Schwab
Paul Eggert <[EMAIL PROTECTED]> writes: > Assuming you don't need recursion, here's a thought. Use "local", but > stick to the convention that all variable names are unique. On > systems that don't support "local", define a function named "local" > that warns if any of its arguments is a variabl