Ignore:
Timestamp:
Jun 20, 2012, 12:44:52 AM (13 years ago)
Author:
bird
Message:

gnumake/current -> 3.82-cvs.

Location:
vendor/gnumake/current
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current

    • Property svn:ignore deleted
  • vendor/gnumake/current/hash.c

    r1989 r2596  
    11/* hash.c -- hash table maintenance
    2 Copyright (C) 1995, 1999, 2002 Free Software Foundation, Inc.
     2Copyright (C) 1995, 1999, 2002, 2010 Free Software Foundation, Inc.
    33Written by Greg McGary <gkm@gnu.org> <greg@mcgary.org>
    44
     
    4747  if (ht->ht_vec == 0)
    4848    {
    49       fprintf (stderr, _("can't allocate %ld bytes for hash table: memory exhausted"),
    50                ht->ht_size * sizeof(struct token *));
     49      fprintf (stderr, _("can't allocate %lu bytes for hash table: memory exhausted"),
     50               ht->ht_size * (unsigned long) sizeof (struct token *));
    5151      exit (1);
    5252    }
     
    127127{
    128128  void **slot = hash_find_slot (ht, item);
    129   const void *old_item = slot ? *slot : 0;
     129  const void *old_item = *slot;
    130130  hash_insert_at (ht, item, slot);
    131131  return (void *)((HASH_VACANT (old_item)) ? 0 : old_item);
Note: See TracChangeset for help on using the changeset viewer.