Commit Graph

5297 Commits

Author SHA1 Message Date
itojun 20aa4f5b37 reject empty scopeid/numeric portname explicitly. sync with kame. 2000-07-09 04:48:17 +00:00
itojun a00fcf14af use strtoul() to check for all-digit string, not isdigit(). sync with kame. 2000-07-09 04:23:49 +00:00
eeh 1b72cecb45 Block align pointer *AFTER* fixing up possible stack bias. 2000-07-08 16:02:15 +00:00
sommerfeld ac7a8f6bc2 Correct format mismatch for field widths 2000-07-08 14:58:43 +00:00
sommerfeld 007c516740 Attach __format__ attributes to local __sbprintf function 2000-07-08 14:57:57 +00:00
kleink 6c16ef0bd2 Elaborate a bit on fseeko() and ftello(). 2000-07-08 14:13:05 +00:00
kleink 723bc5321e Bump date for fseeko() and ftello(). 2000-07-08 13:59:24 +00:00
kleink 7c5b39585f In fgetpos() and fsetpos(), use ftello() and fseeko(), respectively, to avoid
truncating the value stored in the fpos_t object operated on to that of a
long integer; adresses PR lib/6637.
2000-07-08 13:51:27 +00:00
kleink dae360611f XCU5: Add fseeko() and ftello() functions which provide the functionality of
fseek() and ftell(), respectively, but operate on file offsets of type off_t.
2000-07-08 13:46:33 +00:00
kleink 2f244ea9d9 size_t != unsigned int; from Motoyuki Konno in PR lib/10538. 2000-07-08 11:48:40 +00:00
kleink 1e67e23b6f De-delint previous: svc_vc_rendezvous_ops() isn't unused unless the single
reference to it is accidently deleted; from Shuuichirou Murata in PR lib/10537.
2000-07-08 11:41:50 +00:00
itojun d3884933be %-format pedant (always pass %s, don't use variable alone).
from openbsd.
2000-07-08 03:28:01 +00:00
enami bf53880ad5 Create link to lchflags.[02]. 2000-07-08 00:53:39 +00:00
itojun b596a9b104 rename securepath.3 into secure_path.3, as the function is named secure_path().
it is too hard to guess...
2000-07-07 11:05:06 +00:00
ad 44588903fc Couple of nits. 2000-07-07 10:33:12 +00:00
ad dbd0d28913 Fix typo. This probably would have stopped passwd(1) working if
/etc/passwd.conf didn't exist.
2000-07-07 10:32:48 +00:00
itohy af83a97717 Add special treatment of shmat(2).
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
2000-07-07 08:20:50 +00:00
itohy 7daefc5a5a Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems.  On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems.  However, we leave the isascii()
untouched for now, so as not to change the current behavior.
2000-07-07 08:03:36 +00:00
cgd f447d9b890 to get (f)lex output to go to stdout, use -t (a flag supported by
flex) rather than -o/dev/stdout which uses a flex feature (-o isn't
in vendor lex, at least on solaris 7) and also requires that
"/dev/stdout" function in the expected manner.
2000-07-07 05:30:58 +00:00
fair 1513bd135d Add a proper DESCRIPTION to the man page, per PR 10072. 2000-07-07 05:18:49 +00:00
mjl 62318ed7e2 Bring s/key closer to RFC2289 conformance by pulling in changes
from OpenBSD to make use of different hash functions possible.
Also factored out some common code pieces, ANSIfied and
corrected SHA1 hash to make the result match up with the
regression examples in above RFC.
2000-07-06 22:30:18 +00:00
kleink b5b9011dbf Note that localtime_r() does not imply tzset(); inspired by a conversation
with Hal Murray in the trail of PR lib/10282.
2000-07-06 16:19:15 +00:00
ad 2a9ac348ae Oops - declare static functions. 2000-07-06 13:39:47 +00:00
ad 240f3596cb Use ':' as group prefix; suggested by hubertf. 2000-07-06 13:09:46 +00:00
hubertf 7570e9053d Improve description for tm_year and some other fields.
May prevent PRs like 10521 in the future.
2000-07-06 12:44:31 +00:00
ad 8a82d4a86e Bump libutil minor (pw_getconf()). 2000-07-06 11:26:23 +00:00
ad ac9fc8f4e6 Handle non-DES encrypted passwords; currently only MD5. 2000-07-06 11:13:49 +00:00
ad 49de2aa1ce Add __md5crypt(), for internal use by libcrypt. This behaves for the most
part like crypt() but uses a proprietry encryption scheme that utilises MD5.
From FreeBSD via OpenBSD.
2000-07-06 11:12:42 +00:00
ad 7b3efebed5 Documentation for pw_getconf(). From OpenBSD. 2000-07-06 11:08:19 +00:00
ad 82be161e7c - Add pw_getconf(). This is used to read configuration information from
passwd.conf. From OpenBSD.
- ANSIfy.
2000-07-06 11:06:12 +00:00
christos 473ea2c4e7 add explicit casts to avoid parameter conversion warnings. 2000-07-06 03:14:05 +00:00
christos 6b283a58bd avoid losing precision warnings 2000-07-06 03:13:22 +00:00
christos deb154d2bc add __RPC_GETXID macro
don't const castway __rpc_getconf and __rpc_getconfig. It might try to
write const strings
fix non-portable casts
remove duplicated prototypes
cast things to proper types
remove extraneous casts to NULL
fix variable cast mismatches
remove register var declarations
2000-07-06 03:10:34 +00:00
christos b056680b9b remove register
adjust types to match functions
elide non-portable casts
cast to proper types
2000-07-06 03:06:45 +00:00
christos 6a3d07cc2d get prototypes from rpc/nettype.h
avoid non-portable casts
add explicit casts
2000-07-06 03:05:20 +00:00
christos 3ee90709fb elide non-portable casts 2000-07-06 03:03:59 +00:00
christos ea5394abfa remove unnecessary casts to NULL 2000-07-06 03:03:30 +00:00
christos ae40c8edb2 remove register
elide non-portable casts
2000-07-06 03:02:22 +00:00
christos 1c3b369611 add explicit casts
elide non-portable casts
2000-07-06 03:01:32 +00:00
christos 373996b8e8 add constcond lint directive 2000-07-06 03:00:39 +00:00
christos bc44f19756 add explicit casts
elide non-portable casts
2000-07-06 03:00:16 +00:00
christos e464ac9461 add explicit casts 2000-07-06 02:59:47 +00:00
christos 43264d6a9a add argsused lint directives
add explicit casts
elide non-portable casts
2000-07-06 02:59:20 +00:00
christos e9001c0972 elide non portable casts
add lint const castaway directives
2000-07-06 02:58:07 +00:00
christos db34dc9efd de-register
use the proper types for vars
2000-07-06 02:57:23 +00:00
christos b5835eb63b remove noop checks 2000-07-06 02:56:55 +00:00
christos 47197be00f elide non-portable casts 2000-07-06 02:56:25 +00:00
christos a0d18445ab avoid non portable casts 2000-07-06 02:55:45 +00:00
christos 970724237c avoid non-portable casts 2000-07-06 02:54:55 +00:00
christos 7bc5ea812e - remove unused vars
- fix non-portable casts
2000-07-06 02:54:12 +00:00