* rt: Fix comments in <aliases.h>
@ 2020-10-06 20:37 Jonny Grant
2020-10-19 8:50 ` Florian Weimer via Libc-alpha
0 siblings, 1 reply; 2+ messages in thread
From: Jonny Grant @ 2020-10-06 20:37 UTC (permalink / raw)
To: libc-alpha
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
Hello
Removed the space in "data base" as it's always written as "database".
ChangeLog:
2020-10-06 Jonny Grant <jg@jguk.org>
* aliases.h: Fix comments.
[-- Attachment #2: aliases.h.patch --]
[-- Type: text/x-patch, Size: 1093 bytes --]
--- aliases.h.orig 2020-10-06 21:33:51.461055723 +0100
+++ aliases.h 2020-10-06 21:34:38.529434711 +0100
@@ -22,10 +22,9 @@
#include <sys/types.h>
-
__BEGIN_DECLS
-/* Structure to represent one entry of the alias data base. */
+/* Structure to represent one entry of the alias database. */
struct aliasent
{
char *alias_name;
@@ -35,16 +34,16 @@
};
-/* Open alias data base files. */
+/* Open alias database files. */
extern void setaliasent (void) __THROW;
-/* Close alias data base files. */
+/* Close alias database files. */
extern void endaliasent (void) __THROW;
-/* Get the next entry from the alias data base. */
+/* Get the next entry from the alias database. */
extern struct aliasent *getaliasent (void) __THROW;
-/* Get the next entry from the alias data base and put it in RESULT_BUF. */
+/* Get the next entry from the alias database and put it in RESULT_BUF. */
extern int getaliasent_r (struct aliasent *__restrict __result_buf,
char *__restrict __buffer, size_t __buflen,
struct aliasent **__restrict __result) __THROW;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rt: Fix comments in <aliases.h>
2020-10-06 20:37 rt: Fix comments in <aliases.h> Jonny Grant
@ 2020-10-19 8:50 ` Florian Weimer via Libc-alpha
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer via Libc-alpha @ 2020-10-19 8:50 UTC (permalink / raw)
To: Jonny Grant; +Cc: libc-alpha
* Jonny Grant:
> --- aliases.h.orig 2020-10-06 21:33:51.461055723 +0100
> +++ aliases.h 2020-10-06 21:34:38.529434711 +0100
> @@ -22,10 +22,9 @@
>
> #include <sys/types.h>
>
> -
> __BEGIN_DECLS
>
> -/* Structure to represent one entry of the alias data base. */
> +/* Structure to represent one entry of the alias database. */
> struct aliasent
> {
> char *alias_name;
> @@ -35,16 +34,16 @@
> };
>
>
> -/* Open alias data base files. */
> +/* Open alias database files. */
> extern void setaliasent (void) __THROW;
>
> -/* Close alias data base files. */
> +/* Close alias database files. */
> extern void endaliasent (void) __THROW;
>
> -/* Get the next entry from the alias data base. */
> +/* Get the next entry from the alias database. */
> extern struct aliasent *getaliasent (void) __THROW;
>
> -/* Get the next entry from the alias data base and put it in RESULT_BUF. */
> +/* Get the next entry from the alias database and put it in RESULT_BUF. */
> extern int getaliasent_r (struct aliasent *__restrict __result_buf,
> char *__restrict __buffer, size_t __buflen,
> struct aliasent **__restrict __result) __THROW;
Please send patches with the full path, so that they can be applied
using “git am”.
“rt” should refer to the subsystem (probably “inet” in this case).
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-19 8:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06 20:37 rt: Fix comments in <aliases.h> Jonny Grant
2020-10-19 8:50 ` Florian Weimer via Libc-alpha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).