Hi Christopher,
On Fri, 20 Dec 2002 14:00:28 -0600 (CST) "Christopher J. Madsen" <[EMAIL PROTECTED]> wrote:
> I've had time to poke around in the aspell code some more, and have
> come up with an improvement to my previous patch. Instead of patching
> the stream code to flush after every newline, this patch flushes the
> output when it's ready to read more input from the pipe.
Thanks, this one looks fine, it should only be #ifdef'd.
Kevin, can this be committed?
I've uploaded binaries without curses to
http://aspell.sourceforge.net/win32/files/testing/aspell-0-50-3-4-win32-nocurses.zip
Note: Please put the files into a ".\bin" subdirectory of an existing
aspell installation, cause they now extract "prefix" from that path.
Best regards,
--
Thorsten Maerz <[EMAIL PROTECTED]>
Sylpheed-claws/Win32: http://claws-w32.sf.net
Index: aspell.cpp
===================================================================
RCS file: /cvsroot/aspell/aspell/prog/aspell.cpp,v
retrieving revision 1.25.2.7
diff -u -r1.25.2.7 aspell.cpp
--- aspell.cpp 25 Nov 2002 23:34:06 -0000 1.25.2.7
+++ aspell.cpp 20 Dec 2002 21:36:15 -0000
@@ -495,6 +495,9 @@
for (;;) {
buf.clear();
+#ifdef WIN32
+ fflush(stdout);
+#endif /* WIN32 */
while (c = getchar(), c != '\n' && c != EOF)
buf.push_back(static_cast<char>(c));
if (c == '\n')
_______________________________________________
Aspell-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/aspell-user