diff options
author | Paul Smith <psmith@gnu.org> | 2006-02-11 19:02:21 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2006-02-11 19:02:21 +0000 |
commit | 586daef9bcbefc234734ea3fc49da4db2083e723 (patch) | |
tree | 2d9bac3a1a01368741383f61c6a6b78140943c04 /strcache.c | |
parent | 5a7a42cfce638f52f702b4d317c45c7186b8c0b4 (diff) | |
download | gunmake-586daef9bcbefc234734ea3fc49da4db2083e723.tar.gz |
Update copyright and license notices on all files.
Added new file strcache.c to various non-UNIX makefiles and build scripts.
Diffstat (limited to 'strcache.c')
-rw-r--r-- | strcache.c | 32 |
1 files changed, 15 insertions, 17 deletions
@@ -1,21 +1,19 @@ /* Constant string caching for GNU Make. -Copyright (C) 2006 Free Software Foundation, Inc. +Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, +1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Make. -GNU Make is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. +GNU Make is free software; you can redistribute it and/or modify it under the +terms of the GNU General Public License as published by the Free Software +Foundation; either version 2, or (at your option) any later version. -GNU Make is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +A PARTICULAR PURPOSE. See the GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with GNU Make; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, -Boston, MA 02110-1301 USA. */ +You should have received a copy of the GNU General Public License along with +GNU Make; see the file COPYING. If not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "make.h" @@ -210,10 +208,10 @@ strcache_print_stats (const char *prefix) avgsize = numbuffs ? (int)(totsize / numbuffs) : 0; avgfree = numbuffs ? (int)(totfree / numbuffs) : 0; - printf ("\n%s # of strings in strcache: %d\n", prefix, numstrs); - printf ("%s # of strcache buffers: %d\n", prefix, numbuffs); - printf ("%s strcache size: total = %d / max = %d / min = %d / avg = %d\n", + printf (_("\n%s # of strings in strcache: %d\n"), prefix, numstrs); + printf (_("%s # of strcache buffers: %d\n"), prefix, numbuffs); + printf (_("%s strcache size: total = %d / max = %d / min = %d / avg = %d\n"), prefix, totsize, maxsize, minsize, avgsize); - printf ("%s strcache free: total = %d / max = %d / min = %d / avg = %d\n", + printf (_("%s strcache free: total = %d / max = %d / min = %d / avg = %d\n"), prefix, totfree, maxfree, minfree, avgfree); } |