]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
getopt: annotate files with relationship to gnulib.
authorZack Weinberg <zackw@panix.com>
Wed, 5 Apr 2017 15:04:35 +0000 (11:04 -0400)
committerZack Weinberg <zackw@panix.com>
Fri, 7 Apr 2017 11:53:37 +0000 (07:53 -0400)
As the final act in this patchset, adjust the "This file is part of
the GNU C Library" message at the top of each file to indicate which
files are synced with gnulib.

* posix/bits/getopt_core.h, posix/bits/getopt_ext.h
* posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
Mention in top-of-file boilerplate that these files are shared
with gnulib.
* posix/getopt.h, posix/bits/getopt_posix.h:
Mention in top-of-file boilerplate that these files are NOT shared
with gnulib, unlike the rest of the getopt implementation.

ChangeLog
posix/bits/getopt_core.h
posix/bits/getopt_ext.h
posix/bits/getopt_posix.h
posix/getopt.c
posix/getopt.h
posix/getopt1.c
posix/getopt_int.h

index 4637ffbc443007c7fcba9ce99e697e28964ea33b..fcd1cbd907f91ac08c1fef5d467c30499e5b7cf3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2017-04-07  Zack Weinberg  <zackw@panix.com>
 
+       * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
+       * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
+       Mention in top-of-file boilerplate that these files are shared
+       with gnulib.
+       * posix/getopt.h, posix/bits/getopt_posix.h:
+       Mention in top-of-file boilerplate that these files are NOT shared
+       with gnulib, unlike the rest of the getopt implementation.
+
        * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
        New files, intended to be shared with gnulib.
        * posix/bits/getopt_posix.h:
index 1e4dc25d779633d3424ff9ff84ed6b2b48fef93c..1744c29b74590045869a45d33af65fc87a7aa55d 100644 (file)
@@ -1,6 +1,7 @@
 /* Declarations for getopt (basic, portable features only).
    Copyright (C) 1989-2017 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
+   This file is part of the GNU C Library and is also part of gnulib.
+   Patches to this file should be submitted to both projects.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
index 2382f88fc1ff9fe570d60c8d90a9348705504a44..c1a58da8046727dffd96cd9c2415f0dac2a29caf 100644 (file)
@@ -1,6 +1,7 @@
 /* Declarations for getopt (GNU extensions).
    Copyright (C) 1989-2017 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
+   This file is part of the GNU C Library and is also part of gnulib.
+   Patches to this file should be submitted to both projects.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
index 9436bb920290c798622ca0ebccb26782ba53d2e6..f9f3265a205908709122c3043615687593804041 100644 (file)
@@ -1,6 +1,7 @@
 /* Declarations for getopt (POSIX compatibility shim).
    Copyright (C) 1989-2017 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
+   Unlike the bulk of the getopt implementation, this file is NOT part
+   of gnulib.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
index 6671787b6fc4d20bf9e94038c9e217b0c411abaf..543c8e7284d7247db1dbd00e15cbf6406f9a6f8b 100644 (file)
@@ -1,9 +1,7 @@
 /* Getopt for GNU.
-   NOTE: getopt is part of the C library, so if you don't know what
-   "Keep this file name-space clean" means, talk to drepper@gnu.org
-   before changing it!
    Copyright (C) 1987-2017 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
+   This file is part of the GNU C Library and is also part of gnulib.
+   Patches to this file should be submitted to both projects.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
index 2b638658e3cf39a06fcd734a93370bf63aeb8517..d9db3a6b4c529ec8ee94f740e97c902a564aa4da 100644 (file)
@@ -1,6 +1,8 @@
 /* Declarations for getopt.
    Copyright (C) 1989-2017 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
+   Unlike the bulk of the getopt implementation, this file is NOT part
+   of gnulib; gnulib also has a getopt.h but it is different.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
index b967d24f57be12cca2b8fff84854c838da80ddbd..a1fab2281746049a3451ab8f80c81afa3bade245 100644 (file)
@@ -1,6 +1,7 @@
 /* getopt_long and getopt_long_only entry points for GNU getopt.
    Copyright (C) 1987-2017 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
+   This file is part of the GNU C Library and is also part of gnulib.
+   Patches to this file should be submitted to both projects.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
index 6a029542ab1b42f5cf9331867e214b1520a18a58..9a18d5d4e68cea5638c7f75dc590cd71a536f9f6 100644 (file)
@@ -1,6 +1,7 @@
 /* Internal declarations for getopt.
    Copyright (C) 1989-2017 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
+   This file is part of the GNU C Library and is also part of gnulib.
+   Patches to this file should be submitted to both projects.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public