]> granicus.if.org Git - file/commitdiff
spelling fixes (Ville Skytta)
authorChristos Zoulas <christos@zoulas.com>
Sun, 13 Aug 2017 00:21:47 +0000 (00:21 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 13 Aug 2017 00:21:47 +0000 (00:21 +0000)
ChangeLog
magic/Magdir/audio
magic/Magdir/console
magic/Magdir/database
magic/Magdir/icc
magic/Magdir/msdos
magic/Magdir/sendmail
src/readelf.c
src/readelf.h
src/vasprintf.c

index 7379d36b8cdba99129e9184897e8d903a0dfcea4..4c78adeb18fd3c0231bc6bdaec21b9a62b68d546 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
                `
 2013-11-06  14:40  Christos Zoulas <christos@zoulas.com>
 
-       * fix erroneous non-zero exit code from non-existant file and message
+       * fix erroneous non-zero exit code from non-existent file and message
 
 2013-10-29  14:25  Christos Zoulas <christos@zoulas.com>
 
index 2f1bca2a43c74555e2e95a0169702dd5b598b39a..0330bbfa80783cd9d4fe5786d1089510137b6bd2 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: audio,v 1.79 2017/03/17 22:20:22 christos Exp $
+# $File: audio,v 1.80 2017/08/13 00:21:47 christos Exp $
 # audio:  file(1) magic for sound formats (see also "iff")
 #
 # Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
 # second of release (0-59)
 >>9            ubyte           x       \b:%.2d
 # if you select a language like german on your garmin device
-# you can only select voice modules with correponding language byte ID like 1
+# you can only select voice modules with corresponding language byte ID like 1
 >>18           ubyte           x       \b, language ID %d
 # pointer to 1st audio WAV sample
 >>16           uleshort        >0
index fbfda7e0c5c7771bbc4cd2027548f98f67ac741c..66f5dbda294e2e31e945aff42ae605f0cb2483da 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: console,v 1.31 2017/06/11 22:26:46 christos Exp $
+# $File: console,v 1.32 2017/08/13 00:21:47 christos Exp $
 # Console game magic
 # Toby Deshane <hac@shoelace.digivill.net>
 
 
 # Type: Nintendo 3DS Homebrew Application.
 # From: David Korth <gerbilsoft@gerbilsoft.com>
-# Refernece: https://3dbrew.org/wiki/3DSX_Format
+# Reference: https://3dbrew.org/wiki/3DSX_Format
 0      string  3DSX    Nintendo 3DS Homebrew Application (3DSX)
 
 #------------------------------------------------------------------------------
index 385a280c2b9bc1db040306bb60a28e8a2b5f0cb0..a0300ae772ce73d2bd3cdad0e2bf020695424a2c 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: database,v 1.51 2017/04/28 16:28:16 christos Exp $
+# $File: database,v 1.52 2017/08/13 00:21:47 christos Exp $
 # database:  file(1) magic for various databases
 #
 # extracted from header/code files by Graeme Wilford (eep2gw@ee.surrey.ac.uk)
 >>>>>>>>>>>>>8         uleshort        >0              \b, at offset %d
 >>>>>>>>>>>>>(8.s+1)   ubyte           >0
 >>>>>>>>>>>>>>&-1      string          >\0             1st record "%s"
-# for multiple index files (*.MDX) Production flag,tag numbers(<=0x30),tag length(<=0x20), reserverd (NULL)
+# for multiple index files (*.MDX) Production flag,tag numbers(<=0x30),tag length(<=0x20), reserved (NULL)
 >>>>>>>24      ubelong&0x0133f7ff      >0
 # test for reserved NULL byte
 >>>>>>>>47     ubyte                   0
index 57a8fbcf0c623ff4136991eba1a8410ce0d560b3..55583b7b4f2622b1116d466f8b972319265f825d 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: icc,v 1.4 2017/03/17 22:20:22 christos Exp $
+# $File: icc,v 1.5 2017/08/13 00:21:47 christos Exp $
 # icc:  file(1) magic for International Color Consortium file formats
 
 #
@@ -48,7 +48,7 @@
 # 5th platform
 >>>40  string          TGNT            Taligent
 
-# remaing "l" "e" of "color profile" printed later to avoid error
+# remaining "l" "e" of "color profile" printed later to avoid error
 >>>40  string          x               color profi
 #>>>40 string          x               (%.4s)
 !:mime application/vnd.iccprofile
index ad857b51ede848613babc5250662141a349a667f..6eb12c215774c5dab58a3ff386a38112852d0022 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: msdos,v 1.119 2017/05/25 20:33:57 christos Exp $
+# $File: msdos,v 1.120 2017/08/13 00:21:47 christos Exp $
 # msdos:  file(1) magic for MS-DOS files
 #
 
 # Windows icons
 # Update: Joerg Jenderek
 # URL: https://en.wikipedia.org/wiki/CUR_(file_format)
-# Note: similiar to Windows CURsor. container for BMP (only DIB part) or PNG
+# Note: similar to Windows CURsor. container for BMP (only DIB part) or PNG
 0   belong  0x00000100
 >9  byte    0
 >>0 byte    x
 # Windows non-animated cursors
 # Update: Joerg Jenderek
 # URL: https://en.wikipedia.org/wiki/CUR_(file_format)
-# Note: similiar to Windows ICOn. container for BMP ( only DIB part)
+# Note: similar to Windows ICOn. container for BMP ( only DIB part)
 # GRR: line below is too general as it catches also Lotus 1-2-3 files
 0   belong  0x00000200
 >9  byte    0
index 3cfeda74303a14a1c079570d16d2f9ee90b2978e..840859c56232b696cc2cbea7032150c3021e04f2 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: sendmail,v 1.9 2017/03/17 21:35:28 christos Exp $
+# $File: sendmail,v 1.10 2017/08/13 00:21:47 christos Exp $
 # sendmail:  file(1) magic for sendmail config files
 #
 # XXX - byte order?
@@ -15,7 +15,7 @@
 # http://www.sendmail.com/sm/open_source/docs/older_release_notes/
 # freezed configuration file (dbm format?) created from sendmal.cf with -bz
 # by older sendmail. til version 8.6 support for frozen configuration files is removed
-# valid version numbers look like "7.14.4" and should be simliar to output of commands
+# valid version numbers look like "7.14.4" and should be similar to output of commands
 # "sendmail -d0 -bt < /dev/null |grep -i Version" or "egrep '^DZ' /etc/sendmail.cf"
 >16    regex/s =^[0-78][0-9.]{4}       Sendmail frozen configuration
 # normally only /etc/sendmail.fc or /var/adm/sendmail/sendmail.fc
index c6b10f9a9621b09155ddb9bd014a092499b49a62..814518272de4301c2cada21362074c093e1b1370 100644 (file)
@@ -27,7 +27,7 @@
 #include "file.h"
 
 #ifndef lint
-FILE_RCSID("@(#)$File: readelf.c,v 1.136 2017/03/29 19:09:52 christos Exp $")
+FILE_RCSID("@(#)$File: readelf.c,v 1.137 2017/08/13 00:21:47 christos Exp $")
 #endif
 
 #ifdef BUILTIN_ELF
@@ -1209,8 +1209,8 @@ doshn(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num,
        size_t nbadcap = 0;
        void *nbuf;
        off_t noff, coff, name_off;
-       uint64_t cap_hw1 = 0;   /* SunOS 5.x hardware capabilites */
-       uint64_t cap_sf1 = 0;   /* SunOS 5.x software capabilites */
+       uint64_t cap_hw1 = 0;   /* SunOS 5.x hardware capabilities */
+       uint64_t cap_sf1 = 0;   /* SunOS 5.x software capabilities */
        char name[50];
        ssize_t namesize;
 
index a25dab2c1e3239cb50f9f39ccf223a35d591aee2..ef880b9cbe22726735de875dca01da63b52f7ba6 100644 (file)
@@ -141,7 +141,7 @@ typedef struct {
 #define        SHT_SYMTAB      2
 #define        SHT_NOTE        7
 #define        SHT_DYNSYM      11
-#define        SHT_SUNW_cap    0x6ffffff5      /* SunOS 5.x hw/sw capabilites */
+#define        SHT_SUNW_cap    0x6ffffff5      /* SunOS 5.x hw/sw capabilities */
 
 /* elf type */
 #define        ELFDATANONE     0               /* e_ident[EI_DATA] */
index cc795ec4f6040ab9f5add530ac584a6edbb27670..ad1d3165534dee5dd7f6cde272517fef6f1365cb 100644 (file)
@@ -88,7 +88,7 @@ type:  d i o u x X f e g E G c s p n
 
 
 The function needs to allocate memory to store the full text before to
-actually writting it.  i.e if you want to fnprintf() 1000 characters, the
+actually writing it.  i.e if you want to fnprintf() 1000 characters, the
 functions will allocate 1000 bytes.
 This behaviour can be modified: you have to customise the code to flush the
 internal buffer (writing to screen or file) when it reach a given size. Then
@@ -108,7 +108,7 @@ you use strange formats.
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: vasprintf.c,v 1.12 2014/05/14 23:09:21 christos Exp $")
+FILE_RCSID("@(#)$File: vasprintf.c,v 1.14 2017/08/13 00:21:47 christos Exp $")
 #endif /* lint */
 
 #include <assert.h>