<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/extent-scan.c, branch v8.18</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.18</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2012-05-02T08:31:47Z</updated>
<entry>
<title>maint: with split lines, don't leave an operator at end of line</title>
<updated>2012-05-02T08:31:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-01T00:46:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b8a6996e258a2c30de40fb20cab0d17a38c3eff2'/>
<id>urn:sha1:b8a6996e258a2c30de40fb20cab0d17a38c3eff2</id>
<content type='text'>
* src/copy.c (copy_reg): Split an expression before a binary operator,
not after it.
* src/cut.c (set_fields): Likewise.
* src/id.c (main): Likewise.
* src/install.c (setdefaultfilecon): Likewise.
* src/join.c (ignore_case): Likewise.
* src/pr.c (cols_ready_to_print, init_parameters, print_page): Likewise.
* src/stty.c (set_window_size): Likewise.
* src/wc.c (SUPPORT_OLD_MBRTOWC): Likewise.
* src/who.c (scan_entries): Likewise.
* src/test.c (binary_operator): Join a split line.
* src/extent-scan.c (extent_scan_read): Move an "&gt;" from end of line
to beginning of the following.
Likewise for two other expressions.
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2012-01-01T09:04:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-01T08:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5111aa42968262bd4d44eeca277b194020bb5007'/>
<id>urn:sha1:5111aa42968262bd4d44eeca277b194020bb5007</id>
<content type='text'>
Run "make update-copyright".
</content>
</entry>
<entry>
<title>build: avoid a fiemap compile failure on some systems</title>
<updated>2011-07-15T09:55:04Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2011-07-15T08:51:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4f71710c420caa8d9efa93fb30c308976be0eda0'/>
<id>urn:sha1:4f71710c420caa8d9efa93fb30c308976be0eda0</id>
<content type='text'>
* src/fiemap.h (struct fiemap): Adjust the previous change
to the fiemap_extents array, which would also require changes
to the sizeof calculations in extent_scan_read().
Instead, only declare the fiemap_extents zero length array
on linux, which is the only platform that references this member.
This avoids a compilation failure on systems that don't support
this non standard construct.  We don't use the equivalent C99
flexible array construct so as to have maximum portability.
* src/extent-scan.c: Cleanup. Remove a redundant #ifndef.
</content>
</entry>
<entry>
<title>maint: enforce cpp indentation policy</title>
<updated>2011-05-26T20:10:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-05-25T10:31:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d7e23652039b5e145ab0d809a7de75ebb3facc24'/>
<id>urn:sha1:d7e23652039b5e145ab0d809a7de75ebb3facc24</id>
<content type='text'>
* cfg.mk (sc_preprocessor_indentation): New test, from libvirt.
Exempt 3 files from new cppi test.
* gl/lib/randread.c: Adjust cpp indentation to comply.
* src/extent-scan.c (extent_need_sync): Likewise.
</content>
</entry>
<entry>
<title>copy: always use FIEMAP_FLAG_SYNC, for now</title>
<updated>2011-04-20T15:11:15Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-04-20T07:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9bcd045f812a75cf96ba392bc45529422f87c088'/>
<id>urn:sha1:9bcd045f812a75cf96ba392bc45529422f87c088</id>
<content type='text'>
* src/extent-scan.c (extent_need_sync): Always return true,
to make the sole caller always use FIEMAP_FLAG_SYNC.
This will doubtless have an undesirable performance impact,
but we'll mitigate that shortly, by using extent_copy only on
files with holes.
</content>
</entry>
<entry>
<title>maint: remove unnecessary inclusion of &lt;stdio.h&gt;</title>
<updated>2011-04-12T10:14:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-04-12T10:14:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=53ee2679452819d97d599c6fdd3c72a3eeaf7823'/>
<id>urn:sha1:53ee2679452819d97d599c6fdd3c72a3eeaf7823</id>
<content type='text'>
* src/extent-scan.c: Don't include &lt;stdio.h&gt;.  It was not used.
</content>
</entry>
<entry>
<title>maint: remove doubled words in comments, e.g., s/to to/to/</title>
<updated>2011-04-11T12:32:55Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-04-09T21:23:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b2dfc3b5e52bde06d3ef07bcc12e8dfb00f13634'/>
<id>urn:sha1:b2dfc3b5e52bde06d3ef07bcc12e8dfb00f13634</id>
<content type='text'>
* tests/ls/color-norm: s/to to/to/
* gl/lib/mbsalign.h (mbs_align_t): s/or or/or/
* src/extent-scan.c (extent_scan_read): s/the the/the/
* src/libstdbuf.c: s/the the/the/
* tests/misc/stdbuf: s/on on/on/
* ChangeLog-2005: s/for\n\tfor /for\n\t/
</content>
</entry>
<entry>
<title>copy: handle mergeable extents across fiemap scans</title>
<updated>2011-04-06T22:15:19Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2011-04-05T10:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=18f5a8537c49d87a7ba5c3fa0bcf9215bf9877a7'/>
<id>urn:sha1:18f5a8537c49d87a7ba5c3fa0bcf9215bf9877a7</id>
<content type='text'>
* extent-scan.h (extent_scan_free): Init the pointer to NULL,
and reset the count to 0, so that we can realloc the buffer.
* src/extent-scan.c (extent_scan_init): Likewise.
(extent_scan_read): Loop over multiple fiemap scans, so we handle
mergeable extents that span across fiemap scan boundaries.  Once
we have enough unique extents, return so as to minimize memory use.
</content>
</entry>
<entry>
<title>maint: prohibit direct use of strncmp: prefer STREQ_LEN, STRNCMP_LIT</title>
<updated>2011-04-03T19:55:27Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-03-31T15:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=03583f8d646f4cc4d5f91b7ed763c147a00e2f44'/>
<id>urn:sha1:03583f8d646f4cc4d5f91b7ed763c147a00e2f44</id>
<content type='text'>
* cfg.mk (sc_prohibit_strncmp): New rule, mostly from libvirt.
* src/system.h (STREQ_LEN, STRPREFIX, STRNCMP_LIT): Define.
* src/df.c (get_dev, get_point): Convert.
* src/extent-scan.c (extent_need_sync): Likewise.
* src/ls.c (is_colored, decode_switches): Likewise.
(parse_ls_color, (print_color_indicator): Likewise.
* src/md5sum.c (split_3): Likewise.
* src/split.c (main, emit_ancillary_info): Likewise.
* src/tr.c (look_up_char_class): Likewise.
* src/uname.c (main): Likewise.
* src/who.c (scan_entries): Likewise.
</content>
</entry>
<entry>
<title>copy: require fiemap sync also for 2.6.38 kernels</title>
<updated>2011-04-03T10:16:27Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-04-02T17:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1c3654cb1fb0d8f3c422c766028d0783a40f4a42'/>
<id>urn:sha1:1c3654cb1fb0d8f3c422c766028d0783a40f4a42</id>
<content type='text'>
* src/extent-scan.c (extent_need_sync): Require sync also for 2.6.38.
Without this, part of the cp/fiemap-empty test would fail both on
F15-to-be (2.6.38.1-6.fc15.x86_64) and rawhide.  For details, see
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22190
</content>
</entry>
</feed>
