Commit Graph

13 Commits

Author SHA1 Message Date
jtc 43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
christos 1e9dc86b19 Fix gcc warnings.
Fix RCSID's
1997-07-13 18:57:26 +00:00
cgd 72c46b1cdc merge with Lite, keeping local changes. Also use new Id format. 1995-02-27 03:42:42 +00:00
jtc 9bd83209f0 Change C library functions to use strchr() and strrchr() instead of index()
and rindex().  This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
1993-11-24 19:43:49 +00:00
jtc a054c6582a First pass at getting a clean compile with "gcc -Wall", mostly explictly
declaring function return values, etc.
1993-11-11 19:04:04 +00:00
jtc bc692825ee Implement the FNM_PERIOD flag. 1993-11-11 03:21:21 +00:00
jtc 14925245d3 Fixed the most major defect in fnmatch(): backslash-escape processing in
bracket expressions.  Still need to implement FNM_PERIOD...
1993-11-09 18:22:05 +00:00
cgd affc13c674 just berkeley copyright/version # changes. 1993-11-06 00:52:40 +00:00
jtc 9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
mycroft adb8dc2533 Add RCS frob. 1993-07-30 07:59:55 +00:00
jtc dacb3d324d Update fnmatch() to be more posix complient (from bostic). 1993-06-16 17:16:11 +00:00
mycroft e42ce45b78 Make return status match POSIX and man page. 1993-04-10 00:25:35 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00