<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/backupfile.c, branch v5.91</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v5.91</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v5.91'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2005-09-22T06:05:39Z</updated>
<entry>
<title>Sync from gnulib.</title>
<updated>2005-09-22T06:05:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-22T06:05:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f'/>
<id>urn:sha1:2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use ARGMATCH_VERIFY, just in case.</title>
<updated>2005-09-13T12:12:36Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-09-13T12:12:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2922ae7380faa5b274b11c7298103560c6ad4665'/>
<id>urn:sha1:2922ae7380faa5b274b11c7298103560c6ad4665</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Assume HAVE_UNISTD_H, i.e., include &lt;unistd.h&gt; unconditionally.</title>
<updated>2005-07-02T08:41:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-07-02T08:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=410f98fc2b9bd775f809818590959272c04e6c9c'/>
<id>urn:sha1:410f98fc2b9bd775f809818590959272c04e6c9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(backup_args): Change a `0' to NULL.</title>
<updated>2005-06-23T13:26:15Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-06-23T13:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5fd26561cbc65bdbb89455e5420492131c796b52'/>
<id>urn:sha1:5fd26561cbc65bdbb89455e5420492131c796b52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T07:58:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T07:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=116e6fb2443d140959ea042865cd67b95aab3c47'/>
<id>urn:sha1:116e6fb2443d140959ea042865cd67b95aab3c47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove trailing blank.</title>
<updated>2004-09-22T20:14:25Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2004-09-22T20:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9258132a73d3428d266151336b3ba3d390ded50d'/>
<id>urn:sha1:9258132a73d3428d266151336b3ba3d390ded50d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(check_extension, numbered_backup):</title>
<updated>2004-09-13T12:10:57Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-09-13T12:10:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b2fadec71ba42560a7faa8548eaec611d003c076'/>
<id>urn:sha1:b2fadec71ba42560a7faa8548eaec611d003c076</id>
<content type='text'>
Rename locals to avoid shadowing 'basename'.
</content>
</entry>
<entry>
<title>backupfile.c rewrite to avoid arbitrary limits on lengths of</title>
<updated>2004-07-27T23:12:56Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-07-27T23:12:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1b94625f19c97c894443dfcb9b7df588215afafd'/>
<id>urn:sha1:1b94625f19c97c894443dfcb9b7df588215afafd</id>
<content type='text'>
numeric backup extensions.

Include "backupfile.h" first.
Include errno.h, stdbool.h, limits.h, unistd.h, xalloc.h.
(CLOSEDIR, INT_STRLEN_BOUND): Remove.
(pathconf) [! (HAVE_PATHCONF &amp;&amp; defined _PC_NAME_MAX)]: New macro.
(_POSIX_NAME_MAX) [!defined _POSIX_NAME_MAX]: New macro.
(NAME_MAX_MAXIMUM): New macro.  Unlike the old addext.c, we
also look at _XOPEN_NAME_MAX, for better performance on modern
hosts that support only file names of length 255 or more.
(ISDIGIT): unsigned -&gt; unsigned int
(max_backup_version, version_number): Remove.
(check_extension): New function.  Similar to the old addext, but
static, assumes that the extension has already been added,
and a bit more careful on DOS hosts.
(numbered_backup): New function.  It does what max_backup_version
and version_number used to do, but it doesn't use integer arithmetic
to calculate extensions so it doesn't overflow.
(find_backup_file_name): Rewrite to use these new functions.
This has a new optimization: we needn't call pathconf if the
new numbered backup name has the same length as the old.
Also, use xmalloc rather than malloc, so that the caller
needn't worry about memory exhaustion.
</content>
</entry>
<entry>
<title>(FILE_SYSTEM_PREFIX_LEN): Renamed from</title>
<updated>2004-06-30T22:38:03Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2004-06-30T22:38:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=49d4a73415159c186681df46e684d3190371ea8f'/>
<id>urn:sha1:49d4a73415159c186681df46e684d3190371ea8f</id>
<content type='text'>
FILESYSTEM_PREFIX_LEN.  All uses changed.
</content>
</entry>
<entry>
<title>Include &lt;string.h&gt;, &lt;stdlib.h&gt; unconditionally.</title>
<updated>2003-09-10T08:26:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-09-10T08:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0d84cc66ee79ccd92f4c30548ceaa632dd7d3144'/>
<id>urn:sha1:0d84cc66ee79ccd92f4c30548ceaa632dd7d3144</id>
<content type='text'>
Don't declare getenv or malloc.
</content>
</entry>
</feed>
