Correct misspellings

This commit is contained in:
Christian Göttsche 2020-05-30 19:26:00 +02:00
parent 239bbf542f
commit 19cfe9b15c
8 changed files with 10 additions and 10 deletions

View file

@ -77,7 +77,7 @@
- Count the size of a hard linked file once for each directory it appears in
- Fixed crash on browsing dirs with a small window size (#2991787)
- Fixed buffer overflow when some directories can't be scanned (#2981704)
- Fixed segfault when launched on a nonexistant directory (#3012787)
- Fixed segfault when launched on a nonexistent directory (#3012787)
- Fixed segfault when root dir only contains hidden files
- Improved browsing performance
- More intuitive multi-page browsing

4
deps/yopt.h vendored
View file

@ -35,7 +35,7 @@
* "-f<arg>"
* "-zf <arg>"
* "-zf<arg>"
* "--" (To stop looking for futher options)
* "--" (To stop looking for further options)
* "<arg>" (Non-option arguments)
*
* Issues/non-features:
@ -62,7 +62,7 @@ typedef struct {
int needarg;
/* Name(s) of this option, prefixed with '-' or '--' and separated by a
* comma. E.g. "-z", "--gzip", "-z,--gzip".
* An option can have any number of aliasses.
* An option can have any number of aliases.
*/
const char *name;
} yopt_opt_t;

View file

@ -315,7 +315,7 @@ correct.
=item <
File or directory is excluded from the statistics by using exlude patterns.
File or directory is excluded from the statistics by using exclude patterns.
=item >

View file

@ -61,7 +61,7 @@ struct dir_output {
*
* The *item struct has the following fields set when item() is called:
* size, asize, ino, dev, flags (only DIR,FILE,ERR,OTHFS,EXL,HLNKC).
* All other fields/flags should be initialzed to NULL or 0.
* All other fields/flags should be initialized to NULL or 0.
* The name and dir_ext fields are given separately.
* All pointers may be overwritten or freed in subsequent calls, so this
* function should make a copy if necessary.

View file

@ -60,7 +60,7 @@ static struct dir_ext buf_ext[1];
#if HAVE_LINUX_MAGIC_H && HAVE_SYS_STATFS_H && HAVE_STATFS
int exclude_kernfs; /* Exlude Linux pseudo filesystems */
int exclude_kernfs; /* Exclude Linux pseudo filesystems */
static int is_kernfs(unsigned long type) {
if(type == BINFMTFS_MAGIC ||

View file

@ -47,7 +47,7 @@ int confirm_quit = 0;
static int min_rows = 17, min_cols = 60;
static int ncurses_init = 0;
static int ncurses_tty = 0; /* Explicitely open /dev/tty instead of using stdio */
static int ncurses_tty = 0; /* Explicitly open /dev/tty instead of using stdio */
static long lastupdate = 999;

View file

@ -30,7 +30,7 @@
- path_real uses chdir(), so it's not thread safe
- Process requires +x access for all directory components
- Potentionally slow
- path_real doesn't check for the existance of the last component
- path_real doesn't check for the existence of the last component
- cwd is unreliable after path_real
*/

View file

@ -109,7 +109,7 @@ char *fullsize(int64_t from) {
} while((n /= 10) > 0);
tmp[i] = '\0';
/* reverse and add thousand seperators */
/* reverse and add thousand separators */
j = 0;
while(i--) {
dat[j++] = tmp[i];
@ -288,7 +288,7 @@ static void freedir_hlnk(struct dir *d) {
/* remove size from parents.
* This works the same as with adding: only the parents in which THIS is the
* only occurence of the hard link will be modified, if the same file still
* only occurrence of the hard link will be modified, if the same file still
* exists within the parent it shouldn't get removed from the count.
* XXX: Same note as for dir_mem.c / hlink_check():
* this is probably not the most efficient algorithm */