[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] Mingw build
From: |
Theodore A. Roth |
Subject: |
Re: [avrdude-dev] Mingw build |
Date: |
Thu, 27 Feb 2003 09:13:46 -0800 (PST) |
On Thu, 27 Feb 2003, Theodore A. Roth wrote:
:)
:)
:) On Thu, 27 Feb 2003, Joerg Wunsch wrote:
:)
:) :) It should be #ifdef'ed then, in the sense of
:) :)
:) :) #ifdef HAVE_READLINE
:) :) blah blah readline();
:) :) #else /* !HAVE_READLINE */
:) :) doo fgets();
:) :) #endif
It's not quite that simple since readline uses malloc and also
generates the prompt. It's still relatively simple though.
:) I'll have a patch shortly to fix the term.c file...
Attached is said patch. Is this acceptable? I tested it with and
without readline and it works fine (as far as fgets can be made to
work like readline goes ;-)
Ted
readline.diff
Description: Text document