diff options
author | Derick Rethans <derick@php.net> | 2003-01-04 23:55:57 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2003-01-04 23:55:57 +0000 |
commit | e58c2212046efc84d02e89ffa80439d71497cbde (patch) | |
tree | 06e8846f47edb8320ac29c7f6e29be42d591b525 /ext | |
parent | 5f36ce398eae0798159bca147d455a936428e7df (diff) | |
download | php-git-e58c2212046efc84d02e89ffa80439d71497cbde.tar.gz |
- Change Warnings to Notices
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/filestat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index aa5e2ebda7..66522daff1 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -603,7 +603,7 @@ static void php_stat(const char *filename, php_stat_len filename_length, int typ #endif if (VCWD_STAT(BG(CurrentStatFile), &BG(sb)) == -1) { if (!IS_LINK_OPERATION(type) && (!IS_EXISTS_CHECK(type) || errno != ENOENT)) { /* fileexists() test must print no error */ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Stat failed for %s (errno=%d - %s)", BG(CurrentStatFile), errno, strerror(errno)); + php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Stat failed for %s (errno=%d - %s)", BG(CurrentStatFile), errno, strerror(errno)); } efree(BG(CurrentStatFile)); BG(CurrentStatFile) = NULL; @@ -618,7 +618,7 @@ static void php_stat(const char *filename, php_stat_len filename_length, int typ /* do lstat if the buffer is empty */ if (VCWD_LSTAT(filename, &BG(lsb)) == -1) { if (!IS_EXISTS_CHECK(type) || errno != ENOENT) { /* fileexists() test must print no error */ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Lstat failed for %s (errno=%d - %s)", BG(CurrentStatFile), errno, strerror(errno)); + php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Lstat failed for %s (errno=%d - %s)", BG(CurrentStatFile), errno, strerror(errno)); } RETURN_FALSE; } @@ -707,7 +707,7 @@ static void php_stat(const char *filename, php_stat_len filename_length, int typ case S_IFSOCK: RETURN_STRING("socket", 1); #endif } - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown file type (%d)", BG(sb).st_mode&S_IFMT); + php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unknown file type (%d)", BG(sb).st_mode&S_IFMT); RETURN_STRING("unknown", 1); case FS_IS_W: #ifndef NETWARE /* getuid is not available on NetWare */ |