~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to src/cp-hash.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* cp-hash.c  -- file copying (hash search routines)
2
 
   Copyright (C) 1989-1991, 1995-2011 Free Software Foundation, Inc.
 
2
   Copyright (C) 1989-2012 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software: you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
59
59
}
60
60
 
61
61
/* Compare two Src_to_dest entries.
62
 
   Return true if their keys are judged `equal'.  */
 
62
   Return true if their keys are judged 'equal'.  */
63
63
static bool
64
64
src_to_dest_compare (void const *x, void const *y)
65
65
{
131
131
 
132
132
  /* Determine whether there was already an entry in the table
133
133
     with a matching key.  If so, free ENT (it wasn't inserted) and
134
 
     return the `name' from the table entry.  */
 
134
     return the 'name' from the table entry.  */
135
135
  if (ent_from_table != ent)
136
136
    {
137
137
      src_to_dest_free (ent);
154
154
    xalloc_die ();
155
155
}
156
156
 
157
 
/* Reset the hash structure in the global variable `htab' to
 
157
/* Reset the hash structure in the global variable 'htab' to
158
158
   contain no entries.  */
159
159
 
160
160
extern void