comparison dmd/module.c @ 597:8cc0c46064b1

Fix path handling, hopefully.
author Christian Kamm <kamm incasoftware de>
date Sun, 14 Sep 2008 22:08:39 +0200
parents bbfb66c623e7
children 13ff06605226
comparison
equal deleted inserted replaced
596:1add138c9ba4 597:8cc0c46064b1
156 argobj = FileName::combine(path, argobj); 156 argobj = FileName::combine(path, argobj);
157 } 157 }
158 158
159 FileName::ensurePathExists(FileName::path(argobj)); 159 FileName::ensurePathExists(FileName::path(argobj));
160 160
161 if (global.params.objname) 161 if (forcename)
162 return new File(argobj); 162 return new File(argobj);
163 else 163 else
164 return new File(FileName::forceExt(argobj, ext)); 164 return new File(FileName::forceExt(argobj, ext));
165 } 165 }
166 166