mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Correct misspellings
This commit is contained in:
parent
239bbf542f
commit
19cfe9b15c
8 changed files with 10 additions and 10 deletions
|
|
@ -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
4
deps/yopt.h
vendored
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 >
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 ||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue