xz-analysis-mirror/src/xz
Lasse Collin 18a66fbac0 Remove incorrect uses of __attribute__((__malloc__)).
xrealloc() is obviously incorrect, modern GCC docs even
mention realloc() as an example where this attribute
cannot be used.

liblzma's lzma_alloc() and lzma_alloc_zero() would be
correct uses most of the time but custom allocators
may use a memory pool or otherwise hold the pointer
so aliasing issues could happen in theory.

The xstrdup() case likely was correct but I removed it anyway.
Now there are no __malloc__ attributes left in the code.
The allocations aren't in hot paths so this should make
no practical difference.
2023-09-22 20:06:27 +03:00
..
Makefile.am Build: Add support for translated man pages using po4a. 2020-02-07 15:32:21 +02:00
args.c xz: Make "%s: %s" translatable because French needs "%s : %s". 2023-07-18 17:34:18 +03:00
args.h xz: Update Authors list in a few files. 2023-07-18 00:51:48 +08:00
coder.c xz: Make "%s: %s" translatable because French needs "%s : %s". 2023-07-18 17:34:18 +03:00
coder.h xz: Update Authors list in a few files. 2023-07-18 00:51:48 +08:00
file_io.c MSVC: xz: Make file_io.c and file_io.h compatible with MSVC. 2023-09-22 20:00:38 +03:00
file_io.h MSVC: xz: Make file_io.c and file_io.h compatible with MSVC. 2023-09-22 20:00:38 +03:00
hardware.c Docs: Fix typos found by codespell 2023-07-31 20:02:21 +08:00
hardware.h xz: Add support --threads=+N so that -T+1 gives threaded mode. 2022-11-19 19:06:13 +02:00
list.c xz: Make "%s: %s" translatable because French needs "%s : %s". 2023-07-18 17:34:18 +03:00
list.h Add initial version of xz --list. 2010-01-24 23:50:54 +02:00
main.c xz: Initialize the pledge(2) sandbox at the very beginning of main(). 2022-11-08 13:43:19 +02:00
main.h Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
message.c MSVC: xz: Use _isatty() from <io.h> to implement isatty(). 2023-09-22 20:00:38 +03:00
message.h xz: Add a new --filters-help option. 2023-07-17 23:34:55 +08:00
mytime.c MSVC: xz: Use GetTickCount64() to implement mytime_now(). 2023-09-22 20:00:38 +03:00
mytime.h xz: Add SIGTSTP handler for progress indicator time keeping. 2023-01-27 19:37:47 +02:00
options.c Fix warnings from clang -Wdocumentation. 2023-01-12 03:11:40 +02:00
options.h Replace the experimental ARM64 filter with a new experimental version. 2022-11-14 23:16:38 +02:00
private.h MSVC: xz: Use _fileno() instead of fileno(). 2023-09-22 20:00:38 +03:00
signals.c xz: Add SIGTSTP handler for progress indicator time keeping. 2023-01-27 19:37:47 +02:00
signals.h Take Cygwin into account in some #if lines. 2010-05-27 14:32:51 +03:00
suffix.c MSVC: xz: Use _stricmp() instead of strcasecmp() in suffix.c. 2023-09-22 20:00:38 +03:00
suffix.h xz: Flip the return value of suffix_is_set to match the documentation. 2023-01-24 20:20:04 +08:00
util.c MSVC: xz: Use _isatty() from <io.h> to implement isatty(). 2023-09-22 20:00:38 +03:00
util.h Remove incorrect uses of __attribute__((__malloc__)). 2023-09-22 20:06:27 +03:00
xz.1 xz: Omit an empty paragraph on the man page. 2023-08-02 17:15:12 +03:00
xz_w32res.rc Added public domain notice into a few files. 2009-07-18 11:26:39 +03:00