Mercurial > projects > ldc
comparison dmd/man.c @ 1103:b30fe7e1dbb9
- Updated to DMD frontend 1.041.
- Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 12 Mar 2009 20:37:27 +0100 |
parents | c57e71c5586f |
children |
comparison
equal
deleted
inserted
replaced
1102:ae950bd712d3 | 1103:b30fe7e1dbb9 |
---|---|
1 | 1 |
2 // Compiler implementation of the D programming language | 2 // Compiler implementation of the D programming language |
3 // Copyright (c) 2008-2008 by Digital Mars | 3 // Copyright (c) 2008-2009 by Digital Mars |
4 // All Rights Reserved | 4 // All Rights Reserved |
5 // written by Walter Bright | 5 // written by Walter Bright |
6 // http://www.digitalmars.com | 6 // http://www.digitalmars.com |
7 // License for redistribution is by either the Artistic License | 7 // License for redistribution is by either the Artistic License |
8 // in artistic.txt, or the GNU General Public License in gnu.txt. | 8 // in artistic.txt, or the GNU General Public License in gnu.txt. |
39 | 39 |
40 char *browser = getenv("BROWSER"); | 40 char *browser = getenv("BROWSER"); |
41 if (browser) | 41 if (browser) |
42 browser = strdup(browser); | 42 browser = strdup(browser); |
43 else | 43 else |
44 browser = "firefox"; | 44 browser = "x-www-browser"; |
45 | 45 |
46 args[0] = browser; | 46 args[0] = browser; |
47 args[1] = url; | 47 args[1] = url; |
48 args[2] = NULL; | 48 args[2] = NULL; |
49 | 49 |
96 } | 96 } |
97 | 97 |
98 #endif | 98 #endif |
99 | 99 |
100 | 100 |
101 #if __FreeBSD__ | |
102 #endif |