aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2026-02-27 17:01:14 +0200
committerDylan Araps <dylan.araps@gmail.com>2026-02-27 17:01:14 +0200
commitfe3aeacd3466beba2c9e777e02d4dc70e0ba3a2b (patch)
tree9334bf9f3c662feabb6affe95e6c2ac394b0e8ef /config.h.in
parent4b3105d47a0a5fd1e208d06409b53178099b346a (diff)
doc: nit
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/config.h.in b/config.h.in
index c330b0f..ae75fd6 100644
--- a/config.h.in
+++ b/config.h.in
@@ -126,18 +126,7 @@
#define RL_MAX (1 << 13)
//
-// Reserve room before and after marks for command and extra arguments.
-// Marks are stored as an array of (char *) with the following layout:
-//
-// [DFM_MARK_CMD_PRE...][MARKS...][DFM_MARK_CMD_POST...][NULL]
-//
-// In order to run a command on marks dfm will simply write the caller's argv
-// into the free slots in DFM_MARK_CMD_PRE. Similarly, there is space after the
-// marks (DFM_MARK_CMD_PRE) where the caller can put arguments. Right now this
-// POST location is only used to append a path to some commands.
-//
-// After writing the caller's argv, the marks array is simply passed as-is to
-// exec. In other words, to call `rm -rf`, only two ptrs are copied
+// Room to reserve before and after marks for commands.
//
#define DFM_MARK_CMD_PRE 32
#define DFM_MARK_CMD_POST 16