Add comment to remember to fix the semantics for $SMDEV - smdev - suckless mdev
(HTM) git clone git://git.suckless.org/smdev
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8c09bbb4f22f1a3616eb7518fc17b726bd422372
(DIR) parent fdc8d9bc59f0a945fe28932bdfbe73c4aa772362
(HTM) Author: sin <sin@2f30.org>
Date: Tue, 27 Aug 2013 09:47:09 +0100
Add comment to remember to fix the semantics for $SMDEV
Diffstat:
M smdev.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/smdev.c b/smdev.c
@@ -291,6 +291,8 @@ createdev(struct event *ev)
if (putenv(buf) < 0)
eprintf("putenv:");
+ /* XXX: should chdir to dirname(devpath) and set SMDEV
+ * to point to the actual device name */
runrulecmd(rule);
return 0;