[racket-dev] An occasional newline in the PLaneT install Log?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Apr 28 08:35:43 EDT 2011

On Thu, Apr 28, 2011 at 1:32 AM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> John Clements wrote at 04/28/2011 02:09 AM:
>
> On Apr 27, 2011, at 12:10 PM, Robby Findler wrote:
>
>
> There actually are newlines there in some ways the log is viewed. So
> something looks buggy somewhere to me.
>
>
> I'm not quite sure what you're suggesting.  I had a look with emacs, and I'm
> pretty sure there are no special characters in there. Perhaps I'm
> misunderstanding you.
>
>
> My "~/.racket/planet/300/5.1/INSTALL-LOG" on GNU/Linux contains *zero* LF or
> CR characters, despite reflecting a few PLaneT packages having been
> installed.
>
> First guess: someone is getting the log text line-by-line without newlines,
> and forgetting to add the newlines when sending the lines to the log file.
>
> If Robby means that his log contains LF and/or CR characters, maybe he's
> using a different Racket version, or is on a different host platform.

I meant that if you do "racket -W debug", you'll see newlines. If you
look at it in DrRacket's window, you'll see newlines. So I didn't know
where John was not seeing newlines.

Anyways, I've now pushed a fix for how the log is printed to INSTALL-LOG.

Thanks,
Robby


Posted on the dev mailing list.