From: Andreas Schneider Date: Thu, 6 Apr 2023 14:16:19 +0000 (+0200) Subject: lib:replace: Fix code spelling X-Git-Tag: talloc-2.4.1~978 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1209a7a15dc9a08071873d27946953558dfc15c;p=thirdparty%2Fsamba.git lib:replace: Fix code spelling Best reviewed with: `git show --word-diff`. Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton --- diff --git a/lib/replace/snprintf.c b/lib/replace/snprintf.c index de814af4164..dd878fca113 100644 --- a/lib/replace/snprintf.c +++ b/lib/replace/snprintf.c @@ -20,7 +20,7 @@ * for string length. This covers a nasty loophole. * * The other functions are there to prevent NULL pointers from - * causing nast effects. + * causing nasty effects. * * More Recently: * Brandon Long 9/15/96 for mutt 0.43 @@ -77,7 +77,7 @@ * Fix incorrect zpadlen handling in fmtfp. * Thanks to Ollie Oldham for spotting it. * few mods to make it easier to compile the tests. - * addedd the "Ollie" test to the floating point ones. + * added the "Ollie" test to the floating point ones. * * Martin Pool (mbp@samba.org) April 2003 * Remove NO_CONFIG_H so that the test case can be built within a source @@ -550,7 +550,7 @@ static int dopr(char *buffer, size_t maxlen, const char *format, va_list args_in } for (i = 1; i < clist[pnum].num; i++) { if (clist[pnum].chunks[0]->type != clist[pnum].chunks[i]->type) { - /* nooo noo no! + /* nooo no no! * all the references to a parameter * must be of the same type */ diff --git a/lib/replace/strptime.c b/lib/replace/strptime.c index bbc742277de..56ea1e01903 100644 --- a/lib/replace/strptime.c +++ b/lib/replace/strptime.c @@ -287,7 +287,7 @@ strptime_internal (rp, fmt, tm, decided, era_cnt) } /* Any character but `%' must be matched by the same character - in the iput string. */ + in the input string. */ if (*fmt != '%') { match_char (*fmt++, *rp++); diff --git a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure index ecd9964b533..b51d9179cc7 100644 --- a/lib/replace/system/wscript_configure +++ b/lib/replace/system/wscript_configure @@ -1,6 +1,6 @@ #!/usr/bin/env python -# solaris varients of getXXent_r +# solaris variants of getXXent_r conf.CHECK_C_PROTOTYPE('getpwent_r', 'struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)', define='SOLARIS_GETPWENT_R', headers='pwd.h') @@ -8,7 +8,7 @@ conf.CHECK_C_PROTOTYPE('getgrent_r', 'struct group *getgrent_r(struct group *src, char *buf, int buflen)', define='SOLARIS_GETGRENT_R', headers='grp.h') -# the irix varients +# the irix variants conf.CHECK_C_PROTOTYPE('getpwent_r', 'struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen)', define='SOLARIS_GETPWENT_R', headers='pwd.h') diff --git a/lib/replace/xattr.c b/lib/replace/xattr.c index 1044942f4b9..6d014a83a73 100644 --- a/lib/replace/xattr.c +++ b/lib/replace/xattr.c @@ -42,7 +42,7 @@ static int solaris_openat(int fildes, const char *path, int oflag, mode_t mode); #endif /************************************************************************** - Wrappers for extented attribute calls. Based on the Linux package with + Wrappers for extended attribute calls. Based on the Linux package with support for IRIX and (Net|Free)BSD also. Expand as other systems have them. ****************************************************************************/