Parent Directory
|
Revision Log
|
Patch
revision 447 by siliconforks, Sun Aug 9 16:21:27 2009 UTC | revision 475 by siliconforks, Sun Oct 4 06:05:17 2009 UTC | |
---|---|---|
# | Line 1240 | Line 1240 |
1240 | fatal_command_line("--port: option must be 16 bits"); | fatal_command_line("--port: option must be 16 bits"); |
1241 | } | } |
1242 | ||
1243 | /* check the document root exists and is a directory */ | |
1244 | struct stat buf; | |
1245 | xstat(document_root, &buf); | |
1246 | if (! S_ISDIR(buf.st_mode)) { | |
1247 | fatal_command_line("--document-root: option must be a directory"); | |
1248 | } | |
1249 | ||
1250 | /* is this a shutdown? */ | /* is this a shutdown? */ |
1251 | if (shutdown) { | if (shutdown) { |
1252 | #ifdef __MINGW32__ | #ifdef __MINGW32__ |
|
ViewVC Help | |
Powered by ViewVC 1.1.24 |