markm
67e76f4ab3
Replace use of __progname with the functionally identical and more
...
acceptable getprogname(3).
2002-03-24 14:56:55 +00:00
wollman
7282a3b32e
Disable -Werror when building -- the old version of gcc used on IA32 can't
...
deal with C99 formats.
2002-03-23 00:44:00 +00:00
wollman
d1fbde7cf6
Typo (if => of).
2002-03-22 20:49:29 +00:00
wollman
dc0ab81475
Add a word of caution about integer arithmetic range and overflow detection.
2002-03-22 20:46:59 +00:00
wollman
c1037fd271
Fix a few formatting brainos and make the formatting of the EXAMPLES
...
section somewhat clearer.
2002-03-22 20:38:44 +00:00
wollman
2e02d4aae7
Make expr POSIX-compliant, and fix some bugs. Specifically:
...
- expr must conform to the Utility Syntax Guidelines, so use
getopt() to eat the (non-existent) options.
- Use the Standard type intmax_t for arithmetic.
- If an argument cannot be *completely* converted to an integer, then
it is a string.
Additionally make some style cleanups near the modified lines. This
utility is still not completely style-compliant.
2002-03-22 20:18:26 +00:00
obrien
785ec6a1f4
Update SCM ID.
2002-03-22 19:52:59 +00:00
obrien
8f7b828bab
Note that -n is non-standard.
2002-03-22 19:52:48 +00:00
markm
09171e09d6
No need to cast; ().gr_gid is already the correct type.
2002-03-22 15:54:44 +00:00
obrien
6295b3bfe1
Add the -n option, which automatically answers "no" to the overwrite question.
2002-03-22 07:45:36 +00:00
imp
74d826c7a6
remove __P
2002-03-22 01:22:50 +00:00
ru
cebc449d30
mdoc(7) police: use precise width specifier.
2002-03-15 14:21:13 +00:00
rwatson
94342978a6
NAI DBA update.
2002-03-14 21:51:00 +00:00
markm
43cc55dd2f
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
7d69422196
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
imp
f0662fdefd
Use ANSI-99 int names (uintXX_t) over traditional BSD int names
...
(u_intXX_t).
2002-03-05 05:28:49 +00:00
phantom
9124a610d0
Use NLSLINKS to setup symbolic links in NLS area
2002-03-04 12:29:21 +00:00
phantom
63f07ef33b
This file is not used anymore
2002-03-04 11:10:17 +00:00
phantom
d12220dfdb
Use bsd.nls.mk for building/installing NLS files
...
XXX: links handling simplify
2002-03-04 10:34:51 +00:00
alfred
fd4aa99c82
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
dwhite
12798316b8
Update STANDARDS section on rm(1) to reflect current conformance.
...
PR: 35471
2002-03-02 05:10:11 +00:00
ache
4ac9e16668
Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit locales
...
PR: 35421
2002-02-28 18:52:47 +00:00
sobomax
521f052069
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
bde
cf8ef037c8
#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
bde
0a286122a7
Fixed unsorting.
2002-02-23 21:00:14 +00:00
bde
be1787bc6d
Fixed some style bugs in revs 1.1 and 1.4.
2002-02-23 17:05:32 +00:00
markm
5b69d7da62
ANSIfy.
2002-02-22 23:31:57 +00:00
markm
2b941891db
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:24:14 +00:00
markm
3ce9528bfb
Fix a boatload of warnings inspired by lint, a commercial lint
...
and WARNS=4.
2002-02-22 21:21:37 +00:00
markm
3b69d13d7c
Warnings fixes.
2002-02-22 21:13:31 +00:00
markm
2e9a506a04
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:11:03 +00:00
markm
02fae8d816
Partially fix (well, work around) warnings inspired by lint, a
...
commercial lint and WARNS=4.
2002-02-22 21:02:58 +00:00
markm
d2f778cddf
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:00:16 +00:00
markm
1fb3e88343
Warnings fixes inspired by lint, a commercial lint and WARNS=4.
2002-02-22 20:57:53 +00:00
markm
863c4cc748
Warning fix. Enter into the spirit of getopt(3) a bit more.
2002-02-22 20:55:04 +00:00
markm
7b7558d884
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 20:51:00 +00:00
markm
f24931e332
Fix warnings inspired by lint, a commercial lint and WARNS=4
2002-02-22 20:45:09 +00:00
dillon
23fcffffc9
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
jedgar
8cdc9fd108
Remove extraneous blank line
2002-02-19 02:36:35 +00:00
jedgar
8df81cb659
Use acl_dup() to duplicate an ACL instead of rolling our own
2002-02-19 02:36:15 +00:00
imp
60cc340d82
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
imp
d4f0b8fef8
Remove now-obsolete __STDC__ ifdefs, remove redundant NULL definition and
...
include stdlib.h for NULL.
2002-02-18 06:08:23 +00:00
gshapiro
730b12a9a9
Update build infrastructure for sendmail 8.12.
2002-02-17 22:05:07 +00:00
dillon
77112edb7c
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
des
66be93a737
Document the 'M' state.
2002-02-16 18:47:22 +00:00
imp
f58558abb7
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
mp
5d2ae7a01f
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
72a803ac5e
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
e9400873cc
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
18a66da4bb
Move the realpath(1) source into its own directory. Previously, it
...
shared sources with pwd(1).
2002-02-11 07:32:17 +00:00