diff for duplicates of <20160426201757.GR25498@ZenIV.linux.org.uk> diff --git a/a/1.txt b/N1/1.txt index 1b22158..b0593b2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,7 +14,7 @@ directories) *and* it requires the file to be a regular one (which is redundant in case of directories, but e.g. a block device can be opened for write and ftruncate would still fail on that). EINVAL in both cases. -truncate() for directories�should fail with EISDIR (see vfs_truncate()); +truncate() for directories should fail with EISDIR (see vfs_truncate()); for anything that is neither directory nor regular - EINVAL (same place). O_TRUNC ends up failing with EISDIR on directories - see diff --git a/a/content_digest b/N1/content_digest index 04b13dc..584b069 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -27,7 +27,7 @@ "redundant in case of directories, but e.g. a block device can be opened\n" "for write and ftruncate would still fail on that). EINVAL in both cases.\n" "\n" - "truncate() for directories\303\257\302\277\302\275should fail with EISDIR (see vfs_truncate());\n" + "truncate() for directories\302\240should fail with EISDIR (see vfs_truncate());\n" "for anything that is neither directory nor regular - EINVAL (same place).\n" "\n" "O_TRUNC ends up failing with EISDIR on directories - see\n" @@ -45,4 +45,4 @@ "somebody passing it to read-only open() and the need to reject those for\n" directories same as open for write. -0c4b07cd7aea7974b13686adffe540f2c79a00676a478715f098de0a302d96ba +bc1f64a3f1765966a18128de8cd2832201be10c620ae4c6b95139eb0d3830d1a
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.