<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/dirname.c, branch v5.2.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v5.2.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v5.2.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2003-09-10T08:28:38Z</updated>
<entry>
<title>Include &lt;string.h&gt; unconditionally.</title>
<updated>2003-09-10T08:28:38Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-09-10T08:28:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3d82b922c123b835ac65e2c165a7057f7b378c0b'/>
<id>urn:sha1:3d82b922c123b835ac65e2c165a7057f7b378c0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[TEST_DIRNAME]: Update build instructions for test.</title>
<updated>2003-04-04T19:35:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-04-04T19:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4d4896eef368cc77c312090920b622581111a002'/>
<id>urn:sha1:4d4896eef368cc77c312090920b622581111a002</id>
<content type='text'>
Add test-cases for DOS filenames. Declare program_name.
(main): Set up program_name.
</content>
</entry>
<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>
</feed>
