no chroot() in Win32 API
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
||||
2483. [port] win32: chroot() is not supported. [RT #18805]
|
||||
|
||||
2482. [port] libxml2: support versions 2.7.* in addition
|
||||
to 2.6.*. [RT #18806]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: os.c,v 1.29 2008/10/24 01:24:54 marka Exp $ */
|
||||
/* $Id: os.c,v 1.30 2008/11/02 12:48:39 fdupont Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
#include <stdarg.h>
|
||||
@@ -155,6 +155,7 @@ ns_os_closedevnull(void) {
|
||||
|
||||
void
|
||||
ns_os_chroot(const char *root) {
|
||||
ns_main_earlyfatal("chroot(): isn't supported by Win32 API");
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -15,15 +15,10 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dir.c,v 1.14 2007/06/19 23:47:19 tbox Exp $ */
|
||||
/* $Id: dir.c,v 1.15 2008/11/02 12:48:39 fdupont Exp $ */
|
||||
|
||||
/* Principal Authors: DCL */
|
||||
|
||||
/*
|
||||
* isc_dir_chroot is currently stubbed out for Win32
|
||||
* This will need to be revisited
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <string.h>
|
||||
@@ -242,7 +237,7 @@ isc_dir_chdir(const char *dirname) {
|
||||
|
||||
isc_result_t
|
||||
isc_dir_chroot(const char *dirname) {
|
||||
return (ISC_R_SUCCESS);
|
||||
return (ISC_R_NOTIMPLEMENTED);
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
|
||||
Reference in New Issue
Block a user