Commit Graph

177 Commits

Author SHA1 Message Date
ache
c2b647f229 Change XOPEN constants to match FreeBSD reality and add some
comments to describe them
1997-01-16 08:27:18 +00:00
ache
9c3dea8d36 Activate _POSIX_* stuff if !_ANSI_SOURCE
Add _XOPEN constants set, needed mainly to sense position arguments
in printf (vi cares at this moment)
Obtained from: NetBSD
1997-01-16 07:57:56 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
davidn
0524c0d6d9 Internationalise "authorize". 1997-01-09 04:16:18 +00:00
davidn
3f63d4c095 Typo fix. 1997-01-07 13:04:38 +00:00
davidn
465c153c31 Move typedef for rlim_t into sys/types.h (as per NetBSD). 1997-01-05 18:32:00 +00:00
sos
2fa2ea00da Add the forgotten login_cap.h 1997-01-04 20:40:34 +00:00
davidn
4caa8a8a8d Header for login class capabilities handling. 1997-01-04 16:43:58 +00:00
ache
ec284b6443 Oops, remove FNM_NOCASE alias: really I can't remember any system
with this define, it was ftpd-inspired.
1997-01-02 19:05:16 +00:00
ache
6f84500f3d Add FNM_NOCASE and FNM_IGNORECASE as synonyms to FNM_CASEFOLD
for better compatibility with other systems
1997-01-02 18:27:22 +00:00
davidn
92746eca86 Added group= facility to /etc/ttys for tty grouping for more
more manageable and convenient referencing by login.conf (login
class database) and (e.g.) login.access.

This is the first of a group of commits which implements the login
class capabilities database.
1997-01-02 08:05:43 +00:00
peter
3978edb061 Missed prototype for svc_getreqset2() 1996-12-31 09:08:44 +00:00
peter
13078090d3 - Prototypes, including pointers to functions
- C++ safe
1996-12-30 14:01:12 +00:00
peter
bd9931aed2 First commit of a series of cleanups for the libc rpc code which has been
suffering a bad case neglect for the last few years.

- Add full prototypes, including to function pointers.
- Make the wire protocols 64-bit type safe, eg: 32 bit quantities are
  int32_t, not long.  The orginal rpc code was implemented when an int
  could be 16 bits.

Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
1996-12-30 13:59:41 +00:00
peter
fe7b8366bd Update 4.9.4-P1 -> 4.9.5-P1
Included here are definitions for the DNSSEC key management stuff.
1996-12-30 13:10:35 +00:00
peter
648aae194f Update the resolver definitions from bind-4.9.4-P1 to 4.9.5-P1 level.
(More commits to come)
1996-12-30 13:08:54 +00:00
jkh
c6b8ce4f90 Geeze, I'm really off-target on my Makefile hacking tonite. Guess I'll
go to bed. :-)  Revert this change which would have broken the ${DESTDIR}
relative link when chrooted.

Pointed-Out-To-My-Embarassment-By: bde
1996-12-30 07:38:51 +00:00
jkh
a61ba0575d Add some missing ${DESTDIR}s here. 1996-12-30 04:52:54 +00:00
imp
8ab072dc79 string.h defines nonstandard routines when _POSIX_SOURCE is
defined.  It has been fixed to not do that.

