[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61763] [PATCH] glob: Do not use realloc wrapper on FreeBSD
From: |
Jessica Clarke |
Subject: |
[bug #61763] [PATCH] glob: Do not use realloc wrapper on FreeBSD |
Date: |
Tue, 4 Jan 2022 10:44:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15 |
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/
- [bug #61763] [PATCH] glob: Do not use realloc wrapper on FreeBSD,
Jessica Clarke <=