[Rpm-maint] [rpm-software-management/rpm] More work on the Reference Manual (#1691)

Panu Matilainen notifications at github.com
Wed Jun 2 07:11:25 UTC 2021


@pmatilai commented on this pull request.



> +There are four unsigned integer types for RPM tags:
+
+* `int8`
+* `int16`
+* `int32`
+* `int64`
+
+`int8` and `int16` are rarely used. Most integer tags are `int32` with a few `int64` replacements where 32 bits were just not enough. These being unsigned limits time stamps to 1970-01-01 and later.
+
+Additionally there is a `char` datatype that is also only used once.
+
+There is a `bin` datatype for arbitrary data that is basically an `char` array.
+
+There are two string types: Plain `string` with is zero terminated and of arbitary length (within the header size restriction).
+
+`i18nstring`s are translated to the requested local when queried.

There are actually three different string types: string, which is always a single string, string array (which can obviously be of size 1 still) and i18nstring.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1691#pullrequestreview-673856332
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210602/6bd7d043/attachment.html>


More information about the Rpm-maint mailing list