Submitted by:	Jake Hamby <jehamby@lightside.com>
Closes PR:	1954
1996-12-17 19:35:43 +00:00
ache
7b950ca770 Fix compiler warning: /* inside comment
2.2 candidate
1996-12-05 14:46:57 +00:00
jkh
9b86a34b6b Bump maximum username length to 16 characters. This brings us into
line with BSD/OS and Linux's username limits, making transitioning from
either operating system a lot easier than it is now.  I'm currently
running with this change on my system, as are several others, and have
experienced no ill effects.

This is not for 2.2!  This needs to get shaken out longer term in 3.0.

Previously-approved-by:  davidg
1996-12-04 11:31:14 +00:00
phk
6f6b1023c0 Update to more current reality.
Reviewed by:	phk
Submitted by:	Robin Carey <robin@mailgate.dtc.rankxerox.co.uk>
1996-11-28 09:57:31 +00:00
wollman
1c00ce6ecf Matching routed.h to go along with latest routed. 1996-11-19 21:22:18 +00:00
hsu
1a0d3a30c7 Change prototypes for gmtime_r() and localtime_r() in accordance with
IEEE pthreads specification.
1996-11-11 09:22:13 +00:00
hsu
16f3f7873e Prototype pthread_mutexattr_getkind_np() and pthread_mutexattr_setkind_np(). 1996-11-11 09:21:19 +00:00
hsu
4b9077f2b9 Moved pthread_mutexattr_default inside #ifndef PTHREAD_KERNEL now that
we use it in the uthreads implementation.
Moved enum pthread_mutextype here from libc_r/uthread/pthread_private.h.
Change prototype for pthread_getspecific().
1996-11-11 09:19:54 +00:00
ache
94df0bceba Remove collate_range_cmp 1996-10-31 14:41:30 +00:00
wosch
86907d3e57 improve comments for UT_NAMESIZE 1996-10-27 18:13:35 +00:00
bde
8f42e22c06 Fixed tabs and punctuation to match nearby (and KNF) style. Sigh. 1996-10-24 04:05:54 +00:00
ache
0732ee025a GNU-style changes:
1) Rename FNM_ICASE to FNM_CASEFOLD
2) Add FNM_LEADING_DIR
1996-10-23 16:42:33 +00:00
wosch
085d68ca3b add flag FNM_ICASE for case insensitve search
Reviewed by: ache
1996-10-20 15:15:59 +00:00
jkh
d0d507caa9 Add back netns 1996-10-17 18:44:56 +00:00
scrappy
03a8558771 Fixed the wrong include file for a "prototype mismatch" error between
dlfcn.h and link.h
1996-10-08 01:38:36 +00:00
scrappy
417a88b9aa dlfcn.h and link.h have conflicting declarations for dlopen/dlsym,
with dlfcn.h declaring them as:

void *dlopen __P((const char *, int));
void *dlsym __P((void *, const char *));

while link.h declared them as

extern void *dlopen __P((char *, int));
extern void *dlsym __P((void *, char *));

Fix link.h to match dlfcn.h
1996-10-07 20:49:03 +00:00
peter
1c0a68465c Add support for storing a -R path in ld in the section dispatch table,
support LD_HINTS_VERSION_2 that has the ldconfig pathname stored in the
ld.so.hints file (ie: a new library can be installed and used without
needing to run ldconfig -m first)

Reviewed by: nate, jdp
Obtained from: NetBSD (mostly)
1996-10-01 00:25:32 +00:00
peter
ea144d449b Add the linker set stab types: N_SETA N_SETT N_SETD N_SETB N_SETV 1996-10-01 00:01:43 +00:00
bde
6823434693 Fixed CLEANFILES. osreldate was missing.
Cleaned up LDIRS line.
1996-09-20 13:42:26 +00:00
bde
6ed5ccfb8f Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
adam
c5872b9e4b install rpc header files 1996-09-01 17:54:25 +00:00
peter
2463272531 'make install' is not supposed to touch anything. 1996-08-30 22:36:45 +00:00
peter
ed05937487 missed these parts of Bruce's changes last time..
Submitted by: bde (again :-)
1996-08-30 21:57:39 +00:00
peter
54b29fe2cd echo -> ${ECHO}
do the rm -rf and ln -s in two seperate commands to allow a fork/exec
without a "sh -c" in the middle.

Submitted by: bde
1996-08-30 19:37:14 +00:00
peter
4e5231d04b Some bmake magic to clean up the install more.
fix another missed -c typo of mine.
clean the rpcgen implicit rule more

Submitted by: bde
1996-08-30 19:31:28 +00:00
peter
d971f8ba30 Hand merge in the bind-4.9.4-P1 resolver updates. 1996-08-29 20:01:00 +00:00
peter
7affd2accc replace cmp -s || install with ${INSTALL} -C, and @for with .for 1996-08-29 19:59:48 +00:00
peter
b42de8a625 Clean up include Makefile:
- use .for loops instead of shell for loops. This means we can be
   shown what is happening while it's going, rather than some pacifier
   "echo" statement.
 - use "${INSTALL} -C", nuke the "cmp -s" hack
 - for "copies" mode,  the include files are no longer touched each time
   the world is built. (ie: no rm -rf.  symlinks are removed, mtree builds
   the new dirs or confirms the existing ones)
 - osreldate.h is build in the local dir and conditionally installed,
   rather than built in /usr/include and either renamed or deleted.
1996-08-29 19:57:48 +00:00
wollman
5af28cc157 New version of routed.h to match new version of routed. 1996-08-27 16:21:34 +00:00
julian
7350d1d3b2 Submitted by: John Birrell <cimaxp1!jb@werple.net.au>
Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).

I've created a new header (pthread_np.h) for the non-POSIX stuff.

The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.

also:

Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.

also:

I should have sent this diff with the pthread(3) man page.
It allows people to type

make -DWANT_LIBC_R world

to get libc_r built with the rest of the world. I put this in the
pthread(3) man page.  The default is still not to build libc_r.


also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
1996-08-20 08:22:01 +00:00
ache
8c5172169d #if !ANSI !POSIX newly added collate_range_cmp function 1996-08-13 14:01:40 +00:00
ache
9d1e0928b1 There is so many places where range comparation (using collate)
needed (much more than I think initially), so I forced to add
new user-visible non-standard function to libc.
1996-08-12 18:30:43 +00:00