summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-12-26 13:12:44 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-12-26 13:16:54 +0100
commit20189146be79a0596543441fa369c6bf7f85103f (patch)
tree0e17232830618919d800925bb0bc6ef966ea53dd /embed.fnc
parente7049783a827d931f30447582253605eb3b93210 (diff)
downloadperl-20189146be79a0596543441fa369c6bf7f85103f.tar.gz
Better fix for bug #6665
Add a parameter to S_incpush to indicate if the new directory should be appended or prepended to @INC, and use it set to TRUE when parsing the shebang line. There is also a better version of the test. This replaces commit ccb8f6a64f3dd06b4360bc27c194b28e6766a6ad.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 9b2a2ad134..59a99ea480 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1471,7 +1471,7 @@ s |void |Slab_to_rw |NN void *op
#if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT)
s |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
s |void |forbid_setid |const char flag|const bool suidscript
-s |void |incpush |NULLOK const char *dir|bool addsubdirs|bool addoldvers|bool usesep|bool canrelocate
+s |void |incpush |NULLOK const char *dir|bool addsubdirs|bool addoldvers|bool usesep|bool canrelocate|bool unshift
s |void |init_interp
s |void |init_ids
s |void |init_main_stash