summaryrefslogtreecommitdiff
path: root/lib/libutil/trimdomain.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified 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. Notes: svn path=/head/; revision=326219
* When removing the local domain, only do so when the result will be aBrooks Davis2005-10-051-3/+1
| | | | | | | | | | | | host name. This is matches the documented behaviro. The previous behavior would remove the domain name even if the result retained a dot. This fixes rsh connections from a.example.com to example.com. Reviewed by: ceri (at least the concept) Notes: svn path=/head/; revision=150955
* ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.Mark Murray2003-10-181-3/+4
| | | | Notes: svn path=/head/; revision=121193
* Add __FBSDID()s to libutilMatthew Dillon2001-09-301-4/+2
| | | | Notes: svn path=/head/; revision=84225
* Fix some further style nitsBrian Somers2001-03-171-8/+11
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=74386
* Actually commit the new version of trimdomain *blush*Brian Somers2001-03-151-70/+80
| | | | | | | Thanks for covering my blunder to: peter Notes: svn path=/head/; revision=74288
* It would help if trimdomain.c was actually committed. This is a stopgapPeter Wemm2001-03-151-0/+105
world-unbreaker until Brian Somers commits the one he intended to. Pointy Hat to: brian Notes: svn path=/head/; revision=74266