report a bug |  advanced search |  statistics |  developer log in/out
Request #38 CHECKFULLPATH could be made better
Submitted: 2012-05-30 20:40 UTC Modified: -
From: zigo at debian dot org Assigned:
Status: Open
Mlmmj Version: 1.2.18.0 OS: Debian
MTA: postfix MTA Version: N/A
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-05-30 20:40 UTC] zigo at debian dot org
Description:
------------
In Debian, I am still carrying this patch:

--- a/include/mlmmj.h    2012-01-22 15:36:11.000000000 +0800
+++ b/include/mlmmj.h    2012-01-22 15:36:16.000000000 +0800
@@ -88,7 +88,7 @@
  #define CHECKFULLPATH(name) if(strchr(name, '/') == NULL) { \
              fprintf(stderr, "All mlmmj binaries have to " \
                      "be invoked with full path,\n" \
-                    "e.g. /usr/local/bin/%s\n", name); \
+                    "e.g. /usr/bin/%s\n", name); \
              exit(EXIT_FAILURE); \
              }; 

It'd be nice to fix this and have MLMMJ a bit more dynamic... :)