Ruslan Ermilov
1640d4e019
mdoc(7) police: use precise width specifier.
2002-03-15 14:21:13 +00:00
Robert Watson
7774db9751
NAI DBA update.
2002-03-14 21:51:00 +00:00
Mark Murray
afa5289a98
1) Rev.1.35 of dd.c has a more serious regression. It backs out rev.1.31,
...
thus breaking systems with unpolluted <sys/stat.h>'s.
2) Back out an initialisation of a variable in BSS.
Reported by: bde (1), many(2)
2002-03-07 14:00:33 +00:00
Maxim Konovalov
89a3a364c2
Log:
...
Remove eaccess(2) absence workaround. Add eaccess(2) checks for FILRD,
FILWR, FILEX and FILEXIST cases.
We cannot MFC this because there is no eaccess(2) in -stable yet.
PR: bin/35076
Reviewed by: ru
Approved by: ru
2002-03-06 11:20:13 +00:00
Warner Losh
250a0cef8f
Use ANSI-99 int names (uintXX_t) over traditional BSD int names
...
(u_intXX_t).
2002-03-05 05:28:49 +00:00
Alexey Zelkin
c1633140b7
Use NLSLINKS to setup symbolic links in NLS area
2002-03-04 12:29:21 +00:00
Alexey Zelkin
bd93868f5a
This file is not used anymore
2002-03-04 11:10:17 +00:00
Alexey Zelkin
f66b3927b3
Use bsd.nls.mk for building/installing NLS files
...
XXX: links handling simplify
2002-03-04 10:34:51 +00:00
Alfred Perlstein
6188858ae1
clarify code:
...
add comments.
don't get the length of each arg passed, only the last one.
check against == or != NULL rather than using a pointer value as
truth test.
2002-03-04 05:30:04 +00:00
Doug White
0551940858
Update STANDARDS section on rm(1) to reflect current conformance.
...
PR: 35471
2002-03-02 05:10:11 +00:00
Andrey A. Chernov
5f7ca9ae38
Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit locales
...
PR: 35421
2002-02-28 18:52:47 +00:00
Maxim Sobolev
42d6cdd371
Fix a bug introduced in rev.1.23 - for some reason mkdir("/", ...) system
...
call returns `EISDIR', not `EEXIST', so that be prepared for that. This should
fix number of ports, that often call `mkdir -p //usr/local/foobar'. This
is just a quick workaround, the real fix would be either to avoid calling
mkdir("/", ...) or fix VFS code to return consistent errno for this case.
2002-02-25 09:17:44 +00:00
Bruce Evans
434b6ea45a
#include <time.h> for the definition of time functions instead of
...
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Removed unused includes.
2002-02-25 01:36:59 +00:00
Bruce Evans
9880a81276
Fixed unsorting.
2002-02-23 21:00:14 +00:00
Bruce Evans
b909fa9cd0
Fixed some style bugs in revs 1.1 and 1.4.
2002-02-23 17:05:32 +00:00
Mark Murray
a3dbc1d804
ANSIfy.
2002-02-22 23:31:57 +00:00
Mark Murray
8bd08b5fac
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:24:14 +00:00
Mark Murray
ece5764570
Fix a boatload of warnings inspired by lint, a commercial lint
...
and WARNS=4.
2002-02-22 21:21:37 +00:00
Mark Murray
4b23bd7c2a
Warnings fixes.
2002-02-22 21:13:31 +00:00
Mark Murray
4b4ed2fe6a
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:11:03 +00:00
Mark Murray
fab912df88
Partially fix (well, work around) warnings inspired by lint, a
...
commercial lint and WARNS=4.
2002-02-22 21:02:58 +00:00
Mark Murray
9b2010a2de
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:00:16 +00:00
Mark Murray
39661e26a5
Warnings fixes inspired by lint, a commercial lint and WARNS=4.
2002-02-22 20:57:53 +00:00
Mark Murray
5ca37430d9
Warning fix. Enter into the spirit of getopt(3) a bit more.
2002-02-22 20:55:04 +00:00
Mark Murray
9afa09cd0e
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 20:51:00 +00:00
Mark Murray
71bea4f79d
Fix warnings inspired by lint, a commercial lint and WARNS=4
2002-02-22 20:45:09 +00:00
Matthew Dillon
d9a5f8900a
Revert wchan functionality. Add 'mwchan' to supply new duel mutex/msleep
...
functionality and make it the default.
With additional improvements by: Mark Peek <mp@FreeBSD.org>
2002-02-21 18:27:16 +00:00
Chris D. Faulhaber
95a801b700
Remove extraneous blank line
2002-02-19 02:36:35 +00:00
Chris D. Faulhaber
32e7fd5991
Use acl_dup() to duplicate an ACL instead of rolling our own
2002-02-19 02:36:15 +00:00
Warner Losh
576541a9e6
Fixed divots that I created when I moved prototypes of group_from_gid
...
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
2002-02-19 00:05:59 +00:00
Warner Losh
1a24391866
Remove now-obsolete __STDC__ ifdefs, remove redundant NULL definition and
...
include stdlib.h for NULL.
2002-02-18 06:08:23 +00:00
Gregory Neil Shapiro
095dae9d7a
Update build infrastructure for sendmail 8.12.
2002-02-17 22:05:07 +00:00
Matthew Dillon
ebc1fff946
When blocked on a mutex, display the mutex name via the wchan string field
...
so we can at least tell the difference between being blocked in Giant
and being blocked in some other mutex.
2002-02-16 20:10:00 +00:00
Dag-Erling Smørgrav
3ab6656108
Document the 'M' state.
2002-02-16 18:47:22 +00:00
Warner Losh
fc69394f0a
Move user_from_uid to pwd.h
...
Move group_from_gid to grp.h
Remove from stdlib.h
Make the prototypes match the code
Fix rm and mv to include new files.
NetBSD has these defined in those files, and others too that I've not
done.
Approved by: terminal room kabal
Reviewed by: jhb, phk
2002-02-14 01:59:47 +00:00
Mark Peek
90e0035cca
Install complete.tcsh and csh-mode.el into ${SHAREDIR}/examples/tcsh.
...
PR: misc/34800 (from Steven Grady)
Submitted by: phantom (patch)
MFC after: 3 days
2002-02-12 04:50:12 +00:00
Mike Barcroft
7146f7f115
Repo-copied src/bin/pwd/realpath.1' to
src/bin/realpath/realpath.1',
...
as part of the move to seperate realpath(1) into its own directory.
2002-02-11 18:45:29 +00:00
Mike Barcroft
0dd10cae52
o Remove old code from pwd(1); realpath(1) is now in its own directory.
...
o Fix some unordered includes in pwd(1).
o Connect realpath(1) to the build.
2002-02-11 18:38:54 +00:00
Mike Barcroft
5330465c43
Move the realpath(1) source into its own directory. Previously, it
...
shared sources with pwd(1).
2002-02-11 07:32:17 +00:00
Mike Barcroft
3ce3a0bf8d
Use the getprogname(3) function instead of directly accessing
...
`__progname'.
Submitted by: dd
2002-02-10 05:56:36 +00:00
Mark Murray
91bd71d206
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
Brian Feldman
2fb080722f
Correct a logic bug that snuck in and broke multiplication of off_ts.
2002-02-07 02:54:30 +00:00
Dave Zarzycki
076172c5bc
Fix the race between the stat() and the mkdir().
...
Reviewed by: jkh
2002-02-05 21:55:12 +00:00
Mike Barcroft
7a396ef4d5
Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) would
...
complain about paths starting with `-', by not calling getopt(3).
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
Obtained from: NetBSD (partially)
MFC after: 1 month
2002-02-04 07:26:21 +00:00
Kris Kennaway
6a99036a7f
Correct inadvertent style botches in previous commit.
2002-02-04 03:06:51 +00:00
Kris Kennaway
afe781faa2
Lock down with WFORMAT=1 except those directories with unfixed warnings.
...
Tested on i386 and alpha.
2002-02-04 02:49:19 +00:00
Kris Kennaway
f4c1428318
__printflike() should really be __printf0like() since verrx() can
...
accept a NULL format string.
2002-02-04 01:11:48 +00:00
Kris Kennaway
7cbc81e6a1
Add a __printflike() attribute to silence warning with FORMAT_AUDIT=1
2002-02-04 01:07:07 +00:00
Mark Murray
c73d77cef9
Use __FBSDID() and clean up the vendor tags.
2002-02-03 20:55:54 +00:00
Mark Murray
9052855a15
WARNS=4 fixes, plus a healthy dose of fixes inspired by lint.
2002-02-03 19:11:32 +00:00