[CRIU] Re: [PATCH 13/14] inotify: Add checkpoint/restore

Cyrill Gorcunov gorcunov at openvz.org
Thu May 3 09:15:48 EDT 2012


On Thu, May 03, 2012 at 04:58:58PM +0400, Pavel Emelyanov wrote:
> 
> Is strtol not enough for that? Why?

The size for encoded path has varies size (128 bytes max) and it's
printed out in byte-string form (ex. 8090982309df234fefe) so I think
it's easier to convert it this way, sure if you prefer I can split
the former stream into 8 byte chunks (btw, I fear strtol will flip
the former byte-stream into little endian number where we need
byte-strem unchanged).

	Cyrill


More information about the CRIU mailing list