URL:
<https://savannah.gnu.org/bugs/?61763>
Summary: [PATCH] glob: Do not use realloc wrapper on FreeBSD
Project: make
Submitted by: jrtc27
Submitted on: Tue 04 Jan 2022 03:44:02 PM UTC
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: SCM
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
FreeBSD's realloc, like any you're likely to encounter these days, is
totally fine for make's uses. The current my_realloc wrapper, by using
char * instead of void *, results in -Wincompatible-pointer-type warning
spew as, for example, it's passed char **'s, but only void * is treated
specially when it comes to warning about implicit conversions.
* lib/glob.c (my_realloc): Guard with !defined __FreeBSD__
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 04 Jan 2022 03:44:02 PM UTC Name:
0001-glob-Do-not-use-realloc-wrapper-on-FreeBSD.patch Size: 1KiB By: jrtc27
<http://savannah.gnu.org/bugs/download.php?file_id=52612>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61763>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/