www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22494] New: Search paths for dmd.conf missing from dmd man page

https://issues.dlang.org/show_bug.cgi?id=22494

          Issue ID: 22494
           Summary: Search paths for dmd.conf missing from dmd man page
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: snarwin+bugzilla gmail.com

The following comment in the DMD source lists the search paths used to locate
dmd.conf:

    /* Look for inifile in the following sequence of places:
     *      o current directory
     *      o home directory
     *      o exe directory (windows)
     *      o directory off of argv0
     *      o SYSCONFDIR=/etc (non-windows)
     */

However, the man page says that only /etc is searched.

--
Nov 08 2021