-
Notifications
You must be signed in to change notification settings - Fork 585
Split PV typemap into mutable and immutable #23150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: blead
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1578,10 +1578,10 @@ BOOT: | |
|
||
DB_File | ||
db_DoTie_(isHASH, dbtype, name=undef, flags=O_CREAT|O_RDWR, mode=0666, type=DB_HASH) | ||
int isHASH | ||
char * dbtype | ||
int flags | ||
int mode | ||
int isHASH | ||
const char * dbtype | ||
int flags | ||
int mode | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe rmv white space only changes on unrelated lines? makes future git blames confusing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The variables are aligned, I'm keeping that alignment here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved. |
||
CODE: | ||
{ | ||
char * name = (char *) NULL ; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ package Socket; | |
use v5.6.1; | ||
use strict; | ||
|
||
our $VERSION = '2.038'; | ||
our $VERSION = '2.039'; | ||
|
||
=head1 NAME | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -776,7 +776,7 @@ BOOT: | |
|
||
void | ||
inet_aton(host) | ||
char * host | ||
const char * host | ||
CODE: | ||
{ | ||
#ifdef HAS_GETADDRINFO | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ package DynaLoader; | |
# [email protected], August 1994 | ||
|
||
BEGIN { | ||
our $VERSION = '1.57'; | ||
our $VERSION = '1.58'; | ||
} | ||
|
||
# Note: in almost any other piece of code "our" would have been a better | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If byte_sv is magical this checks the flags before SvGETMAGIC().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, the original didn't force, and neither checks the length of
byte_sv
.It's hard to tell what the intent is, the only test calls with
undef
and it isn't documented.