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

« back to all changes in this revision

Viewing changes to erts/emulator/beam/erl_bif_lists.c

  • 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:
176
176
    Eterm item;
177
177
    int non_immed_key;
178
178
    int max_iter = 10 * CONTEXT_REDS;
179
 
    
 
179
 
180
180
    if (is_nil(BIF_ARG_2)) {
181
181
        BIF_RET(am_false);
182
182
    } else if (is_not_list(BIF_ARG_2)) {
305
305
keyfind(int Bif, Process* p, Eterm Key, Eterm Pos, Eterm List)
306
306
{
307
307
    int max_iter = 10 * CONTEXT_REDS;
308
 
    int pos;
 
308
    Sint pos;
309
309
    Eterm term;
310
310
 
311
311
    if (!is_small(Pos) || (pos = signed_val(Pos)) < 1) {