<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/pathchk.c, branch v6.2</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.2</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2005-05-30T07:05:07Z</updated>
<entry>
<title>(_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:</title>
<updated>2005-05-30T07:05:07Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-05-30T07:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b224f94761aebcd623cecb3b1050b89c945d7808'/>
<id>urn:sha1:b224f94761aebcd623cecb3b1050b89c945d7808</id>
<content type='text'>
Define to 256, not 255, as per modern POSIX.
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T07:58:31Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T07:58:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=44d59bb168eaf820bdfd13ee9df442cde795f9c7'/>
<id>urn:sha1:44d59bb168eaf820bdfd13ee9df442cde795f9c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T06:57:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T06:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c0c815af8db441526ef112700b9185df6006c771'/>
<id>urn:sha1:c0c815af8db441526ef112700b9185df6006c771</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright date.</title>
<updated>2005-01-10T18:11:57Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-01-10T18:11:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f0f5a2708a446f007b1c6e9787349b76f684eb50'/>
<id>urn:sha1:f0f5a2708a446f007b1c6e9787349b76f684eb50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(PORTABILITY_OPTION): New constant.</title>
<updated>2005-01-10T18:09:02Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-01-10T18:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b4e248dea94fafe585ff32f6b58b112d24f9cfb0'/>
<id>urn:sha1:b4e248dea94fafe585ff32f6b58b112d24f9cfb0</id>
<content type='text'>
(longopts, usage, main, validate_file_name):
Add support for new -P option.
Reject empty file names (unless -p is not specified and the
current system allows empty file names).
Change --portability so that is now equivalent to -p -P.
Don't test whether file name is too long, if it is known to exist.
(no_leading_hyphen): New function.
</content>
</entry>
<entry>
<title>(validate_file_name): Give a more descriptive</title>
<updated>2004-10-18T08:19:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2004-10-18T08:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=385f1ab2a0b6c57cf087553a69f5f0c0d9f42fb2'/>
<id>urn:sha1:385f1ab2a0b6c57cf087553a69f5f0c0d9f42fb2</id>
<content type='text'>
diagnostic when pathconf fails.  This also avoids an unwarranted
warning from gcc-3.3.5 about a format not being a string literal.
</content>
</entry>
<entry>
<title>(AUTHORS): Add self.</title>
<updated>2004-10-18T06:30:49Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-10-18T06:30:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8d177f684a34b98ab8e1c3b04c741a31cf050de2'/>
<id>urn:sha1:8d177f684a34b98ab8e1c3b04c741a31cf050de2</id>
<content type='text'>
Change "path" to "file name" whenever possible.
Remove usage comment, as it was a duplication of the code or doc.
Include &lt;wchar.h&gt; if available.
(mbrlen, mbstate_t) [! (HAVE_MBRLEN &amp;&amp; HAVE_MBSTATE_T)]: Define.
(NEED_PATHCONF_WRAPPER, PATH_MAX, PATH_MAX_FOR, NAME_MAX,
pathconf_wrapper, portable_chars, dir_ok): Remove.
(NAME_MAX_MINIMUM, PATH_MAX_MINIMUM): New macros.
(pathconf, _PC_NAME_MAX, _PC_PATH_MAX): Define if nonexistent.
(portable_chars_only): New arg FILELEN.
Don't assume ASCII; we might be on an EBCDIC host.
Don't assume unibyte locale in diagnostic.
(component_start, component_len): New functions.
(validate_file_name): Renamed from validate_path.  All uses changed.
Pretty much a complete rewrite.
Don't make copy of file arg.  Always append trailing slash to
pathconf arg, just in case it's a symlink (this is pure paranoia;
we don't know of any hosts where the trailing slash is required).
Use size_t instead of long int when possible.
Avoid need to call pathconf in most practical cases.
Don't use euidaccess several times to test searchability;
just use lstat once.  Reword diagnostic to put the (often very long)
file names last.
</content>
</entry>
<entry>
<title>(longopts): Add --help, --version.</title>
<updated>2004-09-21T22:11:28Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-09-21T22:11:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=288994697f3ae979c5d7f4d781b7ab637addcf0a'/>
<id>urn:sha1:288994697f3ae979c5d7f4d781b7ab637addcf0a</id>
<content type='text'>
(main): Use longopts rather than parse_long_options.
(main): Don't reorder arguments, so that we can check weird file names.
</content>
</entry>
<entry>
<title>(validate-path, main, portable_chars_only): Use bool for booleans.</title>
<updated>2004-08-03T15:30:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-08-03T15:30:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f2de0ef76255fcbc4eb988f4f6e1eef3cdd4049b'/>
<id>urn:sha1:f2de0ef76255fcbc4eb988f4f6e1eef3cdd4049b</id>
<content type='text'>
(portable_chars_only): Use to_uchar rather than a cast.
</content>
</entry>
<entry>
<title>pathchk.c: Include euidaccess.h.</title>
<updated>2004-07-25T07:38:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-07-25T07:38:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b93109eedcf6a1cc27b06cf5a710c935b61a197b'/>
<id>urn:sha1:b93109eedcf6a1cc27b06cf5a710c935b61a197b</id>
<content type='text'>
(dir_ok): Use euidaccess, not access.
</content>
</entry>
</feed>
