<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/units/units.c, branch upstream/12.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F12.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F12.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-06-19T23:43:14Z</updated>
<entry>
<title>Convert `cap_enter() &lt; 0 &amp;&amp; errno != ENOSYS` to `caph_enter() &lt; 0`.</title>
<updated>2018-06-19T23:43:14Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2018-06-19T23:43:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7672a0148f79063eac8f8e0beb0db5350d02d5d4'/>
<id>urn:sha1:7672a0148f79063eac8f8e0beb0db5350d02d5d4</id>
<content type='text'>
No functional change intended.
</content>
</entry>
<entry>
<title>units: fix some nits</title>
<updated>2018-06-16T21:07:46Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-06-16T21:07:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=943a127c89801ea40eb3c8417ccc4b931b73d01f'/>
<id>urn:sha1:943a127c89801ea40eb3c8417ccc4b931b73d01f</id>
<content type='text'>
- prefer braces to abusing the `,` operator
- mark dead function as dead
- remove dead break
</content>
</entry>
<entry>
<title>units(1): units(1) free savescr in error condition too</title>
<updated>2018-01-15T17:27:43Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-01-15T17:27:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9cd768a17735cba98c4fe80ec76e5bbdcda118c5'/>
<id>urn:sha1:9cd768a17735cba98c4fe80ec76e5bbdcda118c5</id>
<content type='text'>
CID:		978392
Reviewed by:	des
MFC After:	1 week
</content>
</entry>
<entry>
<title>units(1): add missing ':' for two short arguments</title>
<updated>2018-01-05T07:24:43Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-01-05T07:24:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=21dc7ae75beea1fbd1571dcf906c215e9e15b690'/>
<id>urn:sha1:21dc7ae75beea1fbd1571dcf906c215e9e15b690</id>
<content type='text'>
PR:		209850
MFC After:	3 days
</content>
</entry>
<entry>
<title>various: general adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:37:16Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:37:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1de7b4b805ddbf2429da511c053686ac4591ed89'/>
<id>urn:sha1:1de7b4b805ddbf2429da511c053686ac4591ed89</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

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.

No functional change intended.
</content>
</entry>
<entry>
<title>Bring a little more compability with GNU units 2.12</title>
<updated>2016-04-21T05:24:47Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2016-04-21T05:24:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c706c470e41177e3a4963a8b5907933db8e88e58'/>
<id>urn:sha1:c706c470e41177e3a4963a8b5907933db8e88e58</id>
<content type='text'>
- notionally support a 'history file' flag. This doesn't do much now,
  but is there to prevent scripts written against GNU units from
  breaking
- correctly gracefully quit rather than exit (this will make it easier
  to support a history file in the future)
- remove the "t" flag from fopen which was there to support windows. We
  have not supported windows since at the latest, the introduction of
  capsicum.
</content>
</entry>
<entry>
<title>Rename units.lib -&gt; definitions.units</title>
<updated>2016-04-19T05:17:59Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2016-04-19T05:17:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3851177de06e6eab1de91de6ba9b13bcfcc0b55f'/>
<id>urn:sha1:3851177de06e6eab1de91de6ba9b13bcfcc0b55f</id>
<content type='text'>
- this matches GNU units 2.12
add ISO country codes from units 2.12
</content>
</entry>
<entry>
<title>Remove pathnames.h</title>
<updated>2016-04-19T05:04:39Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2016-04-19T05:04:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8ae87993ed4981c2652e80ab1601cb9b90135097'/>
<id>urn:sha1:8ae87993ed4981c2652e80ab1601cb9b90135097</id>
<content type='text'>
- it only holds a single constant
- it doesn't exist in the GNU variant
</content>
</entry>
<entry>
<title>Fix interaction between libedit initialization and Capsicum</title>
<updated>2015-08-08T10:38:37Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2015-08-08T10:38:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=840a09d240affbc18b26d34461bb109d272d0d33'/>
<id>urn:sha1:840a09d240affbc18b26d34461bb109d272d0d33</id>
<content type='text'>
in units(1). The most visible is the removal of libedit warnings
about being unable to open termcap database.

Reviewed by:	eadler@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3322
</content>
</entry>
<entry>
<title>Only initialize libedit when necessary</title>
<updated>2015-06-28T16:43:07Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2015-06-28T16:43:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=619e4f78fe10c3d00e3bdd2e17d03602aefcdc05'/>
<id>urn:sha1:619e4f78fe10c3d00e3bdd2e17d03602aefcdc05</id>
<content type='text'>
The code path to support units conversions from the command line
need not initialize neither libedit nor the history.  Therefore, only do
that when in interactive mode.

This hides the issue reported in PR bin/201167 whereby running commands
of the form 'echo "$(units ft in)"' would corrupt the terminal.  The real
issue causing the corruption most likely still remains somewhere.

PR:		bin/201167
Differential Revision:	D2935
Reviewed by:	eadler
</content>
</entry>
</feed>
