Inverted sense of special-ness of specialCopIO - supposed to
authorNick Ing-Simmons <nik@tiuk.ti.com>
Mon, 14 Jan 2002 16:10:54 +0000 (16:10 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Mon, 14 Jan 2002 16:10:54 +0000 (16:10 +0000)
be true if value is "special" i.e. NOT an SV.

p4raw-id: //depot/perlio@14257

perlio.h

index b12539d..7d1bc39 100644 (file)
--- a/perlio.h
+++ b/perlio.h
@@ -149,7 +149,7 @@ extern void PerlIO_clone(pTHX_ PerlInterpreter *proto, CLONE_PARAMS *param);
 #endif                         /* ifndef PERLIO_NOT_STDIO */
 #endif                         /* PERLIO_IS_STDIO */
 
-#define specialCopIO(sv) ((sv) != Nullsv)
+#define specialCopIO(sv) ((sv) == Nullsv)
 
 /* ----------- fill in things that have not got #define'd  ---------- */