summaryrefslogtreecommitdiff
path: root/symbian
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 /symbian
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 'symbian')
-rw-r--r--symbian/symbian_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbian/symbian_utils.cpp b/symbian/symbian_utils.cpp
index b3eee0b5e9..e6483ef24c 100644
--- a/symbian/symbian_utils.cpp
+++ b/symbian/symbian_utils.cpp
@@ -171,7 +171,7 @@ extern "C" {
} else {
buf8.Format(_L8("Symbian error %d"), error);
}
- SV* sv = Perl_get_sv(aTHX_ "\005", TRUE); /* $^E or ${^OS_ERROR} */
+ SV* sv = Perl_get_sv(aTHX_ "\005", GV_ADD); /* $^E or ${^OS_ERROR} */
if (!sv)
return (char*)NullErr;
sv_setpv(sv, (const char *)buf8.PtrZ());