From: Lasse Collin Date: Wed, 13 Mar 2024 19:30:18 +0000 (+0200) Subject: liblzma: Minor comment edits. X-Git-Tag: v5.7.1alpha~432 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3217b82b3ec023bf8338249134a076bea0ea30ec;p=thirdparty%2Fxz.git liblzma: Minor comment edits. --- diff --git a/src/liblzma/common/string_conversion.c b/src/liblzma/common/string_conversion.c index 370857f0..ae13ac46 100644 --- a/src/liblzma/common/string_conversion.c +++ b/src/liblzma/common/string_conversion.c @@ -217,8 +217,8 @@ typedef struct { uint16_t offset; union { -// NVHPC has problems with unions that contain pointers that are not the first -// members + // NVHPC has problems with unions that contain pointers that + // are not the first members, so keep "map" at the top. const name_value_map *map; struct { diff --git a/src/liblzma/delta/delta_decoder.c b/src/liblzma/delta/delta_decoder.c index 142fe6de..9f0d49ca 100644 --- a/src/liblzma/delta/delta_decoder.c +++ b/src/liblzma/delta/delta_decoder.c @@ -25,6 +25,8 @@ decode_buffer(lzma_delta_coder *coder, uint8_t *buffer, size_t size) } +// For an unknown reason NVIDIA HPC Compiler needs this pragma +// to produce working code. #ifdef __NVCOMPILER # pragma routine novector #endif