<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/openat.c, branch v6.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-06-20T19:20:25Z</updated>
<entry>
<title>(openat): Use ?:, not if, to work around GCC bug 4210.</title>
<updated>2006-06-20T19:20:25Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-06-20T19:20:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9d5fbcc019a802d14dcbd02c7c2a8659cc79ad55'/>
<id>urn:sha1:9d5fbcc019a802d14dcbd02c7c2a8659cc79ad55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix typo in comment: s/nerrower/narrower/</title>
<updated>2006-06-20T10:19:40Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-06-20T10:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8280381dd703340cc2ad32e9c66e9de33f86444d'/>
<id>urn:sha1:8280381dd703340cc2ad32e9c66e9de33f86444d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include lstat.h, so that uses of lstat are converted</title>
<updated>2006-02-16T23:10:01Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-02-16T23:10:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1ec610ba19ae961a3ee114c3f0e9ee64fd8731dd'/>
<id>urn:sha1:1ec610ba19ae961a3ee114c3f0e9ee64fd8731dd</id>
<content type='text'>
to uses of rpl_lstat, e.g., on Solaris 9.  Otherwise, programs like
du (which now uses the openat-enabled fts and hence fstatat) would
mistakenly fail to dereference a symlink-to-directory specified
with a trailing slash.
</content>
</entry>
<entry>
<title>(openat_needs_fchdir): New function.</title>
<updated>2006-01-17T17:43:10Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-01-17T17:43:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d55e2d85284674dc6a0f623759aef0174d802f9e'/>
<id>urn:sha1:d55e2d85284674dc6a0f623759aef0174d802f9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(fchownat): New function.</title>
<updated>2006-01-11T13:32:03Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-01-11T13:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9cbd6c03665e0d531215e957710becb71e5e6a7b'/>
<id>urn:sha1:9cbd6c03665e0d531215e957710becb71e5e6a7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include "fcntl--.h" and "unistd--.h", to map open</title>
<updated>2005-12-22T14:34:20Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-22T14:34:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b6c621211bc3e0620affe71acde0c99ad12ce773'/>
<id>urn:sha1:b6c621211bc3e0620affe71acde0c99ad12ce773</id>
<content type='text'>
and dup to open_safer and dup_safer, respectively.
(openat_permissive): Fix typo in comment.
</content>
</entry>
<entry>
<title>Don't include &lt;stdlib.h&gt;, &lt;unistd.h&gt;, &lt;fcntl.h&gt;,</title>
<updated>2005-12-17T06:55:32Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-12-17T06:55:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3f86aaadcfc70682baab8b676de5cfd7e2340e2c'/>
<id>urn:sha1:3f86aaadcfc70682baab8b676de5cfd7e2340e2c</id>
<content type='text'>
"gettext.h"; either no longer needed or are guaranteed by openat.h.
(_): Remove; no longer needed.
(openat): Renamed from rpl_openat; no need for rpl_openat
since openat.h renames openat for us.
Replace most of the body with a call to openat_permissive,
to avoid duplicate code.
Port to (probably hypothetical) environments were mode_t is
wider than int.
(openat_permissive): Require mode arg, so that we can check
types better.  Put it just after flags.  Change cwd failure
indicator from pointer-to-bool to pointer-to-errno-value.
All callers changed.
Invoke openat_save_fail and/or openat_restore_fail if
cwd_errno is null, so that openat can call us.
(openat_permissive, fdopendir, fstatat, unlinkat):
Simplify errno handling to avoid some duplicate code,
as it's OK to set errno on success.
</content>
</entry>
<entry>
<title>Include openat-priv.h.</title>
<updated>2005-11-30T13:04:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-11-30T13:04:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=798f577bec2584377e9b81a56a561c9d8c85d47a'/>
<id>urn:sha1:798f577bec2584377e9b81a56a561c9d8c85d47a</id>
<content type='text'>
Remove definitions of macros defined therein.
</content>
</entry>
<entry>
<title>tweak grammar in comments</title>
<updated>2005-11-23T13:36:48Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-11-23T13:36:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1aab378857588fa49f54689074b9c72e98a96cab'/>
<id>urn:sha1:1aab378857588fa49f54689074b9c72e98a96cab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(fdopendir): Don't change errno when returning non-NULL.</title>
<updated>2005-11-23T13:35:09Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-11-23T13:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e8609798de7b1085a11afd33064a08ff18f77cbe'/>
<id>urn:sha1:e8609798de7b1085a11afd33064a08ff18f77cbe</id>
<content type='text'>
</content>
</entry>
</feed>
