2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

797. [func] Issue a warning if the 'directory' option contains

a relative path. [RT #269]
This commit is contained in:
Brian Wellington
2001-03-29 02:33:48 +00:00
parent 9ffbbce6a6
commit 672056d560
4 changed files with 25 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: file.h,v 1.14 2001/01/09 21:56:54 bwelling Exp $ */
/* $Id: file.h,v 1.15 2001/03/29 02:33:47 bwelling Exp $ */
#ifndef ISC_FILE_H
#define ISC_FILE_H 1
@@ -171,6 +171,12 @@ isc_file_isabsolute(const char *filename);
* Return ISC_TRUE iff the given file name is absolute.
*/
isc_boolean_t
isc_file_iscurrentdir(const char *filename);
/*
* Return ISC_TRUE iff the given file name is the current directory (".").
*/
isc_result_t
isc_file_template(const char *path, const char *templet, char *buf,
size_t buflen);