<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/split/split.c, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-11-11T18:08:57Z</updated>
<entry>
<title>split: reset errno prior to getline()</title>
<updated>2022-11-11T18:08:57Z</updated>
<author>
<name>Math Ieu</name>
<email>sigsys@gmail.com</email>
</author>
<published>2022-10-27T17:01:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a7136cf2942ba895e3e7ce9d524afca1b1c8e08'/>
<id>urn:sha1:1a7136cf2942ba895e3e7ce9d524afca1b1c8e08</id>
<content type='text'>
Something else may have set errno, breaking the post-getline() logic
that tries to detect the getline() error.  This was initially noted in
a jail on a system that has HPET, in a jail that does not expose
/dev/hpet0 -- we see an earlier error in libc's vdso bits.

Fixes:	5c053aa3c5e90 ("split: switch to getline() [...]")
(cherry picked from commit 172be8642d93851b0c083d0db240cf35fd56ab0e)
</content>
</entry>
<entry>
<title>split: switch to getline() for line/pattern matching</title>
<updated>2022-11-11T18:08:46Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2022-08-23T02:05:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6a842313ca28d300beb36c0b765c10e0970b2ca'/>
<id>urn:sha1:f6a842313ca28d300beb36c0b765c10e0970b2ca</id>
<content type='text'>
Get rid of split's home-grown logic for growing the buffer; arbitrarily
breaking at LONG_MAX bytes instead of 65536 bytes gives us much more
wiggle room.  Additionally, we'll actually fail out entirely if we can't
fit a line, which makes noticing this class of problem much easier.

Reviewed by:	bapt, emaste, pauamma
Sponsored by:	Klara, Inc.

(cherry picked from commit 5c053aa3c5e907bdd1ac466ce9b58611781c2c20)
</content>
</entry>
<entry>
<title>Revert r352953: Convert pnmatch to single element array in regexec calls</title>
<updated>2019-10-02T16:08:01Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2019-10-02T16:08:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bcd34af4731db389706eda26b068ce5a880e3d9b'/>
<id>urn:sha1:bcd34af4731db389706eda26b068ce5a880e3d9b</id>
<content type='text'>
Requested by: cem
</content>
</entry>
<entry>
<title>Convert pnmatch to single element array in regexec calls</title>
<updated>2019-10-02T06:15:30Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2019-10-02T06:15:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c5672dd7b9f14f4a86f918935873acf53a77ba27'/>
<id>urn:sha1:c5672dd7b9f14f4a86f918935873acf53a77ba27</id>
<content type='text'>
The regexec function is declared as taking an array of regmatch_t
elements, and passing in the pointer to singleton element, while
correct, triggers a Coverity warning. Convert the singleton into
an array of one to silence the warning.

Reported by:	Coverity
Coverity CID:	1009732, 1009733
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>General further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-20T19:49:47Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-20T19:49:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a16b7a18f5d0b031f09832fd7752fba717e2a97'/>
<id>urn:sha1:8a16b7a18f5d0b031f09832fd7752fba717e2a97</id>
<content type='text'>
Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
</content>
</entry>
<entry>
<title>Renumber copyright clause 4</title>
<updated>2017-02-28T23:42:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-02-28T23:42:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fbbd9655e5107c68e4e0146ff22b73d7350475bc'/>
<id>urn:sha1:fbbd9655e5107c68e4e0146ff22b73d7350475bc</id>
<content type='text'>
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann &lt;jschauma@stevens.edu&gt;
Pull Request:	https://github.com/freebsd/freebsd/pull/96
</content>
</entry>
<entry>
<title>Change manual string conversion to expand_number</title>
<updated>2013-11-09T08:57:21Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-11-09T08:57:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3ebd4af7e874c6f71aac128841442c84c1f46bc2'/>
<id>urn:sha1:3ebd4af7e874c6f71aac128841442c84c1f46bc2</id>
<content type='text'>
Reviewed by:	adrian
</content>
</entry>
<entry>
<title>Avoid signed overflow in error handling code.</title>
<updated>2013-05-21T19:56:03Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-05-21T19:56:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=89c5c3aab88d115a8d6b2839fc5d24265162a43e'/>
<id>urn:sha1:89c5c3aab88d115a8d6b2839fc5d24265162a43e</id>
<content type='text'>
Reviewed by:	cperciva, bjk
</content>
</entry>
<entry>
<title>Implement 'split -d' which allows a numeric suffix instead of an</title>
<updated>2013-05-10T04:23:03Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-05-10T04:23:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f418e34078c7f45e389f96196376bb2e3360f24'/>
<id>urn:sha1:7f418e34078c7f45e389f96196376bb2e3360f24</id>
<content type='text'>
alphabetic one.

PR:		bin/116209
Submitted by:	Marcin Gryszkalis &lt;mg@fork.pl&gt; (adapted from)
Reviewed by:	will
MFC after:	1 week
</content>
</entry>
<entry>
<title>Fix warning when compiling with gcc46:</title>
<updated>2012-01-10T02:55:43Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-01-10T02:55:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af9eff1f2024d348d22658be2ab9feb5d6865b33'/>
<id>urn:sha1:af9eff1f2024d348d22658be2ab9feb5d6865b33</id>
<content type='text'>
	 error: variable 'defname' set but not use

Approved by:	dim
MFC after:	3 day
</content>
</entry>
</feed>
