<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/dirname.c, branch v4.5.2</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v4.5.2</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v4.5.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2001-05-21T06:36:36Z</updated>
<entry>
<title>(dir_name): Compute append_dot using path, not newpath</title>
<updated>2001-05-21T06:36:36Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-05-21T06:36:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=760d4e6f3adb7d5052cf5cd002a9e0f53f548f93'/>
<id>urn:sha1:760d4e6f3adb7d5052cf5cd002a9e0f53f548f93</id>
<content type='text'>
which is not yet declared.
</content>
</entry>
<entry>
<title>(FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.</title>
<updated>2001-05-12T15:38:00Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-05-12T15:38:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=521f5344c88705d93c8c7c5f75c76c5b9a8d46c3'/>
<id>urn:sha1:521f5344c88705d93c8c7c5f75c76c5b9a8d46c3</id>
<content type='text'>
Include &lt;string.h&gt; instead of &lt;stdlib.h&gt;.
Do not include &lt;assert.h&gt;; no longer needed.
Include xalloc.h.
(memrchr): Remove decl.
(dir_name_r): Remove.
(dir_len): Renamed from dirlen.  All callers changed.
Rewrite in terms of base_name, for simplicity and consistency.
(dir_name): Never return NULL.  All callers changed.
Do not include &lt;stdlib.h&gt; in test program; no longer needed.
return 0; is fine for test program.
</content>
</entry>
<entry>
<title>convert a &gt; expression to the equivalent &lt; one</title>
<updated>2000-12-07T14:11:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-12-07T14:11:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=04f549820f22a4671ff495a5215c82610a6c156e'/>
<id>urn:sha1:04f549820f22a4671ff495a5215c82610a6c156e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(FILESYSTEM_PREFIX_LEN): Define.</title>
<updated>2000-12-07T14:10:21Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-12-07T14:10:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4504b81f3b9a1071834012262bd4eac17f9290ff'/>
<id>urn:sha1:4504b81f3b9a1071834012262bd4eac17f9290ff</id>
<content type='text'>
(dir_name_r): Declare this function as static.
[BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd
manifest itself on a name containing a mix of slashes and
backslashes.
Make this function work with names starting with a DOS-style
drive letter and colon prefix.
(dir_name): Append `.' if necessary.
Based mostly on patches from Prashant TR and Eli Zaretskii.
</content>
</entry>
<entry>
<title>(dir_name_r): Add `const' in a few local declarations.</title>
<updated>2000-12-05T13:14:13Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-12-05T13:14:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cd6f0af0eac4378bcb93195d0e342b32fc654e4b'/>
<id>urn:sha1:cd6f0af0eac4378bcb93195d0e342b32fc654e4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(dir_name_r): Fix typo: int -&gt; size_t.</title>
<updated>2000-11-30T09:35:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-11-30T09:35:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7303ca25dbbcf62d4f5eff34aea1867e14e51a19'/>
<id>urn:sha1:7303ca25dbbcf62d4f5eff34aea1867e14e51a19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tweak comment</title>
<updated>2000-10-21T12:46:58Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-10-21T12:46:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6864ceca1180f5a6a2b9377fd59985c06c3bc991'/>
<id>urn:sha1:6864ceca1180f5a6a2b9377fd59985c06c3bc991</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(dir_name_r): New function, factored out of dir_name.</title>
<updated>2000-10-21T11:44:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-10-21T11:44:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ef43db1c4baa92428389eb3a3c667dcee47c6f13'/>
<id>urn:sha1:ef43db1c4baa92428389eb3a3c667dcee47c6f13</id>
<content type='text'>
(dir_name): Use dir_name_r.
</content>
</entry>
<entry>
<title>(memrchr): Declare if necessary.</title>
<updated>2000-10-21T11:28:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-10-21T11:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9ff69c8035ddc7430c9c6c66c571787a5ed9f8f6'/>
<id>urn:sha1:9ff69c8035ddc7430c9c6c66c571787a5ed9f8f6</id>
<content type='text'>
(dir_name): Remove the restriction that there be no
trailing slashes.  Now, this code skips past them, effectively
ignoring them.
[TEST_DIRNAME] (main): New unit tests.
</content>
</entry>
<entry>
<title>(ISSLASH): Define.</title>
<updated>2000-08-01T07:10:05Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-08-01T07:10:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a55a40b61686aa168b3f0cb82a74885e7ee1b8d4'/>
<id>urn:sha1:a55a40b61686aa168b3f0cb82a74885e7ee1b8d4</id>
<content type='text'>
(BACKSLASH_IS_PATH_SEPARATOR): Define.
(dir_name) [BACKSLASH_IS_PATH_SEPARATOR]: Handle the case in which
both `\' and `/' may be use as path separators.
Based on a patch from Prashant TR.
</content>
</entry>
</feed>
