~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/stdlib/src/log_mf_h.erl

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
%%-----------------------------------------------------------------
56
56
%% Call-back functions from gen_event
57
57
%%-----------------------------------------------------------------
58
 
init({Dir, MaxB, MaxF, Pred}) when MaxF > 0, MaxF < 256 -> 
 
58
init({Dir, MaxB, MaxF, Pred}) when is_integer(MaxF), MaxF > 0, MaxF < 256 -> 
59
59
    First = 
60
60
        case read_index_file(Dir) of
61
61
            {ok, LastWritten} -> inc(LastWritten, MaxF);
110
110
 
111
111
handle_call(null, State) ->
112
112
    {ok, null, State}.
 
113
 
113
114
code_change(_OldVsn, State, _Extra) ->
114
115
    {ok, State}.
115
116