Commit Graph

161 Commits

Author SHA1 Message Date
Brooks Davis
a74dca96a1 Fix two mismatches between function declaration and definition.
In both cases, function pointer arguments were inconsistently declared
and the result worked because of C's odd rules around function pointer
(de)references.  With a stricter compiler these fail to compile.

Reviewed by:	cem
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D20964
2019-07-16 16:03:08 +00:00
Mateusz Piotrowski
e896acd05e Fix a broken "SEE ALSO" section of hlfsd(8).
While here pet mandoc and igor.

Reviewed by:	bcr, eadler, krion, mat
Approved by:	krion (mentor), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D16376
2018-08-14 20:33:48 +00:00
Cy Schubert
9ee9d38672 Fix amq -i timestamp segmentation violation.
MFC after:	1 week
2018-06-19 01:33:03 +00:00
Eitan Adler
881597c36c amd: correct formatting of 'SEE ALSO' 2018-04-14 21:54:22 +00:00
Cy Schubert
ab21a37ab4 Fix mips 32-bit buildworld.
Reported by:	adrian
MFC after:	6 weeks
X-MFC with:	r308493
2016-11-14 00:33:03 +00:00
Cy Schubert
449287a2a5 MFV r305100: Update amd from am-utils 6.1.5 to 6.2.
Used extensively on my network over the past month.

Reviewed by:	pfg, brooks
Suggested by:	pfg
Obtained from:	ftp://ftp.am-utils.org/pub/am-utils/
MFC after:	6 weeks
Relnotes:	yes
Differential Revision:	D8405
2016-11-11 02:42:53 +00:00
Edward Tomasz Napierala
bb487d2b79 Mark amd(8) and all related utilities as obsolete.
Reviewed by:	wblock@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D5443
2016-02-29 16:45:10 +00:00
Pedro F. Giffuni
71501ba6e3 MFV r277870
Fix compile warnings for gcc-4.4.x
This also fixes at least a warning with clang 3.6.0
including the fix for r277841.

MFC after:	1 week
2015-01-29 15:35:55 +00:00
Pedro F. Giffuni
490f7995d3 Revert r277841: It will be re-merged through the vendor area. 2015-01-29 15:33:05 +00:00
Pedro F. Giffuni
f773f195ea MFV r277866
amd: Add extra check for NULL before deref.

CID:		274421
Obtained from:	NetBSD
MFC after:	4 days
2015-01-29 01:28:39 +00:00
Pedro F. Giffuni
395a48cfad Revert r277814: It will be re-merged through the vendor area. 2015-01-29 01:26:23 +00:00
Pedro F. Giffuni
e925d4a747 amd: flatten the tree 2015-01-28 22:55:06 +00:00
Dimitry Andric
54edb5043c Fix the following clang 3.6.0 warning in contrib/amd/hlfsd/homedir.c:
contrib/amd/hlfsd/homedir.c:497:8: error: address of array 'buf' will
always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
  if (!buf || buf[0] == '\0')
      ~^~~

In the affected function, 'buf' is declared as an array of char, so it
can never be null.  Remove the unecessary check.
2015-01-28 18:19:25 +00:00
Pedro F. Giffuni
1c139114b6 amd: Add extra check for NULL before deref.
CID:		274421
Obtained from:	NetBSD
MFC after:	5 days
2015-01-27 20:48:05 +00:00
Dag-Erling Smørgrav
696bc4a741 Remove the names of the build host and user and the build date. This
still leaves the host OS and version, but these are harder to remove.

