This project is archived and is in readonly mode.

Changeset [1466f312bad35809fa9fe343068d2fc8a814ffe6] by Curtis Cablegram

August 3rd, 2010 @ 09:50 AM

Change log-tailer to properly track multi-byte characters.

When end-of-line is represented within a file as "\r\n",
it is represented in memory as a single "\n". This patch eliminates
the discrepancy between size on disk and size in memory.

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/1466f312bad35809fa9fe343068d2f...

Committed by Curtis Cablegram

  • M railties/lib/rails/rack/log_tailer.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>