]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Minor comment edits.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 13 Mar 2024 19:30:18 +0000 (21:30 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 15 Mar 2024 16:03:47 +0000 (18:03 +0200)
src/liblzma/common/string_conversion.c
src/liblzma/delta/delta_decoder.c

index 370857f01af2be9d029409ae672fc4ffb446f0e4..ae13ac46a83f982e2bd63eb169175a622b6aa2a3 100644 (file)
@@ -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 {
index 142fe6de88684e9cdbef22c5e66b63f8f5e74618..9f0d49ca415a4544be8a9054a9e7f5baed19e2e2 100644 (file)
@@ -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