aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-22 03:13:55 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-22 03:13:55 +0530
commit48c14230a64798ed2e709149c494a1aa03212dd2 (patch)
tree935a2942a0c057c3474949303fab62a6cecf9b2e
parent0fec0f7ebbacfcbc56b7525690e477defaeba48e (diff)
downloadnnn-48c14230a64798ed2e709149c494a1aa03212dd2.tar.gz
Add file to the list of deps
-rw-r--r--README.md1
-rw-r--r--src/nnn.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index a95762e..b7c7781 100644
--- 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 |
diff --git a/src/nnn.c b/src/nnn.c
index 7c15bbb..4e0f6d3 100644
--- 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