Thread (2 messages) 2 messages, 2 authors, 2019-08-01

Re: [PATCH] po: remove unnecessary/buggy positional parameter specifiers

From: Benno Schulenberg <hidden>
Date: 2019-08-01 10:26:23

Op 13-07-19 om 18:57 schreef Theodore Ts'o:
The strings in e2fsck/problem.c use a special %-expansion scheme,
where %b gets expanded to a block number, %i gets expanded to an inode
number, etc., where these values are in a problem context data
structure.  As such, there is no need to use a printf style positional
indicator (e.g., %2$s).  Indeed, the use of things like %1$i or %2$b
will cause the %-expansion code to just print %1$i or %2$b, instead of
the inode or block number, respectively.

Addresses-Debian-Bug: #892173
The proposed corrections have been applied by the translators to the Czech,
Dutch and German PO files, and manually by myself to the Vietnamese PO file .

Attached is a small patch to remove a superfluous no-c-format tag.

Benno

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help