brooks
87f2281f65
When removing the local domain, only do so when the result will be a
...
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)
2005-10-05 04:42:20 +00:00
markm
3f45792057
ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.
2003-10-18 10:04:16 +00:00
dillon
3f4eabe659
Add __FBSDID()s to libutil
2001-09-30 22:35:07 +00:00
brian
bc0c19b69b
Fix some further style nits
...
Pointed out by: bde
2001-03-17 10:09:52 +00:00
brian
bb83c51dcc
Actually commit the new version of trimdomain *blush*
...
Thanks for covering my blunder to: peter
2001-03-15 08:30:05 +00:00
peter
4d393db0d4
It would help if trimdomain.c was actually committed. This is a stopgap
...
world-unbreaker until Brian Somers commits the one he intended to.
Pointy Hat to: brian
2001-03-15 00:15:22 +00:00