www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5445] New: DMD does not look for ".dmd.conf" in HOME dir

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5445

           Summary: DMD does not look for ".dmd.conf" in HOME dir
           Product: D
           Version: 2.040
          Platform: All
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: sean invisibleduck.org



---
It's a popular convention to put user-specific config files in the HOME dir
prefixed by a dot (so they're hidden).  DMD doesn't recognize a dot-prefixed
dmd.conf file, and it would be nice if it did.  I've included a patch to check
for ".dmd.conf" in the HOME dir if "dmd.conf" doesn't exist.  I don't think
it's terribly important to do this secondary lookup in all locations because
the likelihood of having such a dot-prefixed file elsewhere is very small.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 11 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5445




---
Created an attachment (id=869)
check_dotfile.patch

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 11 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5445


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com
           Severity|normal                      |enhancement


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 11 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5445


Andrei Alexandrescu <andrei metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei metalanguage.com
         AssignedTo|nobody puremagic.com        |bugzilla digitalmars.com



15:42:54 PST ---
Yes please. This is an important "UI" issue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 11 2011