summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-21 15:03:03 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-21 17:09:11 +0000
commit64ace3f88f559d007c0150d9b048b1db32380208 (patch)
tree042e7da9dbe9f7d2a0291fe3763130f50198e559 /os2
parentcbfd0a879b2bf2ade4a309e6d56c08ba19f320e1 (diff)
downloadperl-64ace3f88f559d007c0150d9b048b1db32380208.tar.gz
Update the documentation of get_sv() to note that it calls Perl_gv_fetchpv(),
and hence the 'create' argument is actually 'flags'. Fix core code and documentation that used TRUE or FALSE to use 0 or GV_ADD.
Diffstat (limited to 'os2')
-rw-r--r--os2/os2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os2/os2.c b/os2/os2.c
index 4ebdd509a9..9448fdc717 100644
--- a/os2/os2.c
+++ b/os2/os2.c
@@ -2072,7 +2072,7 @@ os2error(int rc)
dTHX;
ULONG len;
char *s;
- int number = SvTRUE(get_sv("OS2::nsyserror", TRUE));
+ int number = SvTRUE(get_sv("OS2::nsyserror", GV_ADD));
if (!(_emx_env & 0x200)) return ""; /* Nop if not OS/2. */
if (rc == 0)