Skip to content

Commit

Permalink
Merge pull request #1872 from N-R-K/manpage_sort
Browse files Browse the repository at this point in the history
clarify au and du in manpage
  • Loading branch information
jarun authored Apr 24, 2024
2 parents ad04944 + e60be2e commit d61c983
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nnn.1
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ supports the following options:
.Pp
.Fl "T key"
sort order
keys: 'a'u / 'd'u / 'e'xtension / 'r'everse / 's'ize / 't'ime / 'v'ersion
keys: 'a'pparent disk usage / 'd'isk usage / 'e'xtension / 'r'everse / 's'ize / 't'ime / 'v'ersion
capitalize to reverse (except 'r')
.Pp
.Fl u
Expand Down
3 changes: 3 additions & 0 deletions src/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ Checks: >
-readability-identifier-length,
-readability-isolate-declaration,
-readability-suspicious-call-argument,
-readability-avoid-nested-conditional-operator,
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
-bugprone-reserved-identifier,
-bugprone-switch-missing-default-case,
-bugprone-inc-dec-in-conditions,
-bugprone-multi-level-implicit-pointer-conversion
WarningsAsErrors: '*'
HeaderFilterRegex: '.*(?<!lookup3.c)$'
Expand Down
2 changes: 1 addition & 1 deletion src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ static bool test_set_bit(uint_t nr)
nr &= HASH_BITS;

pthread_mutex_lock(&hardlink_mutex);
ullong_t *m = ((ullong_t *)ihashbmp) + (nr >> 6);
ullong_t *m = ihashbmp + (nr >> 6);

if (*m & (1 << (nr & 63))) {
pthread_mutex_unlock(&hardlink_mutex);
Expand Down

0 comments on commit d61c983

Please sign in to comment.