Skip to content

Commit

Permalink
Merge pull request erlang-lager#209 from jlouis/fix-17
Browse files Browse the repository at this point in the history
Fix compile on Release 17 the right way.
  • Loading branch information
Vagabond committed Feb 27, 2014
2 parents e118ae7 + 1987ca3 commit 73f0806
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lager_file_backend.erl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
%% -*- coding: latin-1 -*-
%% Copyright (c) 2011-2012 Basho Technologies, Inc. All Rights Reserved.
%%
%% This file is provided to you under the Apache License,
Expand Down Expand Up @@ -502,7 +501,7 @@ filesystem_test_() ->
fun() ->
%% XXX if this test fails, check that this file is encoded latin-1, not utf-8!
gen_event:add_handler(lager_event, lager_file_backend, [{"test.log", info}, {lager_default_formatter}]),
lager:log(error, self(),"~ts", ["LÆÝÎN-ï"]),
lager:log(error, self(),"~ts", [[76, 198, 221, 206, 78, $-, 239]]),
{ok, Bin} = file:read_file("test.log"),
Pid = pid_to_list(self()),
Res = re:split(Bin, " ", [{return, list}, {parts, 5}]),
Expand Down

0 comments on commit 73f0806

Please sign in to comment.