On 7/30/05, Brian Smith <brianlsmith@gmail.com> wrote:
On 7/30/05, Ross Paterson <ross@soi.city.ac.uk> wrote:
On Fri, Jul 29, 2005 at 06:17:59PM -0500, Brian Smith wrote:
> Anyway, the other parts of the patch are not useful without the
> newline patch because the newline problem causes every test to fail.

On second thoughts, shouldn't you have CR's in all the text files if
you've configured your CVS client properly?

I think so, but "configure" and "xml2sgml" (and possibly other things) don't work correctly unless I use my CVS client's "Use Unix line endings" setting (I use TortoiseCVS). First, configure failed (I don't remember which step), and the only way I was able to solve it was by saving "configure.ac" with Unix line endings (using Textpad). Then, sgml2xml failed, for the same reason.

Ross, you were right--please back out my patch for runstdtest. I have included a patch to configure.ac and a patch for the docs/user_guide/Makefile.in that fixes the issues with newline problems. That way, using a "Use Unix line endings" option is not necessary.

autoconf that comes with msysDTK does not escape line endings correctly inside of AC_OUTPUT and AC_CHECK_HEADERS when the line endings contain carriage returns; for AC_OUTPUT, the config.status field gets screwed up, and for AC_CHECK_HEADERS, something else gets screwed up (but I didn't check exactly what).

Also, MSYS's sed apparently does not like carriage returns in any scripts that it is passed with its "-f" option. So, I changed the user guide's Makefile.in so that it generates and uses a carriage-return-free xml2sgml script.

- Brian