I was compiling wget 1.7 on MacOS X 10.1 (Darwin 1.4).  Around line 435 in
html-parse.c there's the section:

        case AC_S_QUOTE1:
          assert (ch == '\'' || ch == '"');
          quote_char = ch;      /* cheating -- I really don't feel like
                                   introducing more different states for
                                   different quote characters. */
          ch = *p++; 
          state = AC_S_IN_QUOTE;
          break; 

I had to change:

        assert (ch == '\'' || ch == '"');

to:

        assert (ch == '\'' || ch == '\"');

Otherwise, it would not compile... it was, I think, interpreting the ",
rather than using it literally.  Escaping it appears to have fixed the
problem.


The compiling process was simply doing a 'configure' then 'make'.  After
making the change described above, I ran 'make' again, and everything was
fine.

-- 
Ed Powell - "Meus Navis Aerius est Plena Anguillarum"
                                                 http://www.visi.com/~epowell

Reply via email to