MFC after:	3 weeks
2014-04-12 18:01:25 +00:00
Colin Percival
7d845dde8d Remove build timestamps from the following files:
/boot/kernel/hptrr.ko
/etc/mail/*.cf
/lib/libcrypto.so.5
/usr/bin/ntpq
/usr/sbin/amd
/usr/sbin/iasl
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc

There does not appear to be any purpose to having these timestamps, and
they have the irritating consequence that the aforementioned files will
be different every time they are rebuilt.

After this commit, the only remaining build timestamps are in the kernel,
the boot loaders, /usr/include/osreldate.h (the year in the copyright
notice), and lib*.a (the timestamps on all of the included .o files).

Reviewed by:	scottl (hptrr), gshapiro (sendmail), simon (openssl),
		roberto (ntp), jkim (acpica)
Approved by:	re (kib)
2009-07-11 22:30:37 +00:00
David E. O'Brien
df1cc4e53a Update for the 6.1.5 import. 2007-12-11 19:16:51 +00:00
Ruslan Ermilov
f5fc87f816 More fixes. 2007-12-07 20:22:59 +00:00
Ruslan Ermilov
2d15ec09ec Revise the man->mdoc conversion of the amd manpages. 2007-12-07 20:16:21 +00:00
David E. O'Brien
509fcedcfe Futher vendor branch cleanup. 2007-12-06 16:41:22 +00:00
David E. O'Brien
7c9ffcdafc Remove files retired by the vendor.
Grrr.. these should have been removed on the vendor branch vs. HEAD.
I got it right in my test repo, but it was pre-cafine dark-thirty when
I started the real import.
2007-12-06 16:39:27 +00:00
David E. O'Brien
aa1670f3e4 Put stock 6.1.5 file into HEAD. 2007-12-05 16:57:05 +00:00
David E. O'Brien
1e2f6b2e5f Not sure why mbr deleted this file - its useful. 2007-12-05 16:56:42 +00:00
David E. O'Brien
6c35d3a23a 2005-05-28 Erez Zadok <ezk@cs.sunysb.edu>
* libamu/alloca.c: remove file from distro.
2007-12-05 16:18:44 +00:00
David E. O'Brien
654a1788fb 2005-10-02 Erez Zadok <ezk@cs.sunysb.edu>
* libamu/strutil.c: rename from util.c to explain better purpose
	of file.
2007-12-05 16:16:56 +00:00
David E. O'Brien
0b9f1067ff 2005-03-05 Ion Badulescu <ionut@moisil.badula.org>
* amd/amfs_inherit.c: removed, dead code
2007-12-05 16:05:26 +00:00
David E. O'Brien
f126af8a17 Include support for FreeBSD's <fs/msdosfs/msdosfsmount.h>.
Also <ufs/ufs/ufsmount.h> is safe to use.
2007-12-05 16:03:52 +00:00
David E. O'Brien
e980435124 Merge rev. 1.7 (change mounting directory to match traditional FreeBSD
/etc/defaults/rc.conf) into 6.1.5.
2007-12-05 16:00:42 +00:00
David E. O'Brien
108897f10c Merge the 6.0.10p1 -> 6.1.5 changes into our manpages. 2007-12-05 15:59:34 +00:00
David E. O'Brien
ad8bcc147f Virgin import of AMD (am-utils) v6.1.5
Sponsored by: Juniper Networks
2007-12-05 15:48:03 +00:00
David E. O'Brien
16fdd0c062 This commit was generated by cvs2svn to compensate for changes in r174294,
which included commits to RCS files with non-trunk default branches.
2007-12-05 15:48:03 +00:00
David E. O'Brien
a64b8e0693 Delete from the vendor brach a few things that are dead on head.
(they should have been removed here instead of on HEAD in the first place...)
2007-12-05 14:20:32 +00:00
David E. O'Brien
7f01583f2f This commit was generated by cvs2svn to compensate for changes in r174289,
which included commits to RCS files with non-trunk default branches.
2007-12-05 14:20:32 +00:00
David E. O'Brien
f4edc3d2ae Delete from the vendor brach a few things that are dead on head.
(they should have been removed here instead of on HEAD in the first place...)
2007-12-01 23:05:01 +00:00
Pav Lucistnik
61318fdcca Fix -D description to read debug_options
PR:		doc/97939
Submitted by:	Serg Podtynnyi <n-ice@yandex.ru>
MFC after:	1 week
2007-05-12 10:25:31 +00:00
Alexander Kabaev
9dd50a972f Remove conflicting extern decralaration for mboxfile variable.
It is defined as static in implementation file.
2007-04-06 15:51:35 +00:00
Xin LI
572a2b3303 Correct a typo: In order to make fixmount(8) quite, one should
use -q, not -v.
2006-04-18 03:33:17 +00:00
Jesus R. Camou
93cf1a68a6 Update URL and email address.
Approved by:	trhodes (mentor)
20 day timeout:	mbr (did not reply, mentor approved commit)
2005-09-02 06:30:41 +00:00
Giorgos Keramidas
56a436ed7b Spell "referred" correctly. 2005-07-28 13:03:19 +00:00
Ruslan Ermilov
c1c9502bf7 Apply a series of scripts to automatically fix some markup bugs.
Approved by:	re (blanket)
2005-06-16 20:21:03 +00:00
Ruslan Ermilov
0227791b40 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
Tom Rhodes
1cef902abd Use .Xr in place of .I for Xref's.
PR:		71730
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (original patch)
Commit ok:	mbr (through GNATS PR)
2004-10-15 12:50:05 +00:00
Martin Blapp
f5aa5bd51b Readd accidently deleted file. 2004-07-06 14:14:26 +00:00
Martin Blapp
cef9241945 Check if dirmask' is a member of pcfs_args_t'.
A diff to the autoconf aux-files has been submitted to
the amd people.

PR:		57401
Submitted by:	Andre Albsmeier <andre.albsmeier@siemens.com>
2004-07-06 13:44:14 +00:00
Martin Blapp
472c8565d6 Resolve conflicts for am-utils-6.0-10p1 (am-utils-6.0-20040513)
import:

- Fix typo in amd/nfs_prot_svc.c
- Manpage change in scripts/amd.conf.5
- Remove unneeded configure files
- Remove unneeded m4/macros
2004-07-06 13:16:49 +00:00
Martin Blapp
9b16c3abd4 Virgin import of AMD (am-utils) v6.0.10p1 2004-07-06 12:55:44 +00:00
Martin Blapp
aeaacd1b8e This commit was generated by cvs2svn to compensate for changes in r131702,
which included commits to RCS files with non-trunk default branches.
2004-07-06 12:55:44 +00:00
Martin Blapp
9ad99e2232 Add some unneeded files to the Xlist in preparation for the new
amd import.
2004-07-06 12:52:27 +00:00
Martin Blapp
cdf6449a93 Add a list of all local changed files. All these files have been taken
of the vendor tree.
2004-05-14 13:29:48 +00:00
Martin Blapp
8f6ee9c9d5 We don't need these files. Add the to the x-list. 2004-05-14 13:28:37 +00:00