]> git.ozlabs.org Git - ccan/commit
ccanlint: fix _info documentation addition.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Nov 2012 23:38:53 +0000 (10:08 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Nov 2012 23:38:53 +0000 (10:08 +1030)
commit38b87a97e4244e03d3f3887c0e632e31a0bfd8df
tree23e3d0e627e86cc483de186814cd30ca25b48681
parentc07a2b209d44273098e2d435ebdca82f158c0373
ccanlint: fix _info documentation addition.

Firstly, we should always ask before altering files.  Secondly, we are
not in the module directory: we need to use m->info_file->fullname.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/ccanlint/tests/info_documentation_exists.c