exec maps will always match when users use amd with command line
args (not amd.conf). Using that legacy way, unfortunately, means
that Amd will use it's hard-coded info-service search path, which
doesn't work for everyone. It's much better to use amd.conf and
specify what you want exactly.
+2005-06-16 Erez Zadok <ezk@cs.sunysb.edu>
+
+ * amd/mapc.c (maptypes): move MAP_EXEC after MAP_FILE, because
+ exec maps will always match when users use amd with command line
+ args (not amd.conf). Using that legacy way, unfortunately, means
+ that Amd will use it's hard-coded info-service search path, which
+ doesn't work for everyone. It's much better to use amd.conf and
+ specify what you want exactly.
+
2005-06-15 Erez Zadok <ezk@cs.sunysb.edu>
* minor new port: i386-pc-linux-fc4 (gcc4 catches more bugs).
* SUCH DAMAGE.
*
*
- * $Id: mapc.c,v 1.27 2005/03/19 03:05:25 ezk Exp $
+ * $Id: mapc.c,v 1.28 2005/06/17 00:23:41 ezk Exp $
*
*/
MAPC_INC
},
#endif /* HAVE_MAP_NDBM */
-#ifdef HAVE_MAP_EXEC
- {
- "exec",
- exec_init,
- error_reload,
- NULL, /* isup function */
- exec_search,
- error_mtime,
- MAPC_INC
- },
-#endif /* HAVE_MAP_EXEC */
#ifdef HAVE_MAP_FILE
{
"file",
MAPC_ALL
},
#endif /* HAVE_MAP_FILE */
+#ifdef HAVE_MAP_EXEC
+ {
+ "exec",
+ exec_init,
+ error_reload,
+ NULL, /* isup function */
+ exec_search,
+ error_mtime,
+ MAPC_INC
+ },
+#endif /* HAVE_MAP_EXEC */
{
"error",
error_init,