<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/patch.git/src/common.h, branch testing</title>
<subtitle>git.savannah.gnu.org: git/patch.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/'/>
<entry>
<title>Add line number overflow checking</title>
<updated>2014-11-30T19:56:46+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2014-11-30T19:56:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=44a987e02f04b9d81a0db4a611145cad1093a2d3'/>
<id>44a987e02f04b9d81a0db4a611145cad1093a2d3</id>
<content type='text'>
* bootstrap.conf: use intprops module.
* src/common.h: Define LINENUM_MIN and LINENUM_MAX macros.
* src/pch.c (another_hunk): Add line number overflow checking.  Based on Robert
C. Seacord's INT32-C document for integer overflow checking and Tobias
Stoeckmann's "integer overflows and oob memory access" patch for FreeBSD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstrap.conf: use intprops module.
* src/common.h: Define LINENUM_MIN and LINENUM_MAX macros.
* src/pch.c (another_hunk): Add line number overflow checking.  Based on Robert
C. Seacord's INT32-C document for integer overflow checking and Tobias
Stoeckmann's "integer overflows and oob memory access" patch for FreeBSD.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use gnulib errno module instead of our own default ENOTSUP fallback</title>
<updated>2012-09-28T14:00:04+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-28T13:54:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=ac59899327e6b9dca6e64a6b887322c15120fb48'/>
<id>ac59899327e6b9dca6e64a6b887322c15120fb48</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add errno module.
* src/common.h: Remove ENOTSUP fallback.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstrap.conf (gnulib_modules): Add errno module.
* src/common.h: Remove ENOTSUP fallback.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore when preserving extended attributes is not supported or allowed</title>
<updated>2012-09-22T16:32:10+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-21T20:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=d24f630fbcaf27416fa81b3bcd686df4344df978'/>
<id>d24f630fbcaf27416fa81b3bcd686df4344df978</id>
<content type='text'>
* src/common.h (ENOTSUP): Make sure this error code is defined.
* src/util.c (set_file_attributes): Ignore ENOSYS, ENOTSUP, and EPERM errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/common.h (ENOTSUP): Make sure this error code is defined.
* src/util.c (set_file_attributes): Ignore ENOSYS, ENOTSUP, and EPERM errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --follow-symlinks option for backwards compatibility</title>
<updated>2012-09-19T01:16:07+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-19T00:01:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=293415dbcf8c621c8aecb4347abd32fd60935a8b'/>
<id>293415dbcf8c621c8aecb4347abd32fd60935a8b</id>
<content type='text'>
* src/common.h (follow_symlinks): New variable.
* src/patch.c (longopts): Add new --follow-symlinks option.
(get_some_switches): Recognize the new option.
* src/util.c (stat_file): Follow symlinks if requested.
* patch.man: Document the new option.
* tests/symlinks: Add test case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/common.h (follow_symlinks): New variable.
* src/patch.c (longopts): Add new --follow-symlinks option.
(get_some_switches): Recognize the new option.
* src/util.c (stat_file): Follow symlinks if requested.
* patch.man: Document the new option.
* tests/symlinks: Add test case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the type of *_needs_removal from int to bool</title>
<updated>2012-09-13T14:34:58+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-04-14T11:41:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=f0388d2dbff7903e514f86947f3b7c7e29e674c8'/>
<id>f0388d2dbff7903e514f86947f3b7c7e29e674c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch from the `old' gnu quoting style to the 'new' one</title>
<updated>2012-04-17T14:48:19+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-04-17T14:45:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=8de9b7b0369a1f4c7f8a07bd3b4dae71dc8f1fba'/>
<id>8de9b7b0369a1f4c7f8a07bd3b4dae71dc8f1fba</id>
<content type='text'>
* src/common.h, src/patch.c, src/pch.c, src/util.c, src/util.h: Switch from the
`old' gnu quoting style to the 'new' one in messages and comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/common.h, src/patch.c, src/pch.c, src/util.c, src/util.h: Switch from the
`old' gnu quoting style to the 'new' one in messages and comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix use-after-free bug in name_is_valid()</title>
<updated>2012-04-06T18:29:47+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-04-06T12:43:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=ed081db4b169495f75c5b5274bf547e242c58712'/>
<id>ed081db4b169495f75c5b5274bf547e242c58712</id>
<content type='text'>
Reported by Steffen Sledz in
https://bugzilla.novell.com/show_bug.cgi?id=755136 via Jean Delvare.
Bug introduced in commit v2.6.1-115-ge0f7075; fixed with help from Jim
Meyering &lt;meyering@redhat.com&gt;.
* src/common.h (ARRAY_SIZE): New macro.
* src/pch.c (invalid_names): New global variable for remembering bad names.
(intuit_diff_type): Reset invalid_names for each new patch; the names from the
previous patch have already been freed.
(name_is_valid): Use invalid_names.  Make the code "safer" and avoid
duplication.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by Steffen Sledz in
https://bugzilla.novell.com/show_bug.cgi?id=755136 via Jean Delvare.
Bug introduced in commit v2.6.1-115-ge0f7075; fixed with help from Jim
Meyering &lt;meyering@redhat.com&gt;.
* src/common.h (ARRAY_SIZE): New macro.
* src/pch.c (invalid_names): New global variable for remembering bad names.
(intuit_diff_type): Reset invalid_names for each new patch; the names from the
previous patch have already been freed.
(name_is_valid): Use invalid_names.  Make the code "safer" and avoid
duplication.
</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://91.123.203.49/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://91.123.203.49/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>maint: remove now-unneeded macro definitions</title>
<updated>2011-03-27T07:19:46+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-03-10T07:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=df2831fbdf3e61181a96324852e0a2a0fc6ae79a'/>
<id>df2831fbdf3e61181a96324852e0a2a0fc6ae79a</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Include gnulib's signal module,
so that signal.h guarantees definition of certain macros.
* src/util.c (SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK): Remove definition.
Now, gnulib guarantees that these are defined.
* src/common.h (SIZE_MAX): Likewise.
* cfg.mk (local-checks-to-skip): Enable the
sc_prohibit_always-defined_macros check, now that it passes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstrap.conf (gnulib_modules): Include gnulib's signal module,
so that signal.h guarantees definition of certain macros.
* src/util.c (SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK): Remove definition.
Now, gnulib guarantees that these are defined.
* src/common.h (SIZE_MAX): Likewise.
* cfg.mk (local-checks-to-skip): Enable the
sc_prohibit_always-defined_macros check, now that it passes.
</pre>
</div>
</content>
</entry>
</feed>
