mrg
2beab49a06
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
mycroft
9c56569322
Change some variable names to reflect changes in the previous revision.
1998-05-05 08:59:56 +00:00
tv
5c58321a6f
mk-amd-map severe breakage fixes as pointed out by noud@knot.nl:
...
- use dbm_close() so that the file actually gets written to disk
- rename %s.db, not *s.{dir,pag}; we use Berkeley DB, not ndbm.
1998-04-23 11:51:07 +00:00
tv
a40db43400
missed 3 lines on sync
1998-04-12 21:38:58 +00:00
tv
3d6a264267
sync with Makefile.inc
1998-04-12 21:09:35 +00:00
tv
5321eb363d
PIC systems no longer build libamu.a; depend them on libamu_pic.a.
1998-04-12 20:45:05 +00:00
tv
99a2626b0e
Make use of NOSTATICLIB addition to <bsd.lib.mk>
1998-04-09 00:52:06 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
tv
e1463ca305
sync with install changes from amd/Makefile
1998-04-07 19:33:09 +00:00
tv
ecaca3d6a7
No build environment is installed for libamu; install only the shared
...
library, and only if on a non-NOPIC system.
1998-04-07 16:36:02 +00:00
mrg
90abe03d9c
use static int instead of static
1998-03-30 02:37:43 +00:00
fvdl
6559ed7a58
Fix these for ufs/ufs/ufsmount.h usage. Missed in the merge.
1998-03-01 23:48:58 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
wrstuden
6cd4f9d65d
Up the minor number for libamu.so to 1. The update in January
...
added new routines, so we have a new interface.
Aproved by christos.
1998-02-20 07:43:09 +00:00
perry
3fe138c146
RCS Id Police.
1998-01-09 08:03:16 +00:00
christos
1815a8d4a4
Resolve RCSID conflicts; hopefully this is the last time :-)
1997-10-26 00:24:41 +00:00
christos
5d8bee0f9f
New version from Erez
1997-10-26 00:02:11 +00:00
lukem
0a94f4f077
use CPPFLAGS instead of CFLAGS
1997-10-25 06:57:53 +00:00
lukem
6e1d64c8d1
quieten gcc -Wall
1997-10-23 06:29:16 +00:00
lukem
f0fe153c0a
use CPPFLAGS instead of CFLAGS
1997-10-23 06:27:34 +00:00
lukem
f5bf267d90
enable WARNS=1 by default, but disable in unclean 3rd party code
1997-10-18 06:42:25 +00:00
lukem
df4958aa0b
getopt returns -1 not EOF
1997-10-17 00:07:21 +00:00
lukem
f0923775df
fix race condition when building libamu with make -j
1997-10-16 05:18:41 +00:00
christos
fcc796698e
Fix printf format warnings.
1997-10-10 16:12:10 +00:00
christos
81dbba7d10
PR/4082, PR/4149: amd dumps core if a server is down, amd cannot mount
...
filesystems from servers that fail the portmapper version test [lanman].
1997-10-10 16:11:12 +00:00
christos
c1b53cf091
Fix remaining warnings.
1997-09-26 17:08:09 +00:00
christos
5d124d82c6
Resolve conflicts; Damned RCSid's... I should fix the amd2netbsd script
...
to strip them.
1997-09-26 16:59:40 +00:00
christos
04c4910102
Import am-utils-6.0a12
1997-09-26 16:05:48 +00:00
veego
c219cd3ba0
Restore revision 1.3: 'make depend' needs a config_local.h in the SRCS=
...
line of libamu/Makefile
1997-09-23 08:46:25 +00:00
veego
1a9080a871
Restore one change from revision 1.4: 'make depend' needs a config_local.h
...
in the SRCS= line of libamu/Makefile
1997-09-23 08:40:57 +00:00
christos
2903fbdf71
Resolve conflicts.
1997-09-22 22:09:51 +00:00
christos
30d4fdf78e
Import am-utils-6.0a11
1997-09-22 21:11:12 +00:00
veego
2e55dbcfd0
Sync it for libamu/Makefile.
1997-09-07 21:56:12 +00:00
thorpej
aeeac5d7fd
Fix usage with NIS+ servers in NIS compat mode, which was lost in the
...
last amd update. From Matthieu Herrb <matthieu@laas.fr>, PR #4023 .
1997-08-26 19:47:19 +00:00
christos
031eafc65a
PR/3939: enami tsugutomo: amd fails to detect endianness.
1997-08-05 12:02:49 +00:00
veego
fef34ddd17
Add config_local.h to SRCS so it is created before a make depend.
...
Finnaly fixes pr#3919.
1997-07-28 13:08:05 +00:00
christos
3b1ba66d76
- Make the yacc .h file generation more sane from Juergen Hannken-Illjes
...
- PR/3919: Thorsten Frueauf: Add config_local.h to CLEANFILES and remove
it from the repository.
1997-07-28 00:46:55 +00:00
christos
5653c61f64
Restore from death.
1997-07-25 00:29:21 +00:00
christos
4c3f8ff516
Remove unnecessary files.
1997-07-25 00:21:57 +00:00
christos
eab39f597e
Commit am-utils6.0a8
1997-07-24 23:16:10 +00:00
christos
5feec48523
Import of Erez Zadok's am-utils
1997-07-24 21:19:53 +00:00
cgd
c917dfb5b2
Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
...
.Dd is supposed to be invoked like:
.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
gwr
10e180cc49
Back out the .PATH.c changes. The .depend problem (and others)
...
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e
Use .PATH.c: ...
1997-05-06 20:44:56 +00:00
veego
3a388c65c6
s/if_ether.h/if_inarp.h/
1997-03-16 17:20:48 +00:00
mouse
ee6a5b2cd6
alternate -> alternative, per PR 2643
1997-03-08 14:24:19 +00:00
mikel
a1e8465484
fix typo; PR bin/3038.
1996-12-24 02:44:58 +00:00
thorpej
b71cc83108
Do a 64-bit `friendliness' sweep, making amd(8) work on the alpha.
...
XXX These aren't the prettiest diffs in the world, but making them
XXX nicer would require a bit of restructuring of the code and
XXX possible amq protocol.
1996-12-04 22:59:01 +00:00
christos
1b15732725
<machine/endian.h> -> <sys/types.h>
1996-10-13 01:15:03 +00:00
fvdl
e5687b1276
Add PRECISE_SYMLINKS define (part of fix in PR #1917 )
1996-05-23 22:51:02 +00:00
mrg
290aca3136
use LOG_INFO to say NIS isn't running.
1996-05-21 11:03:14 +00:00
christos
0e44adb42e
Fix PR/2395: Segmentation fault de-referencing unitialized fp.
1996-05-12 15:35:09 +00:00
christos
d17eef343e
Fix PR/2348: Support for NIS servers without YP_ORDER
1996-05-09 22:57:57 +00:00
christos
7758c3b701
Fix PR/2126; recognize mount option readdirsize. In addition, if rsize is
...
specified and readdirsize is not, make readdirsize use the value of rsize.
1996-03-06 00:21:21 +00:00
christos
c7ce104884
Fix amd to compile and work after the NFSv3 commit.
...
This fix is a kludge:
- make the nfs filehandle conditional on v2 and v3
- set the nfs_args fields for the version and the
file handle size.
- make the file handle pointer type void * so that
it works on both nfsv2 and nfsv3
- fix the mountd rpc results parsing.
A proper fix should:
- register an nfsv3 server for amd.
- make amd try v2/v3 mounts exactly like mount_nfs does.
- understand the nfsv3 mount options.
- cleanup the #undef's in the protocol header.
Also in order to auto-recognize v2 vs v3, I moved the inclusion of
<sys/mount.h> to am.h.
1996-02-19 20:57:40 +00:00
thorpej
dcb6bca52b
Cross-reference fsinfo(8) and mk-amd-map(8), as per PR #1057 .
...
From David Brownlee <abs@mono.city.ac.uk>.
1996-01-14 03:49:09 +00:00
thorpej
a7565806e7
Cast the third argument of svc_getargs() to char * so that this compiles
...
with -Werror.
1995-12-15 19:08:21 +00:00
jtc
d538b54279
comment out HISTORY section, as it appears to be garbage; PR #1530
1995-09-27 19:49:25 +00:00
mycroft
800709ce22
Use inet_aton(), not inet_addr().
1995-05-21 15:50:45 +00:00
mycroft
04b12add73
Document the `resvport' option.
1995-03-22 17:18:01 +00:00
mycroft
13cd4fd01e
Accept noconn' and
resvport' mount options. Fix some slightly bogus option
...
parsing.
1995-03-22 17:15:08 +00:00
jtc
9ef98cf188
Changed clean target so that all index files generated by texindex
...
are removed.
Changed amdref.dvi target so that proper source file is run through
tex.
1995-03-17 06:10:14 +00:00
jtc
49ca19bb69
Removed. This is a leftover index file generated by texindex.
1995-03-17 06:04:10 +00:00
jtc
7203f50d95
Removed header files from V8 regular expression routines that were
...
originally distributed with amd. The regex code itself is long gone.
1995-03-17 06:02:49 +00:00
jtc
63cf6913d7
Link with -lcompat to get V8 regular expression routines.
1995-03-17 05:55:49 +00:00
jtc
e30cf6de92
Cpp is in /usr/bin.
1995-03-16 00:15:27 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
pk
a9384f4676
Define `MAN'.
1994-12-25 12:32:12 +00:00
cgd
457aa2b833
specify man pages the new way.
1994-12-22 11:31:31 +00:00
christos
89cfd124d5
Added casts to fix warnings from the new prototyped rpc headers.
1994-12-08 21:41:05 +00:00
mycroft
b57ce343c0
Use POSIX form of kill(1).
1994-09-23 23:26:54 +00:00
deraadt
a42c5778ae
remerge a missing local change; YP works in NetBSD
1994-06-15 04:12:24 +00:00
mycroft
a11ce51852
Fix up RCS ids.
1994-06-13 20:50:50 +00:00
mycroft
db9421bbe7
Fix up RCS ids.
1994-06-13 20:49:58 +00:00
mycroft
79648c2667
Fix up RCS ids.
1994-06-13 20:49:44 +00:00
mycroft
f4c103764b
Fix up RCS ids.
1994-06-13 20:47:17 +00:00
mycroft
07ca952461
Fix up RCS ids.
1994-06-13 20:46:42 +00:00
mycroft
53f3885c45
Add our local changes back in.
1994-06-13 20:17:41 +00:00
mycroft
096c5b4147
Update to 4.4-Lite.
1994-06-13 19:55:40 +00:00
mycroft
65faf69c85
Update to 4.4-Lite.
1994-06-13 19:53:21 +00:00
mycroft
0ce67e2263
Some files go away...
1994-06-13 19:49:28 +00:00
mycroft
91b6ab604d
Clean up deleted files.
1994-06-13 19:49:26 +00:00
mycroft
66ab16a17e
Some files go away...
1994-06-13 19:49:19 +00:00
mycroft
eeedb4ce1f
Clean up deleted files.
1994-06-13 19:49:18 +00:00
mycroft
21d6789889
Some files go away...
1994-06-13 19:47:16 +00:00
mycroft
a6cd61dc44
Clean up deleted files.
1994-06-13 19:47:14 +00:00
mycroft
3de04ebe91
Some files go away...
1994-06-13 19:47:13 +00:00
pk
322ef5c021
cross-compiling
1994-05-20 07:25:36 +00:00
cgd
eb0f0ad92d
fs type names will soon be strings
1994-04-14 03:21:21 +00:00
cgd
4aefd184b9
don't inlcude weirdness
1994-03-19 07:59:15 +00:00
cgd
4dc7a28d13
don't forget manpage. from Luke Mewburn <lm@rmit.edu.au>
1994-03-19 07:59:01 +00:00
cgd
5b86546ae3
add -I/usr/include/rpcsvc to CFLAGS, so that amq_clnt.c can find amq.h
1994-01-22 02:55:43 +00:00
jtc
2a4121e39d
Fix spelling errors
1994-01-14 16:22:25 +00:00
deraadt
9f7c9d3ea1
we have YP (thought 4.4 doesn't)
1994-01-05 05:51:01 +00:00
cgd
d2f69194b2
quick #ifdef hack to get it to compile with charles' dir header changes
1993-12-22 18:24:11 +00:00
mycroft
30eca65416
Clean up deleted files.
1993-12-10 09:39:30 +00:00
mycroft
d093458663
Use POSIX.2 regular expression routines.
1993-12-10 09:39:27 +00:00
mycroft
239fa04f43
We use regex.h, not regexp.h, now.
1993-12-10 09:01:24 +00:00
mycroft
dafb92d12e
Eliminate a compiler warning.
1993-12-07 21:44:57 +00:00
mycroft
fa44884d47
Eliminate a compiler warning.
1993-12-07 21:12:29 +00:00