diff options
author | Curtis Cablegram <cablegram@comcast.net> | 2010-07-28 19:34:04 -0500 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-08-03 10:50:21 +0200 |
commit | 1466f312bad35809fa9fe343068d2fc8a814ffe6 (patch) | |
tree | 200ca8c951cd3c3a747edb34e43facd7554f7d10 /activerecord/lib/active_record/callbacks.rb | |
parent | 2c8a4a53a8c38a43a62342b9d46014242e781d18 (diff) | |
download | rails-1466f312bad35809fa9fe343068d2fc8a814ffe6.tar.gz rails-1466f312bad35809fa9fe343068d2fc8a814ffe6.tar.bz2 rails-1466f312bad35809fa9fe343068d2fc8a814ffe6.zip |
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>
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
0 files changed, 0 insertions, 0 deletions