<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/remove.c, branch v6.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-11-26T17:47:54Z</updated>
<entry>
<title>* src/remove.c (fd_to_subdirp): Remove unused parameter, ds.</title>
<updated>2006-11-26T17:47:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-11-26T17:47:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5e2f415d172e8074e6e3d051c310fd460feb6205'/>
<id>urn:sha1:5e2f415d172e8074e6e3d051c310fd460feb6205</id>
<content type='text'>
Update callers.
</content>
</entry>
<entry>
<title>Port parts of the code to C89 to minimize the need for c99-to-c89.diff,</title>
<updated>2006-11-26T16:40:38Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-11-26T10:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=17a7d2c81b0085c1f4b2879f2da9c1cdb7e6bb1b'/>
<id>urn:sha1:17a7d2c81b0085c1f4b2879f2da9c1cdb7e6bb1b</id>
<content type='text'>
while trying to retain the readability of C99 as much as possible.
* src/remove.c (close_preserve_errno): Remove.
(fd_to_subdirp): Rewrite to avoid the need for decl after statement.

Signed-off-by: Paul Eggert &lt;eggert@cs.ucla.edu&gt;
</content>
</entry>
<entry>
<title>* src/remove.c (rm): Move cycle_check_init call into callee...</title>
<updated>2006-11-26T16:40:37Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-11-25T10:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a23c91026d542709fa28163e9072be191ff44157'/>
<id>urn:sha1:a23c91026d542709fa28163e9072be191ff44157</id>
<content type='text'>
Use an else clause in place of a "continue" statement.

Signed-off-by: Paul Eggert &lt;eggert@cs.ucla.edu&gt;
</content>
</entry>
<entry>
<title>* src/remove.c (AD_ensure_initialized): New function.</title>
<updated>2006-11-26T16:40:16Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-11-25T10:08:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1ce71652fc07fae67ddb5254856dd030502d509c'/>
<id>urn:sha1:1ce71652fc07fae67ddb5254856dd030502d509c</id>
<content type='text'>
after statement.

Signed-off-by: Paul Eggert &lt;eggert@cs.ucla.edu&gt;
</content>
</entry>
<entry>
<title>* src/remove.c (AD_pop_and_chdir): Return prev_dir rather than storing through</title>
<updated>2006-11-26T16:39:53Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-11-25T10:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1b95d5ee81d8621ff54d65ca3700c977c738610a'/>
<id>urn:sha1:1b95d5ee81d8621ff54d65ca3700c977c738610a</id>
<content type='text'>
a pointer argument.  All uses changed.

Signed-off-by: Paul Eggert &lt;eggert@cs.ucla.edu&gt;
</content>
</entry>
<entry>
<title>* src/remove.c (cache_stat_init): Return its argument, for convenience.</title>
<updated>2006-11-26T16:39:27Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-11-25T09:59:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6b7c67ad88613f80028ac875ca052eb0a2af9c46'/>
<id>urn:sha1:6b7c67ad88613f80028ac875ca052eb0a2af9c46</id>
<content type='text'>
Update the caller in remove_dir.

Signed-off-by: Paul Eggert &lt;eggert@cs.ucla.edu&gt;
</content>
</entry>
<entry>
<title>* src/remove.c (rm_1): Remove decl of local, fd_cwd.</title>
<updated>2006-11-26T16:38:09Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-11-25T09:55:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=02e24f25939824e5292549c7d90e018e6efad01f'/>
<id>urn:sha1:02e24f25939824e5292549c7d90e018e6efad01f</id>
<content type='text'>
Replace each of two uses with literal AT_FDCWD.

Signed-off-by: Paul Eggert &lt;eggert@cs.ucla.edu&gt;
</content>
</entry>
<entry>
<title>new feature: rm accepts new option: --one-file-system</title>
<updated>2006-10-24T22:01:33Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-10-24T22:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5e42576c017905627e209acc20bf6e6abd1db6ef'/>
<id>urn:sha1:5e42576c017905627e209acc20bf6e6abd1db6ef</id>
<content type='text'>
Suggested by Steve McIntyre in &lt;http://bugs.debian.org/392925&gt;.
* src/remove.h (struct rm_options) [one_file_system]: New member.
* src/rm.c (rm_option_init): Initialize it.
(usage): Document the option.
* src/mv.c (rm_option_init): Likewise.
* src/remove.c (remove_dir): With --one-file-system and --recursive,
for each directory command line argument, do not affect a file system
different from that of the starting directory.  And give a diagnostic.
* src/rm.c (ONE_FILE_SYSTEM): New enum.
(main): Handle new option.
* tests/rm/one-file-system: Test the above.
* tests/rm/Makefile.am (TESTS): Add one-file-system.
* tests/Makefile.am (check-root): Add the rm/one-file-system
test to the list.
(EXTRA_DIST): Add other-fs-tmpdir.

* tests/mv/setup: Removed.  Renamed to...
* tests/other-fs-tmpdir: ...this new file.
* tests/mv/Makefile.am (EXTRA_DIST): Remove setup.
* tests/mv/acl: Reflect renaming: use ../other-fs-tmpdir.
* tests/mv/backup-is-src: Likewise.
* tests/mv/hard-link-1: Likewise.
* tests/mv/leak-fd: Likewise.
* tests/mv/mv-special-1: Likewise.
* tests/mv/part-fail: Likewise.
* tests/mv/part-hardlink: Likewise.
* tests/mv/part-rename: Likewise.
* tests/mv/part-symlink: Likewise.
* tests/mv/partition-perm: Likewise.
* tests/mv/to-symlink: Likewise.
* tests/mv/into-self-2: Likewise.

[doc/ChangeLog]
* coreutils.texi (rm invocation): Describe --one-file-system.
</content>
</entry>
<entry>
<title>* src/dd.c (flags): noatime and nofollow now depend on</title>
<updated>2006-10-05T21:39:12Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-10-05T21:39:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1fa3b5014035f324ddec26576c0283d00bfbbbef'/>
<id>urn:sha1:1fa3b5014035f324ddec26576c0283d00bfbbbef</id>
<content type='text'>
HAVE_WORKING_O_NOATIME and HAVE_WORKING_O_NOFOLLOW, too.
(usage): Output info about noatime and nofollow only if
they are known to work.
* src/remove.c (AD_push): Inspect HAVE_WORKING_O_NOFOLLOW rather
than O_NOFOLLOW, when testing whether it's possible to avoid a
race condition reliably.
</content>
</entry>
<entry>
<title>* src/remove.c (nonexistent_file_errno): Remove ENAMETOOLONG.</title>
<updated>2006-10-03T22:06:31Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-10-03T22:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a1da4a039d45f3442ddd61249d76bfd7d0382a5b'/>
<id>urn:sha1:a1da4a039d45f3442ddd61249d76bfd7d0382a5b</id>
<content type='text'>
Paul Eggert pointed out that the specified file may exist,
in spite of such an errno value.
* tests/rm/Makefile.am (TESTS): Remove ignore-name-too-long.
* tests/rm/ignore-name-too-long: Remove file.
</content>
</entry>
</feed>
