Commit bd7af372 authored by Bernhard Link's avatar Bernhard Link

fix some spelling mistakes

parent ae2623e6
......@@ -155,7 +155,7 @@
2012-07-11
* fix bug in checking old unchanged {Packages/Sources}.bz2
files for existance. (Triggering even an assertion when
files for existence. (Triggering even an assertion when
only .bz2 index files are requested).
* ignore diff comments about unterminated lines
when parsing .diff files
......@@ -1320,7 +1320,7 @@
2007-06-11 Bernhard R. Link <brlink@debian.org>
* detect "false" and "no" as false in boolean headers.
(Until now only existance was tested and considered as
(Until now only existence was tested and considered as
true, which broke apt-methods telling "Send-Config: false")
2007-06-10 Bernhard R. Link <brlink@debian.org>
......
......@@ -556,7 +556,7 @@ retvalue binaries_readdeb(struct deb_headers *deb, const char *filename, bool ne
return RET_ERROR_OOM;
}
/* normaly there, but optional: */
/* normally there, but optional: */
r = getvalue_n(deb->control, PRIORITY_FIELDNAME, &deb->priority);
if (RET_WAS_ERROR(r))
......
......@@ -745,7 +745,7 @@ const char *chunk_over(const char *e) {
return e;
}
/* this is a bit wastefull, as with normaly perfect formated input, it just
/* this is a bit wastefull, as with normally perfect formated input, it just
* writes everything to itself in a inefficent way. But when there are \r
* in it or spaces before it or stuff like that, it will be in perfect
* form afterwards. */
......
......@@ -200,7 +200,7 @@ static retvalue list_prepareadd(struct package_list *list, struct target *target
const struct checksums *checksums = new->origfiles.checksums[i];
r = files_canadd(newfilekey, checksums);
/* normaly it should just already have that file,
/* normally it should just already have that file,
* in which case we have nothing to do: */
if (r == RET_NOTHING)
continue;
......
......@@ -111,7 +111,7 @@ static retvalue database_lock(size_t waitforlock) {
unsigned int timetosleep = 10;
if (verbose >= 0)
printf(
"Could not aquire lock: %s already exists!\nWaiting 10 seconds before trying again.\n",
"Could not acquire lock: %s already exists!\nWaiting 10 seconds before trying again.\n",
lockfile);
while (timetosleep > 0)
timetosleep = sleep(timetosleep);
......@@ -1781,7 +1781,7 @@ retvalue database_opentracking(const char *codename, bool readonly, struct table
}
if (rdb_trackingdatabaseopen) {
(void)fputs(
"Internal Error: Trying to open multiple tracking databases at the same time.\nThis should normaly not happen (to avoid triggering bugs in the underlying BerkeleyDB)\n",
"Internal Error: Trying to open multiple tracking databases at the same time.\nThis should normally not happen (to avoid triggering bugs in the underlying BerkeleyDB)\n",
stderr);
return RET_ERROR;
}
......@@ -1810,7 +1810,7 @@ retvalue database_openpackages(const char *identifier, bool readonly, struct tab
if (rdb_packagesdatabaseopen) {
(void)fputs(
"Internal Error: Trying to open multiple packages databases at the same time.\n"
"This should normaly not happen (to avoid triggering bugs in the underlying BerkeleyDB)\n",
"This should normally not happen (to avoid triggering bugs in the underlying BerkeleyDB)\n",
stderr);
return RET_ERROR;
}
......@@ -2298,7 +2298,7 @@ retvalue database_translate_legacy_checksums(bool verbosedb) {
e = deletefile(fullfilename);
if (e != 0) {
fprintf(stderr, "Could not delete '%s'!\n"
"It can now savely be deleted and it all that is left to be done!\n",
"It can now safely be deleted and it all that is left to be done!\n",
fullfilename);
database_free();
return RET_ERRNO(e);
......
......@@ -107,7 +107,7 @@ retvalue dir_create_needed(const char *directory, int *createddepth) {
} else if (e == EEXIST) {
free(this);
break;
/* normaly ENOENT should be the only problem,
/* normally ENOENT should be the only problem,
* but check the others to be nice to annoying filesystems */
} else if (e != ENOENT && e != EACCES && e != EPERM) {
fprintf(stderr,
......
......@@ -1431,7 +1431,7 @@ type of problems.
</dd>
<dt>libarchive</dt><dd>
The <tt class="suffix">.tar</tt> files within <tt class="suffix">.deb</tt>
files are normaly (unless that library was
files are normally (unless that library was
not available while compiling) read using libarchive.
This happens when a <tt class="suffix">.deb</tt> file is to be added
(though only after deciding if it should be added, so if it does not have
......
......@@ -238,7 +238,7 @@ If nothing was done, return with exitcode 1 instead of the usual 0.
Note that "nothing was done" means the primary purpose of the action
in question.
Auxillary actions (opening and closeing the database, exporting missing
Auxilary actions (opening and closeing the database, exporting missing
files with \-\-export=lookedat, ...) usually do not count.
Also note that this is not very well tested.
If you find an action that claims to have done something in some cases
......@@ -331,7 +331,7 @@ Take a look at
to be sure.
This option in the command line is usually not very useful, as it is possible
to set the environment variable directly.
Its main reason for existance is that it can be used in \fIconf\fP\fB/options\fP.
Its main reason for existence is that it can be used in \fIconf\fP\fB/options\fP.
.TP
.BI \-\-gunzip " gz-uncompressor"
While reprepro links against \fBlibz\fP, it will look for the program given
......@@ -959,7 +959,7 @@ of the given architecture built from that version of the source,
without a \fB.changes\fP or \fB.log\fP file for the given architecture,
with an Architecture field including \fBany\fP, \fIos\fP\fB-any\fP (with
\fIos\fP being the part before the hyphen in the architecture or \fBlinux\fP
if there is no hypen) or the architecture and
if there is no hyphen) or the architecture and
at least one package in the Binary field not yet available.
If instead of \fIarchitecture\fP the term \fBany\fP is used,
......@@ -2296,7 +2296,7 @@ enough to have checked the code of your libs, kernel and filesystems.
.B ignore \fR(for forward compatibility)
Ignore unknown ignore types given to \fI\-\-ignore\fP.
.TP
.B flatandnonflat \fR(only supresses a warning)
.B flatandnonflat \fR(only suppresses a warning)
Do not warn about a flat and a non-flat distribution from the same
source with the same name when updating.
(Hopefully never ever needed.)
......
......@@ -85,7 +85,7 @@ static retvalue device_find_or_create(struct devices *devices, dev_t id, const c
if (ret != 0) {
int e = errno;
fprintf(stderr,
"Error judging free space for the fileystem '%s' belongs to: %d=%s\n"
"Error judging free space for the filesystem '%s' belongs to: %d=%s\n"
"(Take a look at --spacecheck in the manpage on how to modify checking.)\n",
dirname, e, strerror(e));
return RET_ERRNO(e);
......@@ -202,7 +202,7 @@ retvalue space_check(struct devices *devices) {
if (ret != 0) {
int e = errno;
fprintf(stderr,
"Error judging free space for the fileystem '%s' belongs to: %d=%s\n"
"Error judging free space for the filesystem '%s' belongs to: %d=%s\n"
"(As this worked before in this run, something must have changed strangely)\n",
device->somepath,
e, strerror(e));
......
......@@ -1080,7 +1080,7 @@ void logger_log(struct logger *log, struct target *target, const char *name, con
assert (control != NULL || oldcontrol != NULL);
assert (version != NULL || control == NULL);
/* so that a replacement can be detected by existance of oldversion */
/* so that a replacement can be detected by existence of oldversion */
if (oldcontrol != NULL && oldversion == NULL)
oldversion = "#unparseable#";
......
......@@ -134,7 +134,7 @@ static bool verbosedatabase = false;
static enum spacecheckmode spacecheckmode = scm_FULL;
/* default: 100 MB for database to grow */
static off_t reserveddbspace = 1024*1024*100
/* 1MB safety margin for other fileystems */;
/* 1MB safety margin for other filesystems */;
static off_t reservedotherspace = 1024*1024;
/* define for each config value an owner, and only higher owners are allowed
......
......@@ -60,7 +60,7 @@ retvalue readtextfilefd(int fd, const char *source, char **data, size_t *len) {
while ((readbytes = read(fd, buffer + readdata, buffersize-readdata))
> 0) {
/* text files are normaly small, so it does not hurt to check
/* text files are normally small, so it does not hurt to check
* the whole of them always */
if (isbinarydata(buffer + readdata, (size_t)readbytes, source)) {
free(buffer);
......
......@@ -1572,7 +1572,7 @@ retvalue release_prepare(struct release *release, struct distribution *distribut
{ "MD5Sum:\n", "SHA1:\n", "SHA256:\n" };
struct release_entry *plainentry, *signedentry, *detachedentry;
// TODO: check for existance of Release file here first?
// TODO: check for existence of Release file here first?
if (onlyifneeded && !release->new) {
return RET_NOTHING;
}
......
......@@ -25,7 +25,7 @@ struct dsc_headers {
char *name, *version;
char *control;
struct checksumsarray files;
/* normaly not in a .dsc file: */
/* normally not in a .dsc file: */
/*@null@*/ char *section, *priority;
};
......
......@@ -303,7 +303,7 @@ static void search_binary(/*@null@*/const char *setting, const char *default_pro
if (strcmp(setting, "NONE") == 0)
return;
/* look for the file, look in $PATH if not qualified,
* only check existance, if someone it putting files not executable
* only check existence, if someone it putting files not executable
* by us there it is their fault (as being executeable by us is hard
* to check) */
if (strchr(setting, '/') != NULL) {
......@@ -347,7 +347,7 @@ static void search_binary(/*@null@*/const char *setting, const char *default_pro
*program_p = program;
}
/* check for existance of external programs */
/* check for existence of external programs */
void uncompressions_check(const char *gunzip, const char *bunzip2, const char *unlzma, const char *unxz, const char *lunzip) {
search_binary(gunzip, "gunzip", &extern_uncompressors[c_gzip]);
search_binary(bunzip2, "bunzip2", &extern_uncompressors[c_bzip2]);
......
......@@ -62,7 +62,7 @@ retvalue uncompress_fdopen(/*@out@*/struct compressedfile **, int, off_t, enum c
/**** general initialisation ****/
/* check for existance of external programs */
/* check for existence of external programs */
void uncompressions_check(const char *gunzip, const char *bunzip2, const char *unlzma, const char *unxz, const char *lunzip);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment