[CRIU] [PATCH] Add 50K'th line in the source code

Cyrill Gorcunov gorcunov at gmail.com
Mon Jul 7 02:20:52 PDT 2014


On Mon, Jul 07, 2014 at 12:12:48PM +0400, Andrew Vagin wrote:
> On Sun, Jul 06, 2014 at 11:47:42PM +0400, Pavel Emelyanov wrote:
> > As per current top commit (9c0c23c0) the amount of code in CRIU
> > _without_ the contents of the test/ directory is
> > 
> > $ git grep -l . | egrep -v ^test | xargs wc -l
> > ...
> > 49999
> > 
> > This is the only chance for such a great one-liner :)
> > 
> > The place in the code is not completely random -- it's one of the
> > few occurrences of two consecutive empty lines in a .c file.
> > 
> > Signed-off-by: Pavel Emelyanov <xemul at parallels.como>
> 
> Tested-by: Andrew Vagin <avagin at parallels.com>
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>


More information about the CRIU mailing list