Don Lewis
7b06334915
Use strlcpy() instead of strncpy() when copying ifname to ensure
...
that it is NUL terminated. Additional NUL padding is not required
for short names.
Reported by: Coverity
CID: 974852
MFC after: 1 week
2016-05-15 21:45:04 +00:00
Pedro F. Giffuni
80c7cc1c8f
Cleanup unnecessary semicolons from utilities we all love.
2016-04-15 22:31:22 +00:00
Marcelo Araujo
a5de41c600
Use NULL instead of 0 for pointers.
...
fopen(3) will return NULL in case it can't open the STREAM.
2016-04-14 12:53:38 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
98e0ffaefb
Merge sync of head
2015-05-27 01:19:58 +00:00
Baptiste Daroussin
c6db8143ed
Convert usr.sbin to LIBADD
...
Reduce overlinking
2014-11-25 16:57:27 +00:00
Simon J. Gerraty
ee7b0571c2
Merge head from 7/28
2014-08-19 06:50:54 +00:00
Baptiste Daroussin
01c2b8ac0d
use .Mt to mark up email addresses consistently (part2)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:57:27 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
Simon J. Gerraty
23090366f7
Sync from head
2012-11-04 02:52:03 +00:00
Ed Schouten
98e695d7fd
Rework time handling.
...
After I made the previous commit, I noticed the code does some things it
shouldn't. It casts a struct timeval to a time_t, assuming tv_sec is the
first member. Also, we are not interested in microseconds, so it is
better to just call time(NULL).
MFC after: 1 month
2012-09-01 10:56:15 +00:00
Ed Schouten
21fe0af7aa
Remove unneeded struct timezone.
...
We're only interested in a timestamp -- not the timezone.
2012-09-01 10:48:38 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Joel Dahl
748611c9c0
mdoc: fix column names, indentation, column separation within each row, and
...
quotation. Also make sure we have the same amount of columns in each row as
the number of columns we specify in the head arguments.
Reviewed by: brueffer
2012-04-07 09:05:30 +00:00
Ulrich Spörlein
cffd173436
lmcconfig(8): bump to WARNS=3, fix typo in usage while here
...
Slight style(9) improvments
- function definitions
- sort #include
2010-12-20 19:08:15 +00:00
Ulrich Spörlein
057747a467
Fix type used to hold fgetc(3) output, this should help arm and powerpc
...
which have char == unsigned char
2010-12-20 19:08:07 +00:00
Ulrich Spörlein
4f1ccb4be0
Remove useless conditional.
...
`vga' cannot be less than 0x3f when reaching the check.
Coverity Prevent: CID 5196
2010-12-20 19:07:48 +00:00
Joel Dahl
c2025a7660
Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
...
translating these manual pages. Minor corrections by me.
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2010-08-16 15:18:30 +00:00
Ed Schouten
71ccf09269
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
Warner Losh
6e9ee60152
Include string.h for strncpy prototype
...
Include strings.h for bcopy and bzero prototype
2009-02-19 19:45:49 +00:00
Ruslan Ermilov
458c311721
Style.
2006-09-01 09:24:28 +00:00
Ruslan Ermilov
a5b0d9050a
[mdoc] add missing space before a punctuation type argument.
2005-12-13 17:07:52 +00:00
Ruslan Ermilov
abfb299cfc
- Stop talking about non-FreeBSD stuff (mostly because it's hard
...
to keep this info up-to-date as time goes by).
- Revise the markup.
2005-11-24 16:03:09 +00:00
Scott Long
6fa40729c8
Add the lmcconfig tool for controlling the lmc driver. Add man pages and
...
glue.
Submitted by: David Boggs
2005-10-03 07:09:41 +00:00