]> Sergey Matveev's repositories - nnn.git/commitdiff
Add file to the list of deps
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 21 Nov 2018 21:43:55 +0000 (03:13 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 21 Nov 2018 21:43:55 +0000 (03:13 +0530)
README.md
src/nnn.c

index a95762e331d63c0036e46f002c858ac7d9b0dfee..b7c77815815d6daba9870e64ed9dfbfb08250102 100644 (file)
--- a/README.md
+++ b/README.md
@@ -316,6 +316,7 @@ The following indicators are used in the detail view:
 | External dependency | Operation |
 | --- | --- |
 | xdg-open (Linux), open(1) (OS X), cygstart (Cygwin) | desktop opener |
+| file | determine file type |
 | cp, mv, rm | copy, move and remove files |
 | mediainfo, exiftool | multimedia file details |
 | atool, patool ([integration](#integrate-patool)) | create, list and extract archives |
index 7c15bbb2a488af93c32c20bf1fb81917ecc3daad..4e0f6d37d5a6467045c396d866eec7cbfb7865fc 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -175,7 +175,7 @@ disabledbg()
 #define ENTRY_INCR 64 /* Number of dir 'entry' structures to allocate per shot */
 #define NAMEBUF_INCR 0x1000 /* 64 dir entries at a time, avg. 64 chars per filename = 64*64B = 4KB */
 #define DESCRIPTOR_LEN 32
-#define _ALIGNMENT 0x10
+#define _ALIGNMENT 0x10 /* 16-byte alignment */
 #define _ALIGNMENT_MASK 0xF
 #define SYMLINK_TO_DIR 0x1
 #define MAX_HOME_LEN 64