[CRIU] [PATCH 1/3] criu: arch, x86 -- Rename registers mode

Cyrill Gorcunov gorcunov at gmail.com
Wed Jul 13 06:41:25 PDT 2016


On Wed, Jul 13, 2016 at 04:34:37PM +0300, Dmitry Safonov wrote:
> 
> It looks like, Language Guide even advices to rename fields if they are
> obsolete:
> 
> "Non-required fields can be removed, as long as the tag number is not used
> again in your updated message type. You may want to rename the field
> instead, perhaps adding the prefix "OBSOLETE_", or make the tag reserved, so
> that future users of your .proto can't accidentally reuse the number."
> https://developers.google.com/protocol-buffers/docs/proto

The only important thing in this protocol is the wire format,
ie binary format, the names are needed for user-space applications
only (like prorobuf-c, which generates wrapping for each field).


More information about the CRIU mailing list