1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
Description: Fix typos
Author: R. Bernstein <rocky@gnu.org>
Last-Update: 2024-05-07
Origin: upstream, commit 3fd8b243170d72205825d747b6f9f91ebeee7781
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/src/cachetest.c b/src/cachetest.c
index a222009..177eba4 100644
--- a/src/cachetest.c
+++ b/src/cachetest.c
@@ -126,7 +126,7 @@ int analyze_cache(cdrom_drive_t *d, FILE *progress, FILE *log, int speed){
average transfer times; on slow setups, the speed of a drive
reading sectors via PIO will not be reliably distinguishable from
the same drive returning data from the cache via pio. We need
- something even more noticable and reliable: the seek time. It is
+ something even more noticeable and reliable: the seek time. It is
unlikely we'd ever see a seek latency of under ~10ms given the
synchronization requirements of a CD and the maximum possible
rotational velocity. A cache hit would always be faster, even
@@ -511,7 +511,7 @@ int analyze_cache(cdrom_drive_t *d, FILE *progress, FILE *log, int speed){
/* Some drives can lose sync and perform an internal resync,
which can also cause readahead to restart. If we see
- seek-like delays during the initial cahe load, retry the
+ seek-like delays during the initial cache load, retry the
preload. */
sofar += ret;
diff --git a/src/cd-paranoia.c b/src/cd-paranoia.c
index e0bf955..8194d9e 100644
--- a/src/cd-paranoia.c
+++ b/src/cd-paranoia.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2004-2012, 2014-2015, 2017 Rocky Bernstein <rocky@gnu.org>
+ Copyright (C) 2004-2012, 2014-2015, 2017, 2024 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2014 Robert Kausch <robert.kausch@freac.org>
Copyright (C) 1998 Monty <xiphmont@mit.edu>
@@ -1140,7 +1140,7 @@ main(int argc,char *argv[])
Note that if ripping includes the end of the CD and the
--force-overread option is specified, this program will attempt
to read partial sectors before or past the known user data area
- of the disc. The drive must suppport this or it will probably
+ of the disc. The drive must support this or it will probably
cause read errors on most drives and possibly even hard lockups
on some buggy hardware. If the --force-overread is not provided,
tracks will be padded with empty data rather than attempting to
@@ -1266,7 +1266,7 @@ main(int argc,char *argv[])
}
- /* Apply read sector offset to the first and last sector indicies.
+ /* Apply read sector offset to the first and last sector indices.
If the option has not been given to force overreading, do not offset
the last sector index beyond the last sector of the final track.
*/
@@ -1329,7 +1329,7 @@ main(int argc,char *argv[])
if (!strcmp(argv[optind+1],"-") ){
out = dup(fileno(stdout));
if(out==-1){
- report("Cannot dupplicate stdout: %s",
+ report("Cannot duplicate stdout: %s",
strerror(errno));
exit(1);
}
diff --git a/src/usage-copy.h b/src/usage-copy.h
index 7e2b500..a8494b8 100644
--- a/src/usage-copy.h
+++ b/src/usage-copy.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1999, 2005, 2008, 2009 Rocky Bernstein
+ Copyright (C) 1999, 2005, 2008, 2009, 2024 Rocky Bernstein
Copyright (C) 2014 Robert Kausch <robert.kausch@freac.org>
*/
@@ -25,7 +25,7 @@ const char usage_help[] =
" -V --version : print version info and quit\n"
" -Q --query : autosense drive, query disc and quit\n"
" -B --batch : 'batch' mode (saves each track to a\n"
-" seperate file.\n"
+" separate file.\n"
" -s --search-for-drive : do an exhaustive search for drive\n"
" -h --help : print help\n"
"\n"
@@ -107,7 +107,7 @@ const char usage_help[] =
"\n"
"When only a single offset is supplied, it is interpreted as a starting\n"
"offset and ripping will continue to the end of he track. If a single\n"
-"offset is preceeded or followed by a hyphen, the implicit missing\n"
+"offset is preceded or followed by a hyphen, the implicit missing\n"
"offset is taken to be the start or end of the disc, respectively. Thus:\n"
"\n"
" 1:[20.35] Specifies ripping from track 1, second 20, sector 35 to \n"
@@ -124,7 +124,7 @@ const char usage_help[] =
" 2-4 Specifies ripping from the beginning of track two to the\n"
" end of track 4.\n"
"\n"
-"Don't forget to protect square brackets and preceeding hyphens from\n"
+"Don't forget to protect square brackets and preceding hyphens from\n"
"the shell...\n"
"\n"
"A few examples, protected from the shell:\n"
@@ -132,7 +132,7 @@ const char usage_help[] =
" of autosense:\n"
" cd-paranoia -vsQ\n"
"\n"
-" B) extract up to and including track 3, putting each track in a seperate\n"
+" B) extract up to and including track 3, putting each track in a separate\n"
" file:\n"
" cd-paranoia -B -- \"-3\"\n"
"\n"
|