Re: style(9) questions about Copyright comment
Steve Kargl <[email protected]> Sat, 1 Aug 2026 14:52:16 -0700
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <[email protected]> |
On 8/1/26 14:43, Warner Losh wrote: > On Sat, Aug 1, 2026, 12:29 PM Steve Kargl <[email protected] > <mailto:[email protected]>> wrote: > >> In reading style(9), it states the comment with the >> the Copyright should appear as >> >> /* >> * Copyright (c) 1984-2025 John Q. Public >> */ >> >> which appears contrary with regards to practice. The >> opening line for a Copyright comment contains a minus >> sign, i.e., >> >> /*- >> * Copyright (c) 1984-2025 John Q. Public >> */ >> >> Should style(9) be fixed? > > > No. Both orders are common. > > I just updated and consolidated out copyright and licensing stuff too. > > https://docs.freebsd.org/en/articles/license-guide/ <https:// > docs.freebsd.org/en/articles/license-guide/> > > I think things are consistent now, but if I've missed anything please > let me know. > Thanks for the pointer to the URL. So, if I'm editing an older file with /*- ... */, should I leave the minus or should I remove it to be consistent with style(9). Same question applies to /**. -- steve