<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/seq/seq.c, branch releng/13.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:26Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:26Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d497e17ebd33fe0f58d773e35ab994d750258d6'/>
<id>urn:sha1:3d497e17ebd33fe0f58d773e35ab994d750258d6</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in main:
(cherry picked from commit 1d386b48a555)
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD</title>
<updated>2023-07-25T15:15:32Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f73b4bf27cf50bcd9224b6011197886f4c494f78'/>
<id>urn:sha1:f73b4bf27cf50bcd9224b6011197886f4c494f78</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix

(cherry picked from commit b61a573019428cbdc38ed03be9ecd2482011ea66)
</content>
</entry>
<entry>
<title>seq: combine asprintf return value checks</title>
<updated>2023-07-17T15:48:28Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2023-06-19T02:10:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed942d5a173870e786fd422c9edfbe5037626b4b'/>
<id>urn:sha1:ed942d5a173870e786fd422c9edfbe5037626b4b</id>
<content type='text'>
Error handling is identical for all of these failure cases.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 5dae8905a5141e0cba1f4f3f94116440a5ce2abb)
</content>
</entry>
<entry>
<title>seq: fix check for rounding error/truncation</title>
<updated>2023-06-26T16:30:31Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2023-06-19T01:37:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=70af4d57c18fbcb46e3d7d7501cad756f812bed3'/>
<id>urn:sha1:70af4d57c18fbcb46e3d7d7501cad756f812bed3</id>
<content type='text'>
Based on OpenBSD 30f0fd29ba6c:
&gt; We need to compare the printable version of the last value displayed,
&gt; not the floating point representation.  Otherwise, we may print the
&gt; last value twice.

PR:		271964
Reported by:	Daniel Kolesa
Reviewed by:	yuripv
Obtained from:	OpenBSD
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D40601

(cherry picked from commit e54db9a9ccd588f650a2e57bf9d1cbbafc0e12eb)
</content>
</entry>
<entry>
<title>seq: fix style nits</title>
<updated>2023-06-26T16:30:31Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2022-09-30T17:38:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5b59888c3d0dab25d672a0c2e8eba3ba938ff2f7'/>
<id>urn:sha1:5b59888c3d0dab25d672a0c2e8eba3ba938ff2f7</id>
<content type='text'>
MFC after:	2 weeks

(cherry picked from commit 6da5e5d649ba255d41318daccc24e7af6984e0b1)
</content>
</entry>
<entry>
<title>seq: fix potential NULL ptr reference</title>
<updated>2023-06-26T16:30:31Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2022-09-30T17:36:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6403f0ac1281a9f95f387c98ef17f88f59714e56'/>
<id>urn:sha1:6403f0ac1281a9f95f387c98ef17f88f59714e56</id>
<content type='text'>
asprintf(3) allocates memory, and there isn't any guarantee of success.

MFC after:	2 weeks
Obtained from:  OpenBSD

(cherry picked from commit 94c4f663bab58ec07584786dd76866011d5b2506)
</content>
</entry>
<entry>
<title>seq(1): Require user-provided format strings to contain a conversion</title>
<updated>2019-03-07T18:24:16Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-03-07T18:24:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=905fdc3ff1c2e58478d205cd78d904ffa1f738d4'/>
<id>urn:sha1:905fdc3ff1c2e58478d205cd78d904ffa1f738d4</id>
<content type='text'>
This matches GNU seq, for example.

For users that are looking for similar functionality, 'jot -b foo N' will
print 'foo' N times.  See jot(1).

PR:		236347
Reported by:	&lt;y AT maya.st&gt;
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>seq(1): Move long_opts up with globals</title>
<updated>2018-05-02T01:04:13Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2018-05-02T01:04:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ad4e78b50a80361e164ee6885b6107692ba44463'/>
<id>urn:sha1:ad4e78b50a80361e164ee6885b6107692ba44463</id>
<content type='text'>
</content>
</entry>
<entry>
<title>seq(1): Provide some long options</title>
<updated>2018-04-30T18:55:01Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2018-04-30T18:55:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a3f2c2feb132de5f141fbcae860ce6ab37a7a86d'/>
<id>urn:sha1:a3f2c2feb132de5f141fbcae860ce6ab37a7a86d</id>
<content type='text'>
These match GNU seq(1) names where applicable for compatibility purposes.

MFC after:	1 month
</content>
</entry>
<entry>
<title>seq(1): Consistently include 'last' for non-integers</title>
<updated>2018-02-27T22:01:40Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2018-02-27T22:01:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3049d4ccc031e5d4d0ff6b9a2445131f507778f2'/>
<id>urn:sha1:3049d4ccc031e5d4d0ff6b9a2445131f507778f2</id>
<content type='text'>
The source of error is a rounded increment being too large and thus the loop
steps slightly past 'last'.  Perform a final comparison using the formatted
string values (truncated precision) to determine if we still need to print
the 'last' value.

PR:		217149
Submitted by:	Fernando Apesteguía &lt;fernando.apesteguia AT gmail.com&gt;,
		Yuri Pankov &lt;yuripv AT icloud.com&gt; (earlier version)
Reported by:	Martijn Dekker &lt;mcdutchie AT hotmail.com&gt;
Sponsored by:	Dell EMC Isilon
</content>
</entry>
</feed>
