From 0fbb85fdfc8903c1d9a1fece720f9240f69ac1d5 Mon Sep 17 00:00:00 2001 From: Yitzchak Scott-Thoennes Date: Wed, 28 Jun 2000 10:50:12 -0700 Subject: [PATCH] Re: [ID 20000628.006] POSIX::STRERR_FILENO typo Message-ID: p4raw-id: //depot/cfgperl@6265 --- ext/POSIX/POSIX.pm | 2 +- ext/POSIX/POSIX.pod | 2 +- ext/POSIX/POSIX.xs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/POSIX/POSIX.pm b/ext/POSIX/POSIX.pm index d4d9c33..252e5bb 100644 --- a/ext/POSIX/POSIX.pm +++ b/ext/POSIX/POSIX.pm @@ -893,7 +893,7 @@ sub load_imports { difftime mktime strftime tzset tzname)], unistd_h => [qw(F_OK NULL R_OK SEEK_CUR SEEK_END SEEK_SET - STRERR_FILENO STDIN_FILENO STDOUT_FILENO W_OK X_OK + STDERR_FILENO STDIN_FILENO STDOUT_FILENO W_OK X_OK _PC_CHOWN_RESTRICTED _PC_LINK_MAX _PC_MAX_CANON _PC_MAX_INPUT _PC_NAME_MAX _PC_NO_TRUNC _PC_PATH_MAX _PC_PIPE_BUF _PC_VDISABLE _POSIX_CHOWN_RESTRICTED diff --git a/ext/POSIX/POSIX.pod b/ext/POSIX/POSIX.pod index 08300e4..186d72e 100644 --- a/ext/POSIX/POSIX.pod +++ b/ext/POSIX/POSIX.pod @@ -1715,7 +1715,7 @@ CLK_TCK CLOCKS_PER_SEC =item Constants -R_OK SEEK_CUR SEEK_END SEEK_SET STDIN_FILENO STDOUT_FILENO STRERR_FILENO W_OK X_OK +R_OK SEEK_CUR SEEK_END SEEK_SET STDIN_FILENO STDOUT_FILENO STDERR_FILENO W_OK X_OK =back diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index c401527..b8b80d4 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -2306,9 +2306,9 @@ constant(char *name, int arg) #else goto not_there; #endif - if (strEQ(name, "STRERR_FILENO")) -#ifdef STRERR_FILENO - return STRERR_FILENO; + if (strEQ(name, "STDERR_FILENO")) +#ifdef STDERR_FILENO + return STDERR_FILENO; #else goto not_there; #endif -- 2.7.4