projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add Win32 makefile option to link all extensions statically
[p5sagit/p5-mst-13.2.git]
/
pp_ctl.c
diff --git
a/pp_ctl.c
b/pp_ctl.c
index
3d0c1d1
..
a09d44e
100644
(file)
--- a/
pp_ctl.c
+++ b/
pp_ctl.c
@@
-3307,7
+3307,7
@@
PP(pp_require)
|| (*name == ':' && name[1] != ':' && strchr(name+2, ':'))
#endif
) {
- const char *dir = SvPV_nolen_const(dirsv);
+ const char *dir = SvOK(dirsv) ? SvPV_nolen_const(dirsv) : "";
#ifdef MACOS_TRADITIONAL
char buf1[256];
char buf2[256];