diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-17 19:58:17 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-17 19:58:17 +0000 |
commit | 218fa5c61ba2f211b175aa943faa7eea286ff69e (patch) | |
tree | d54a459a9d5016a567e168b385cc3c4670f603ef /lib | |
parent | 23f176cae633cc795a8d7a0becb56ba1481f32ba (diff) | |
download | coreutils-218fa5c61ba2f211b175aa943faa7eea286ff69e.tar.xz |
Add/fix copyright notices and adjust to latest GNU FDL.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/.gdb-history | 35 | ||||
-rw-r--r-- | lib/ChangeLog | 25 | ||||
-rw-r--r-- | lib/TODO | 8 | ||||
-rw-r--r-- | lib/__fpending.h | 20 | ||||
-rw-r--r-- | lib/fdopendir-glibc.c | 18 | ||||
-rw-r--r-- | lib/fprintftime.h | 18 | ||||
-rw-r--r-- | lib/root-dev-ino.h | 18 | ||||
-rw-r--r-- | lib/savedir.c | 4 | ||||
-rw-r--r-- | lib/savedir.h | 2 | ||||
-rw-r--r-- | lib/search_.h | 19 | ||||
-rwxr-xr-x | lib/t-chdir-long | 19 | ||||
-rw-r--r-- | lib/t-fpending.c | 20 |
12 files changed, 194 insertions, 12 deletions
diff --git a/lib/.gdb-history b/lib/.gdb-history index ee1c44466..7a3202303 100644 --- a/lib/.gdb-history +++ b/lib/.gdb-history @@ -1,3 +1,22 @@ +# GDB history for debugging coreutils. +# +# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# +# This program 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. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. +# r 206.65.212.10 b main r @@ -9,7 +28,7 @@ p addr p he->h_name n q -b canon_host +b canon_host r 206.65.212.10 n p he @@ -103,7 +122,7 @@ p *old_vec@10 p *old_vec@13 b hash_insert_item r -b hash_insert_item_at +b hash_insert_item_at r n p fail @@ -111,7 +130,7 @@ p *(ht->vec)@13 p *(ht->ht_vec)@13 p ((struct item*)(ht->ht_vec)[10])->key b hash_delete_item -b hash_delete_item_at +b hash_delete_item_at c n p slot @@ -147,7 +166,7 @@ p *old_vec@13 p &dummy q r 444444444444 44444444444 -b human_readable +b human_readable r n q @@ -166,7 +185,7 @@ p b r 343434343 343434343 c q -b posixtime +b posixtime r n s @@ -187,7 +206,7 @@ q complete b user complete b user complete b pars -b parse_user_spec +b parse_user_spec r a.b n n @@ -291,7 +310,7 @@ p allocated n 20 n complete p alloca -p allocated +p allocated p length n p maxlen @@ -303,7 +322,7 @@ n p result q complete b vasnp -b vasnprintf +b vasnprintf r n 30 n diff --git a/lib/ChangeLog b/lib/ChangeLog index 00c19a3c7..56e7a4adf 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,18 @@ +2006-08-17 Paul Eggert <eggert@cs.ucla.edu> + + * ChangeLog: Add copyright notice. + * .gdb-history: Likewise. + * TODO: Likewise. + * __fpending.h: Likewise. + * fdopendir-glibc.c: Likewise. + * fprintftime.h: Likewise. + * root-dev-ino.h: Likewise. + * search_.h: Likewise. + * t-chdir-long: Likewise. + * t-fpending.c: Likewise. + * savedir.c: Use (C) in copyright notice. + * savedir.h: Likewise. + 2006-08-16 Paul Eggert <eggert@cs.ucla.edu> * memcoll.c (memcoll): Set errno = 0 in the shortcut case, too. @@ -8465,3 +8480,13 @@ * quotearg.c (quotearg_buffer_restyled): Do not quote alert, backslash, formfeed, and vertical tab unnecessarily in shell quoting style. + + + ----- + + Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free + Software Foundation, Inc. + + Copying and distribution of this file, with or without + modification, are permitted provided the copyright notice + and this notice are preserved. @@ -30,3 +30,11 @@ Mention fragmentation. assert (bucket_limit - bucket == n_buckets) ? remove.c: s/done/successful or ok + + +----- +Copyright (C) 1998 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without +modification, are permitted provided the copyright notice +and this notice are preserved. diff --git a/lib/__fpending.h b/lib/__fpending.h index 36a842ed5..3c9be1e08 100644 --- a/lib/__fpending.h +++ b/lib/__fpending.h @@ -1,3 +1,23 @@ +/* Declare __fpending. + + Copyright (C) 2000, 2003, 2005 Free Software Foundation, Inc. + + This program 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. + + This program 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 this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + Written by Jim Meyering. */ + #include <stddef.h> #include <stdio.h> diff --git a/lib/fdopendir-glibc.c b/lib/fdopendir-glibc.c index 6b66a6f2a..6598dc227 100644 --- a/lib/fdopendir-glibc.c +++ b/lib/fdopendir-glibc.c @@ -1,3 +1,21 @@ +/* fdopendir implementation derived from glibc. + + Copyright (C) 2006 Free Software Foundation, Inc. + + This program 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. + + This program 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 this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + #ifdef HAVE_CONFIG_H # include <config.h> #endif diff --git a/lib/fprintftime.h b/lib/fprintftime.h index 38fef43f1..e0be5cded 100644 --- a/lib/fprintftime.h +++ b/lib/fprintftime.h @@ -1,3 +1,21 @@ +/* Generate time strings directly to the output. */ + +/* Copyright (C) 2005 Free Software Foundation, Inc. + + This program 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. + + This program 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 this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + #include <stdio.h> #include <time.h> diff --git a/lib/root-dev-ino.h b/lib/root-dev-ino.h index e9eba06b9..ad38f7635 100644 --- a/lib/root-dev-ino.h +++ b/lib/root-dev-ino.h @@ -1,3 +1,21 @@ +/* Root device and inode number checking. + + Copyright (C) 2003, 2006 Free Software Foundation, Inc. + + This program 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. + + This program 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 this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + #ifndef ROOT_DEV_INO_H # define ROOT_DEV_INO_H 1 diff --git a/lib/savedir.c b/lib/savedir.c index 4b0702480..3c442aa6e 100644 --- a/lib/savedir.c +++ b/lib/savedir.c @@ -1,7 +1,7 @@ /* savedir.c -- save the list of files in a directory in a string - Copyright 1990, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 Free - Software Foundation, Inc. + Copyright (C) 1990, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, + 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/lib/savedir.h b/lib/savedir.h index 7809d2392..5b7bef971 100644 --- a/lib/savedir.h +++ b/lib/savedir.h @@ -1,6 +1,6 @@ /* Save the list of files in a directory in a string. - Copyright 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. + Copyright (C) 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/lib/search_.h b/lib/search_.h index 78e3980ec..802b25d79 100644 --- a/lib/search_.h +++ b/lib/search_.h @@ -1,3 +1,22 @@ +/* Tree search. + + Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2003 Free + Software Foundation, Inc. + + This program 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. + + This program 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 this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + /* For use with hsearch(3). */ #ifndef __COMPAR_FN_T # define __COMPAR_FN_T diff --git a/lib/t-chdir-long b/lib/t-chdir-long index 1f9a83cfb..37dd7181a 100755 --- a/lib/t-chdir-long +++ b/lib/t-chdir-long @@ -1,5 +1,24 @@ #!/bin/sh # Exercise chdir-long's sample main program. + +# Copyright (C) 2005 Free Software Foundation, Inc. + +# This program 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 of the License, or +# (at your option) any later version. + +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + + # FIXME: add traps and choose top level names so that # temporary directories are easier to remove. # FIXME: don't clobber a.out diff --git a/lib/t-fpending.c b/lib/t-fpending.c index 10335cdd0..74ecae1bd 100644 --- a/lib/t-fpending.c +++ b/lib/t-fpending.c @@ -1,4 +1,22 @@ -/* Ensure that __fpending works. */ +/* Ensure that __fpending works. + + Copyright (C) 2004 Free Software Foundation, Inc. + + This program 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. + + This program 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 this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + Written by Jim Meyering. */ #include <config.h> #include <stdio.h> |