Skip to content

Commit

Permalink
Replace FreeBSD URL's with new HTTPS ones
Browse files Browse the repository at this point in the history
  • Loading branch information
rwp0 authored and khwilliamson committed Jan 11, 2023
1 parent 80474df commit 97fa06d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.freebsd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ When perl is configured to use ithreads, it will use re-entrant library calls
in preference to non-re-entrant versions. There is a bug in FreeBSD's
C<readdir_r> function in versions 4.5 and earlier that can cause a SEGV when
reading large directories. A patch for FreeBSD libc is available
(see L<http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/30631> )
(see L<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=30631>)
which has been integrated into FreeBSD 4.6.

=head2 C<$^X> doesn't always contain a full path in FreeBSD
Expand All @@ -29,7 +29,7 @@ system. On FreeBSD the full path of the perl interpreter is found by using
C<sysctl> with C<KERN_PROC_PATHNAME> if that is supported, else by reading
the symlink F</proc/curproc/file>. FreeBSD 7 and earlier has a bug where
either approach sometimes returns an incorrect value
(see L<http://www.freebsd.org/cgi/query-pr.cgi?pr=35703> ).
(see L<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=35703>).
In these cases perl will fall back to the old behaviour of using C's
C<argv[0]> value for C<$^X>.

Expand Down
2 changes: 1 addition & 1 deletion caretx.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Perl_set_caret_X(pTHX) {
returning the text "unknown" from the readlink rather than the path
to the executable (or returning an error from the readlink). Any
valid path has a '/' in it somewhere, so use that to validate the
result. See http://www.freebsd.org/cgi/query-pr.cgi?pr=35703
result. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=35703
*/
if (len > 0 && memchr(buf, '/', len)) {
sv_setpvn(caret_x, buf, len);
Expand Down

0 comments on commit 97fa06d

Please sign in to comment.