]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:replace: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Thu, 6 Apr 2023 14:16:19 +0000 (16:16 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 11 Apr 2023 09:06:36 +0000 (09:06 +0000)
Best reviewed with: `git show --word-diff`.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
lib/replace/snprintf.c
lib/replace/strptime.c
lib/replace/system/wscript_configure
lib/replace/xattr.c

index de814af41641489ded350e3f2b1d36c728cc1200..dd878fca113f71871a99de7fabbe03130ec88f93 100644 (file)
@@ -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 <blong@fiction.net> 9/15/96 for mutt 0.43
@@ -77,7 +77,7 @@
  * Fix incorrect zpadlen handling in fmtfp.
  * Thanks to Ollie Oldham <ollie.oldham@metro-optix.com> 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
                                 */
index bbc742277ded5422bcf35e64bc237b58bb5c015d..56ea1e01903f82b538b5eb21f46eabd873d4d659 100644 (file)
@@ -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++);
index ecd9964b533ccf411a7b62a26816903358c501ce..b51d9179cc7059cb7a9ed3baccea359e0ba5dddb 100644 (file)
@@ -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')
index 1044942f4b9aec7759df36ec7f884c06a4bf1f50..6d014a83a73d228dfd4c5e7df9b136a9a629e2c9 100644 (file)
@@ -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.
 ****************************************************************************/