<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/patch.git/src, branch baserock/morph</title>
<subtitle>git.savannah.gnu.org: git/patch.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/'/>
<entry>
<title>maint: enable the useless_cpp_parens syntax-check rule</title>
<updated>2012-01-01T10:12:43+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-01T09:54:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=d504183866dccdf8e7c09522b601236d91591141'/>
<id>d504183866dccdf8e7c09522b601236d91591141</id>
<content type='text'>
* cfg.mk (local-checks-to-skip): Remove sc_useless_cpp_parens,
thus enabling this syntax-check rule.
* src/patch.c: Remove unneeded parentheses.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* cfg.mk (local-checks-to-skip): Remove sc_useless_cpp_parens,
thus enabling this syntax-check rule.
* src/patch.c: Remove unneeded parentheses.
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2012-01-01T09:26:02+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-01T09:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=2d38b11799be79a2a141181689a889bd5bee25da'/>
<id>2d38b11799be79a2a141181689a889bd5bee25da</id>
<content type='text'>
Run "make update-copyright".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "make update-copyright".
</pre>
</div>
</content>
</entry>
<entry>
<title>build: update to latest gnulib and adapt</title>
<updated>2011-12-14T15:34:45+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-10-09T09:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=5cb38ce3903b5c33750cd52f983a8f68f945c7dd'/>
<id>5cb38ce3903b5c33750cd52f983a8f68f945c7dd</id>
<content type='text'>
Mark functions as pure of const, per recommendations enabled by
new gcc -W options.  Apply _GL_ATTRIBUTE_PURE and _GL_ATTRIBUTE_CONST.
* src/common.h: Apply new function attributes.
* src/pch.c: Likewise.
* src/pch.h: Likewise.
* src/util.c: Likewise.
* src/util.h: Likewise.
* configure.ac: Use -Wno-format-nonliteral.
* m4/.gitignore: Update.
* gnulib: Update to latest.
* cfg.mk: Exempt src/util.c from two tests, to avoid new
"make syntax-check" failures.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mark functions as pure of const, per recommendations enabled by
new gcc -W options.  Apply _GL_ATTRIBUTE_PURE and _GL_ATTRIBUTE_CONST.
* src/common.h: Apply new function attributes.
* src/pch.c: Likewise.
* src/pch.h: Likewise.
* src/util.c: Likewise.
* src/util.h: Likewise.
* configure.ac: Use -Wno-format-nonliteral.
* m4/.gitignore: Update.
* gnulib: Update to latest.
* cfg.mk: Exempt src/util.c from two tests, to avoid new
"make syntax-check" failures.
</pre>
</div>
</content>
</entry>
<entry>
<title>Timestamp not set when creating files with --set-time or --set-utc</title>
<updated>2011-12-08T23:53:38+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2011-12-08T23:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=5ca55b84143a840218bcdc78120b44b02d8ef561'/>
<id>5ca55b84143a840218bcdc78120b44b02d8ef561</id>
<content type='text'>
* src/util.h (enum file_attributes): Add FA_XATTRS flag for extended
attributes.
* src/patch.c (main): Use set_file_attributes() even when the infile doesn't
exist: it may still set the file time (FA_TIMES).  Omit all other FA_ flags if
infile doesn't exist.  Otherwise, add FA_XATTRS as well.
* src/util.c (set_file_attributes): Only copy extended attributes if FA_XATTRS
is set.  Avoid using st where it may be undefined.
* tests/preserve-mode-and-timestamp: Add file create test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/util.h (enum file_attributes): Add FA_XATTRS flag for extended
attributes.
* src/patch.c (main): Use set_file_attributes() even when the infile doesn't
exist: it may still set the file time (FA_TIMES).  Omit all other FA_ flags if
infile doesn't exist.  Otherwise, add FA_XATTRS as well.
* src/util.c (set_file_attributes): Only copy extended attributes if FA_XATTRS
is set.  Avoid using st where it may be undefined.
* tests/preserve-mode-and-timestamp: Add file create test.
</pre>
</div>
</content>
</entry>
<entry>
<title>give a diagnostic rather than a failed assertion for a mangled patch</title>
<updated>2011-10-11T01:31:57+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-10-09T09:42:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=4e595c3b6de267bfe770c218bb38c116a3d7d59f'/>
<id>4e595c3b6de267bfe770c218bb38c116a3d7d59f</id>
<content type='text'>
* src/pch.c (another_hunk): Rather than asserting(C), issue the
"replacement text or line numbers mangled ..." diagnostic when !C.
* tests/mangled-numbers-abort: New test for the above.
* tests/Makefile.am (TESTS): Add it.
* NEWS: Mention it.
Reported by Gabriel Vlasiu via Tim Waugh.
See also http://bugzilla.redhat.com/738959
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/pch.c (another_hunk): Rather than asserting(C), issue the
"replacement text or line numbers mangled ..." diagnostic when !C.
* tests/mangled-numbers-abort: New test for the above.
* tests/Makefile.am (TESTS): Add it.
* NEWS: Mention it.
Reported by Gabriel Vlasiu via Tim Waugh.
See also http://bugzilla.redhat.com/738959
</pre>
</div>
</content>
</entry>
<entry>
<title>don't call fdopen with a negative FD upon dup failure</title>
<updated>2011-05-25T14:47:33+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-05-24T14:20:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=586239e353e0e4b71f8828f5fda06496229b8874'/>
<id>586239e353e0e4b71f8828f5fda06496229b8874</id>
<content type='text'>
* src/patch.c (open_outfile): If dup fails, don't clobber its
errno value by calling fdopen with -1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/patch.c (open_outfile): If dup fails, don't clobber its
errno value by calling fdopen with -1.
</pre>
</div>
</content>
</entry>
<entry>
<title>plug a leak in inp.c's plan_a</title>
<updated>2011-05-25T14:47:33+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-05-24T13:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=5853a727de5cd84da483f90cf6f4191549265dae'/>
<id>5853a727de5cd84da483f90cf6f4191549265dae</id>
<content type='text'>
* src/inp.c (plan_a): Don't leak "buffer" upon early return.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/inp.c (plan_a): Don't leak "buffer" upon early return.
</pre>
</div>
</content>
</entry>
<entry>
<title>emit one more diagnostic with the required "program_name: " prefix</title>
<updated>2011-05-25T14:47:33+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-05-24T13:51:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=0649fbf212224f757245263e5f3c90e423b21571'/>
<id>0649fbf212224f757245263e5f3c90e423b21571</id>
<content type='text'>
* src/util.c: Include "error.h".
(ask): Use error, not perror.  The latter would not have included
the usual "program name: " prefix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/util.c: Include "error.h".
(ask): Use error, not perror.  The latter would not have included
the usual "program name: " prefix.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove side effect from assert</title>
<updated>2011-05-25T14:47:33+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-05-24T13:35:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=209af7ee4b7d28a25b0fb33c7e017277291cfc2c'/>
<id>209af7ee4b7d28a25b0fb33c7e017277291cfc2c</id>
<content type='text'>
* src/util.c (parse_c_string): Don't increment "s" in assert.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/util.c (parse_c_string): Don't increment "s" in assert.
</pre>
</div>
</content>
</entry>
<entry>
<title>explicitly ignore close return value to placate static analyzers</title>
<updated>2011-05-25T14:47:33+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-05-24T11:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=bb2fef06eb52eefe0d72d6e536cd928565dcdcd0'/>
<id>bb2fef06eb52eefe0d72d6e536cd928565dcdcd0</id>
<content type='text'>
* src/util.c: Include "ignore-value.h".
(ask): Use ignore_value to tell tools that yes, we really do
mean to ignore any close failure on this error path.
* bootstrap.conf (gnulib_modules): Add ignore-value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/util.c: Include "ignore-value.h".
(ask): Use ignore_value to tell tools that yes, we really do
mean to ignore any close failure on this error path.
* bootstrap.conf (gnulib_modules): Add ignore-value.
</pre>
</div>
</content>
</entry>
</feed>
