<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/chdir-safer.c, branch master</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=master</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-08-21T07:26:38Z</updated>
<entry>
<title>Remove from CVS, since the bootstrap script generates them automatically.</title>
<updated>2006-08-21T07:26:38Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-21T07:26:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0f7a044109b860443ecaa4f8a37652b1b4423057'/>
<id>urn:sha1:0f7a044109b860443ecaa4f8a37652b1b4423057</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(SAME_INODE): Remove definition.</title>
<updated>2006-03-12T21:59:29Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-03-12T21:59:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1ccf35a5e376233ed8f7d58b4481fcc8dcb2d226'/>
<id>urn:sha1:1ccf35a5e376233ed8f7d58b4481fcc8dcb2d226</id>
<content type='text'>
Include "same-inode.h", instead.
</content>
</entry>
<entry>
<title>fix typo in comment</title>
<updated>2006-01-09T20:32:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-01-09T20:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0cb6f1cc82979a3c0307b6f2f23ba494b73ff9a5'/>
<id>urn:sha1:0cb6f1cc82979a3c0307b6f2f23ba494b73ff9a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(chdir_no_follow): Don't bother trying to open directory for write</title>
<updated>2005-12-27T07:54:37Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-12-27T07:54:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8846a6bfdd11703c53d6bbb288b5f1fd74468143'/>
<id>urn:sha1:8846a6bfdd11703c53d6bbb288b5f1fd74468143</id>
<content type='text'>
access: POSIX says that must fail.
</content>
</entry>
<entry>
<title>(chdir_no_follow): Move declaration of local,</title>
<updated>2005-12-26T18:53:58Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-26T18:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=edf69af3173e70c4a0ce743a74d2313f37ebbbe8'/>
<id>urn:sha1:edf69af3173e70c4a0ce743a74d2313f37ebbbe8</id>
<content type='text'>
sb2, `down' into the scope where it is used.
Note that on some systems this function also fails when DIR
is a writable-yet-unreadable directory.
</content>
</entry>
<entry>
<title>Whoops; don't remove the include for unistd.h, since it defines fchdir.</title>
<updated>2005-12-25T21:38:43Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-12-25T21:38:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f7a0d076236e87ff0fed2c07d992f7da19c76c03'/>
<id>urn:sha1:f7a0d076236e87ff0fed2c07d992f7da19c76c03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(chdir_no_follow): Don't include stdio.h, assert.h,</title>
<updated>2005-12-25T21:35:38Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-12-25T21:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8b9f6b163aaae865aaf556b5fbf301ce26c26ddf'/>
<id>urn:sha1:8b9f6b163aaae865aaf556b5fbf301ce26c26ddf</id>
<content type='text'>
unistd.h, fcntl--.h; not needed.
(O_DIRECTORY): Define if not already defined.
(chdir_no_follow): Revamp describing comment to match code more
closely.  Redo use of internal vars to avoid lint complaints.
Work even if directory is writeable but not readable.
Open with O_DIRECTORY | O_NOCTTY, for benefit of hosts that
don't have O_NOFOLLOW.  Use O_NONBLOCK (POSIX spelling) rather
than O_NDELAY.  Don't bother invoking fstat if open does not
dereference symlink, since the result isn't used then.
Don't assume file descriptor is positive; it might be zero
now that we no longer include fcntl--.h (we don't need fcntl--.h
since we immediately close the descriptor).
</content>
</entry>
<entry>
<title>(chdir_no_follow): Remove unnecessary test of S_ISDIR (sb_init.st_mode).</title>
<updated>2005-12-25T17:33:57Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-25T17:33:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d789e78a75828613951a203d132202295964014b'/>
<id>urn:sha1:d789e78a75828613951a203d132202295964014b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(chdir_no_follow): Rewrite to use fchdir even</title>
<updated>2005-12-23T12:00:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-23T12:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2eab9d93fc7c4126a3d243e3c453ae4c8b2976ab'/>
<id>urn:sha1:2eab9d93fc7c4126a3d243e3c453ae4c8b2976ab</id>
<content type='text'>
when O_NOFOLLOW is not defined.  Suggested by Eric Blake.
</content>
</entry>
<entry>
<title>(O_NOFOLLOW): Define, if necessary.</title>
<updated>2005-12-23T08:28:14Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-23T08:28:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bd80c2e5a73be2a92fab9796df83f109c0f16399'/>
<id>urn:sha1:bd80c2e5a73be2a92fab9796df83f109c0f16399</id>
<content type='text'>
</content>
</entry>
</feed>
