summaryrefslogtreecommitdiff
path: root/src/cp-hash.c
AgeCommit message (Collapse)Author
2015-01-01maint: update all copyright year number rangesPádraig Brady
Run "make update-copyright" and then... * tests/sample-test: Adjust to use the single most recent year. * tests/du/bind-mount-dir-cycle-v2.sh: Fix case in copyright message, so that year is updated automatically in future.
2014-01-02maint: update all copyright year number rangesBernhard Voelker
Run "make update-copyright", but then also run this, perl -pi -e 's/2\d\d\d-//' tests/sample-test to make that one script use the single most recent year number.
2013-01-01maint: update all copyright year number rangesJim Meyering
Run "make update-copyright", but then also run this, perl -pi -e 's/2\d\d\d-//' tests/sample-test to make that one script use the single most recent year number.
2012-01-27maint: use single copyright year rangeJim Meyering
Run "make update-copyright".
2012-01-09maint: src/*.c: change remaining quotes (without embedded spaces)Jim Meyering
Run this (twice): git grep -E -l '`[^ ]+'\' src/*.c \ |xargs perl -pi -e 's/`([^ ]+'\'')/'\''$1/'
2012-01-01maint: update all copyright year number rangesJim Meyering
Run "make update-copyright".
2011-06-09maint: remove unneeded includesPádraig Brady
Remove unneeded includes as reported by: http://code.google.com/p/include-what-you-use/ * src/cp-hash.c: Remove unused include. * src/dd.c: Likewise. * src/du.c: Likewise. * src/head.c: Likewise. * src/kill.c: Likewise. * src/ls.c: Likewise. * src/stdbuf.c: Likewise. * src/timeout.c: Likewise. * src/truncate.c: Likewise.
2011-01-01maint: update all copyright year number rangesJim Meyering
Run "make update-copyright".
2010-01-01maint: update all FSF copyright year lists to include 2010Jim Meyering
Use this command: git ls-files | grep -v COPYING \ | xargs env UPDATE_COPYRIGHT_USE_INTERVALS=1 \ build-aux/update-copyright
2009-08-25global: convert indentation-TABs to spacesJim Meyering
Transformed via this shell code: t=$'\t' git ls-files \ | grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \ | grep -vE 'tests/pr/|help2man' \ | xargs grep -lE "^ *$t" \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
2009-06-23maint: update all Copyright year lists to include 2009Jim Meyering
2008-11-20cp: remove unused codeJim Meyering
* src/cp-hash.c (remember_created): Remove unused function. Remove thus-obviated headers: <stdio.h>, "quote.h", "error.h". * src/cp-hash.h (remember_created): Remove declaration.
2008-02-28Make copyright comments consistent.Jim Meyering
* src/mktemp.c: Update copyright to use newer form. Make first copyright lines consistent. Some did not end in ", Inc.". Due to that missing ", Inc" at end of line, emacs' copyright-updating code missed some opportunities. This corrects most of those, and adds some mistakenly omitted years. * src/chown-core.c: Adjust. * src/chown-core.h: Likewise. * src/copy.c: Likewise. * src/copy.h: Likewise. * src/cp-hash.c: Likewise. * src/cp.c: Likewise. * src/group-list.h: Likewise. * src/mktemp.c: Likewise. * src/stat.c: Likewise. * tests/chmod/equal-x: Likewise. * tests/dd/skip-seek: Likewise. * tests/envvar-check: Likewise. * tests/mv/into-self-2: Likewise.
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2005-06-02Don't use "path" or "filename".Paul Eggert
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2004-09-22(remember_created): Declare as `extern'.Jim Meyering
2004-07-30(remember_created): Use bool when appropriate.Paul Eggert
2004-04-27(forget_created, remember_created)Jim Meyering
(src_to_dest_lookup, remember_copied, hash_init, forget_all): Add `extern' keyword.
2004-03-12(src_to_dest_lookup): New function.Jim Meyering
2003-10-25(src_to_dest_hash): Adjust to reflectJim Meyering
type changes (unsigned int -> size_t) in hash.c.
2003-05-13(struct Src_to_dest) [name]: Remove const attribute.Jim Meyering
(src_to_dest_free): Don't apply cast to argument of free.
2003-04-11Remove anachronistic casts of xmalloc,Jim Meyering
xrealloc, and xcalloc return values and of xrealloc's first argument.
2002-09-22Remove all inclusions of inttypes.h,Jim Meyering
since it's already included from sys2.h via system.h.
2002-03-30(forget_created): New function.Jim Meyering
2001-11-23Use opaque type, Hash_table, not `struct hash_table'.Jim Meyering
2001-10-24(forget_all): Use hash_free, not hash_clear.Jim Meyering
2001-10-18split a long line into twoJim Meyering
2001-10-18Plug a leak.Jim Meyering
(remember_copied): Use src_to_dest_free to free the entry we couldn't insert.
2001-10-07(remember_copied): Make a local copy of the file name.Jim Meyering
(src_to_dest_free): New function (to free the above). (hash_init): Register src_to_dest_free.
2001-10-06(hash_init): Die if hash_initialize fails.Jim Meyering
2001-10-06Rewrite to use the functions in lib/hash.c.Jim Meyering
2001-01-10[struct entry] (node): Describe how it's used,Jim Meyering
now that we've overloaded it a little, in order to detect and diagnose the copying-directory-into-self problem. (new_file): Remove global. (htab): Declare global to be static. (remember_created): Insert file name instead of dummy pointer, so that copy.c can use the just-created directory name to detect the copying-directory-into-self problem.
2000-07-30Convert "`%s'" in format strings to "%s", and wrap eachJim Meyering
corresponding argument in a `quote (...)' call.
2000-07-09update copyright dateJim Meyering
1999-02-16update copyright datesJim Meyering
1998-04-06(cph_hash_insert): Rename from now-conflicting hash_insert.Jim Meyering
Also declare to be static.
1998-01-04copyrightJim Meyering
1997-11-30(<inttypes.h>): Include if HAVE_INTTYPES_H.Jim Meyering
(hash_insert2): Cast inode number to uintmax_t; this prevents negative remainders if the inode number is negative and ino_t is longer than unsigned.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-02-02* src/cp-hash.c (struct entry): Move dcl to this file from cp.h.Jim Meyering
(struct htab): Likewise. No longer include cp.h. Instead, include the things it used to include.
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1995-11-10Protoize and add const attribute to parameters.Jim Meyering
1995-05-13Use stat (lstat), not safe_stat (safe_lstat).Jim Meyering
1995-03-10add 1995 to Copyright datesJim Meyering
1995-01-27Rename SAFE_STAT and SAFE_LSTAT to lower case names.Jim Meyering
1994-10-02.Jim Meyering