<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/remove.c, branch v8.9</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.9</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2011-01-01T21:16:47Z</updated>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2011-01-01T21:16:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-01-01T10:37:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9d6231ef2a74671fa08bc263519edfe46e8d1805'/>
<id>urn:sha1:9d6231ef2a74671fa08bc263519edfe46e8d1805</id>
<content type='text'>
Run "make update-copyright".
</content>
</entry>
<entry>
<title>coreutils: keep lines within 80-column limits</title>
<updated>2010-12-28T20:30:42Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-12-28T20:28:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b0097f3d2180352896a4434fb8eaeb076f12794c'/>
<id>urn:sha1:b0097f3d2180352896a4434fb8eaeb076f12794c</id>
<content type='text'>
* cfg.mk (LINE_LEN_MAX, FILTER_LONG_LINES): New macros.
(sc_long_lines): New rule.
* HACKING: Use shorter URLs to the same material.
* doc/Makefile.am, doc/coreutils.texi, m4/boottime.m4:
* man/help2man, man/stdbuf.x, src/Makefile.am, src/cat.c, src/copy.c:
* src/cp.c, src/dd.c, src/df.c, src/du.c, src/groups.c, src/install.c:
* src/ls.c, src/md5sum.c, src/mv.c, src/od.c, src/pinky.c, src/ptx.c:
* src/readlink.c, src/remove.c, src/rmdir.c, src/setuidgid.c:
* src/sort.c, src/tail.c, src/touch.c, tests/Coreutils.pm:
* tests/cp/existing-perm-race, tests/cp/perm, tests/cp/preserve-gid:
* tests/du/2g, tests/du/long-from-unreadable, tests/init.sh:
* tests/install/basic-1, tests/ls/nameless-uid:
* tests/ls/readdir-mountpoint-inode, tests/misc/chroot-credentials:
* tests/misc/cut, tests/misc/date, tests/misc/join, tests/misc/md5sum:
* tests/misc/sha1sum, tests/misc/sha224sum, tests/misc/sort:
* tests/misc/sort-continue, tests/misc/sort-files0-from:
* tests/misc/sort-rand, tests/misc/stdbuf, tests/misc/tr:
* tests/misc/uniq, tests/mv/atomic, tests/mv/part-fail:
* tests/mv/part-symlink, tests/mv/sticky-to-xpart, tests/pr/pr-tests:
* tests/rm/fail-2eperm, tests/rm/interactive-always:
Reformat to fit within 80 columns.
* doc/Makefile.am (BAD_POSIX_PERL): New macro.
* doc/coreutils.texi: Reword slightly, to make menus and
index lines shorter.
* src/md5sum.c: Redo --help output so that it fits within 79
columns, since that's a bit more portable and all the other --help
strings fit in 79 columns.
</content>
</entry>
<entry>
<title>remove: without -f, avoid unnecessary-expense/issues with euidaccess</title>
<updated>2010-03-10T10:05:18Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-03-06T12:16:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=998fe29301083246f16738a5f42ccb9d15fd85ea'/>
<id>urn:sha1:998fe29301083246f16738a5f42ccb9d15fd85ea</id>
<content type='text'>
* src/remove.c (write_protected_non_symlink): If faccessat fails,
return 1 or -1 directly, rather than falling back on euidaccess*.
</content>
</entry>
<entry>
<title>remove.c: remove three unnecessary #include directives</title>
<updated>2010-02-15T18:26:30Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-02-14T10:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=58c98f23429b17ce9b90bc92fe31fa027edeec91'/>
<id>urn:sha1:58c98f23429b17ce9b90bc92fe31fa027edeec91</id>
<content type='text'>
* src/remove.c: Don't include hash.h, hash-pjw.h or obstack.h.
They have been unused since the fts rewrite.
</content>
</entry>
<entry>
<title>maint: update all FSF copyright year lists to include 2010</title>
<updated>2010-01-01T13:06:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-01T09:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1aa17dc89b3f313697661541adca0aa0defbdc09'/>
<id>urn:sha1:1aa17dc89b3f313697661541adca0aa0defbdc09</id>
<content type='text'>
Use this command:
git ls-files | grep -v COPYING \
  | xargs env UPDATE_COPYRIGHT_USE_INTERVALS=1 \
      build-aux/update-copyright
</content>
</entry>
<entry>
<title>rm: fix --one-file-system regression due to fts conversion</title>
<updated>2009-12-19T01:14:07Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-12-18T12:26:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d64c186d8e28d99ece16e591f6823a1da904ac44'/>
<id>urn:sha1:d64c186d8e28d99ece16e591f6823a1da904ac44</id>
<content type='text'>
* src/remove.c (rm_fts): Fix incorrect comparison of
device and inode numbers.
* tests/rm/one-file-system2: Add a separate test so
that it can be run as a normal user (It doesn't need to mount).
* tests/Makefile.am: Reference it.
* NEWS: Mention the fix.
Reported by Jan Larres.
</content>
</entry>
<entry>
<title>maint: factor out cycle warning, now that du will use it, too</title>
<updated>2009-11-05T07:32:31Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-11-05T07:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=38cb824673a53062ab0d2ee843cdf58affc17e04'/>
<id>urn:sha1:38cb824673a53062ab0d2ee843cdf58affc17e04</id>
<content type='text'>
* src/system.h (emit_cycle_warning): Define.  Factored out of...
* src/remove.c (rm_fts): ...here.  Use the new macro.
</content>
</entry>
<entry>
<title>rm -f: ignore EROFS when it's really ENOENT</title>
<updated>2009-11-03T13:14:00Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-11-03T11:01:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7bf2e3db23bd0a9ed59d95a683edd188fa52a033'/>
<id>urn:sha1:7bf2e3db23bd0a9ed59d95a683edd188fa52a033</id>
<content type='text'>
rm -f must not print a diagnostic for a nonexistent file.  However,
most linux-based kernel unlinkat functions set errno to EROFS when
the named file (regardless of whether it exists) would lie on a
read-only file system.  remove.c now performs an extra fstatat call
in that case, to determine whether the file exists.
* src/remove.c (excise): Map EROFS to ENOENT, if a file is nonexistent.
Reported by Steven Drake in &lt;http://savannah.gnu.org/bugs/?27923&gt;.
* NEWS (Changes in behavior): Mention it.
</content>
</entry>
<entry>
<title>rm: avoid compiler warning</title>
<updated>2009-09-11T12:08:58Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2009-09-04T04:45:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=398749b0cc49773320e6bc56eafabe7e85437412'/>
<id>urn:sha1:398749b0cc49773320e6bc56eafabe7e85437412</id>
<content type='text'>
* src/remove.c (rm_fts): Don't allow fall-through when assertions
are disabled.
</content>
</entry>
<entry>
<title>rm: use gnulib faccessat</title>
<updated>2009-09-11T12:08:58Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2009-09-04T03:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c7563435034fe72cb7fa4f8129062f18eef2906d'/>
<id>urn:sha1:c7563435034fe72cb7fa4f8129062f18eef2906d</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add faccessat.  Replace strdup
with strdup-posix.
* m4/jm-macros.m4 (coreutils_MACROS): Revert previous change, now
that gnulib does it for us.
* src/remove.c (write_protected_non_symlink): Use faccessat in
more situations.
</content>
</entry>
</feed>
