<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/capitests/test-command.c, branch 1.2.6</title>
<subtitle>[MIRROR] library for accessing and modifying guest disk images</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/'/>
<entry>
<title>tests: Don't use &lt;guestfs-internal.h&gt; in tests.</title>
<updated>2010-03-16T21:13:06+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-03-16T21:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=760a1c84d7e83fede50bb635749f092fb8b191c0'/>
<id>760a1c84d7e83fede50bb635749f092fb8b191c0</id>
<content type='text'>
It was failing when including this header, as a consequence
of earlier commit 1f56debfcfdc35d6b0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was failing when including this header, as a consequence
of earlier commit 1f56debfcfdc35d6b0.
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: use EXIT_SUCCESS and EXIT_FAILURE, not 0 and 1 to exit</title>
<updated>2009-11-20T12:14:14+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-11-20T11:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=c372c7c23a298a940b8a0868396ef2ae0d824e4d'/>
<id>c372c7c23a298a940b8a0868396ef2ae0d824e4d</id>
<content type='text'>
Convert all uses automatically, via these two commands:
git grep -l '\&lt;exit *(1)' \
  | grep -vEf .x-sc_prohibit_magic_number_exit \
  | xargs --no-run-if-empty \
    perl -pi -e 's/\b(exit ?)\(1\)/$1(EXIT_FAILURE)/'
git grep -l '\&lt;exit *(0)' \
  | grep -vEf .x-sc_prohibit_magic_number_exit \
  | xargs --no-run-if-empty \
  perl -pi -e 's/\b(exit ?)\(0\)/$1(EXIT_SUCCESS)/'
* .x-sc_prohibit_magic_number_exit: New file.

Edit (RWMJ): Don't change Java code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert all uses automatically, via these two commands:
git grep -l '\&lt;exit *(1)' \
  | grep -vEf .x-sc_prohibit_magic_number_exit \
  | xargs --no-run-if-empty \
    perl -pi -e 's/\b(exit ?)\(1\)/$1(EXIT_FAILURE)/'
git grep -l '\&lt;exit *(0)' \
  | grep -vEf .x-sc_prohibit_magic_number_exit \
  | xargs --no-run-if-empty \
  perl -pi -e 's/\b(exit ?)\(0\)/$1(EXIT_SUCCESS)/'
* .x-sc_prohibit_magic_number_exit: New file.

Edit (RWMJ): Don't change Java code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't export STREQ and friends in &lt;guestfs.h&gt;</title>
<updated>2009-11-10T17:09:12+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2009-11-10T17:09:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=ade327a7af869d4d70e28e2a596473943e0299dd'/>
<id>ade327a7af869d4d70e28e2a596473943e0299dd</id>
<content type='text'>
Move these to private header file(s) and other places as required
since these aren't part of the public API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move these to private header file(s) and other places as required
since these aren't part of the public API.
</pre>
</div>
</content>
</entry>
<entry>
<title>use STREQ, not strcmp: part 1</title>
<updated>2009-11-09T21:34:16+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-11-09T13:30:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=9a8889e4d0c532b9f77af3a9cc7aae06adebfb83'/>
<id>9a8889e4d0c532b9f77af3a9cc7aae06adebfb83</id>
<content type='text'>
git grep -l 'strcmp *([^=]*== *0'|xargs \
  perl -pi -e 's/\bstrcmp( *\(.*?\)) *== *0/STREQ$1/g'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git grep -l 'strcmp *([^=]*== *0'|xargs \
  perl -pi -e 's/\bstrcmp( *\(.*?\)) *== *0/STREQ$1/g'
</pre>
</div>
</content>
</entry>
<entry>
<title>always include &lt;config.h&gt;</title>
<updated>2009-08-03T13:14:30+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-08-03T09:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=3572996364d9d24406241dee5155048440053ecf'/>
<id>3572996364d9d24406241dee5155048440053ecf</id>
<content type='text'>
* ocaml/guestfs_c.c: Include &lt;config.h&gt;.
* examples/to-xml.c: Likewise.
* examples/hello.c: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ocaml/guestfs_c.c: Include &lt;config.h&gt;.
* examples/to-xml.c: Likewise.
* examples/hello.c: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move C API tests out of root build dir into 'capitests' subdir.</title>
<updated>2009-05-28T12:15:34+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2009-05-28T12:15:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=e2206733d1287f5809dbde954f3eb64420471b0d'/>
<id>e2206733d1287f5809dbde954f3eb64420471b0d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
