nmh-workers
[Top] [All Lists]

Solaris 'vim' configure bug

2003-06-02 19:30:09
If vim 6.0 is installed on a Solaris system, the 'ex' program included with 
vim 6.0 goes into an infinite loop when this statement in 'configure' is 
executed:

  if echo 'r /nonexist-file
q' | ex > /dev/null 2>&1

It seems wrong to me to include a newline in the string this way.  It could be 
re-written as:

echo 'r /nonexist-file\nq' | ex > /dev/null 2>&1

This works with vim 6.0 and both bash and the Solaris release of 'sh'.
Should 'configure.in' be changed this way to make it work?

<Prev in Thread] Current Thread [Next in Thread>