Andrey A. Chernov
738111e63b
Fix possible coredump on BW displays
1997-09-02 19:07:50 +00:00
Brian Somers
a367bd9e25
Add "options no_tld_query" to resolv.conf.
...
Mention the capability in resolver(5).
Mention that RES_OPTIONS can be used in resolver(5).
Discussed with: -hackers
1997-09-01 01:19:23 +00:00
Bruce Evans
6a9280be8c
Hide the declaration of `struct exception' from C++, since it conflicts
...
with the standard C++ `class exception'. This makes matherr() difficult
to use in C++. Small loss.
1997-08-31 22:12:19 +00:00
Bruce Evans
4447a79bf7
Fixed inclomplete function type in synopsis.
1997-08-31 21:54:10 +00:00
Brian Somers
ad1d4e56a2
Remove login_progok()
...
Suggested by: guido
1997-08-31 20:09:39 +00:00
Andrey A. Chernov
0d589df709
Restore back issetugid() usage and bump major number
1997-08-31 08:37:28 +00:00
Poul-Henning Kamp
188891873e
Another 32bits of 64bits conformance.
...
Reviewed by: phk
Submitted by: jdp
1997-08-31 05:59:39 +00:00
Peter Wemm
77909f5978
Initial elf nlist support, mostly stolen from OpenBSD (they use standard
...
#defines that are compatable with ours). I made some some minor tweaks
to the leading '_' tests.
Again, this is off by default for the moment. This probably should be
split into seperate files (like some of our other libc files that could
do with some splitting).
Obtained from: OpenBSD (plus some minor tweaks)
1997-08-31 00:08:35 +00:00
KATO Takenori
01f770e87c
Added HW_MACHINE_ARCH.
1997-08-30 02:26:36 +00:00
Warner Losh
9a91f1cc25
Merge in the safe chdir changes from Todd Miller's mods to the OpenBSD
...
tree. Also merge in fix to NetBSD PR #1495 . These represent 1.3-1.9 in
the OpenBSD tree. Make minor KNF changes to new code (which is in the
OpenBSD as 1.10). This avoids the symlink race problems.
These patches should go into 2.2.5 before the ship if they don't
break anything in -current.
Reviewed by: Bruce Evans
Obtained from: OpenBSD
1997-08-29 22:56:41 +00:00
John Polstra
9295bb8d0d
Add a stub version of getpublickey(), in order to eliminate an
...
undefined symbol referenced from libc. Without the stub, it is
impossible to execute any program using the shared library if
LD_BIND_NOW=1 is in the environment. The stub always returns
failure, but it can be overridden outside the library when necessary.
I don't know whether this is the "correct" fix, but it is intolerable
to have any undefined symbols referenced from libc.
1997-08-28 21:50:33 +00:00
Andrey A. Chernov
ef5ccd9e3c
Fix inspace handling I broke in rev 1.13
1997-08-28 08:13:21 +00:00
Brian Somers
fbbe016b64
Add full support for determining if a user
...
is restricted from running a given program.
1997-08-27 20:06:20 +00:00
Andrey A. Chernov
eb8eee5a55
Use getpwnam(getlogin()) before getpwuid(getuid())
1997-08-27 13:36:34 +00:00
Poul-Henning Kamp
263f4be35c
Improvement of type independency for the bitmap.
...
This makes 64bit operation more likely.
Reviewed by: phk
Submitted by: jdp
1997-08-27 12:04:33 +00:00
Poul-Henning Kamp
cd15afa3e8
Malloc option H is now default.
1997-08-27 06:40:34 +00:00
Warner Losh
3fa69daee8
Don't getenv(HOME) when set[ug]od. This can lead to a buffer overflow and
...
elevated privs.
Obtained from: OpenBSD
1997-08-27 05:27:53 +00:00
Brian Somers
889d7d1524
Add prog.deny as a list capability for
...
denying execution of certain programs.
1997-08-26 23:15:57 +00:00
Bruce Evans
30a72f72d5
-I${DESTDIR}/sys -> -I${.CURDIR}/../../sys.
1997-08-26 14:13:02 +00:00
Andrey A. Chernov
a139916b88
Temp restore of rev 1.9
1997-08-26 12:47:09 +00:00
Andrey A. Chernov
a05c4d30fd
Temporarily comment out issetugid() call until everyone installs libtermcap,
...
major number bumping will follows then
1997-08-25 16:42:22 +00:00
Andrey A. Chernov
0e7e6efe8f
Fix saving/restoring tty modes, allow initscr be called twice,
...
from ncurses 4.1
1997-08-25 07:41:15 +00:00
Joerg Wunsch
f778764443
Make the MD* header files C++-aware. Also, string arguments are supposed
...
to be of type `const char *'.
PR: 3291
Submitted by: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum)
1997-08-25 05:24:31 +00:00
Andrey A. Chernov
32a7305976
Bump minor number due to issetugid()
1997-08-24 19:19:08 +00:00
Andrey A. Chernov
cefcce61a0
Add winnstr family and fake resizeterm from ncurses 4.1 for compatibility
...
with recent applications.
Bump minor number.
1997-08-24 19:09:45 +00:00
Joerg Wunsch
1818482d81
Cosmetic: distinguish in diag message between rebuilding and updating
...
the database.
PR: 3397
Submitted by: taob@risc.org (Brian Tao)
1997-08-24 18:23:21 +00:00
Steve Price
a89989b26f
Get rid of integer overflow warning.
...
PR: misc/3575
Submitted by: Bruce Evans <bde@zeta.org.au>
1997-08-23 23:51:12 +00:00
Steve Price
18de8a52e4
Remove extra definition of vwprintw.
...
PR: bin/3623
Submitted by: Stephen J. Roznowski <sjr1@flash.net>
1997-08-23 23:23:07 +00:00
Steve Price
da0a2ddec5
Reference the correct version of BSD at the bottom of the
...
manpage.
PR: docs/3735
1997-08-23 21:32:50 +00:00
Søren Schmidt
805af8409d
Activate libvgl
1997-08-22 13:20:03 +00:00
Andrey A. Chernov
7b759a7f68
Replace uids comparison by issetugid() call
1997-08-22 11:14:53 +00:00
Bruce Evans
1ae93414c3
Fixed off by 1 error.
1997-08-21 19:44:41 +00:00
Bruce Evans
8f45662223
Split beforeinstall target so that headers can be installed without
...
installing data files.
1997-08-21 16:14:34 +00:00
Peter Wemm
04b8783cda
Manpage for getsid(2).
1997-08-19 07:19:43 +00:00
Peter Wemm
4ff76833b4
Forgot to mention what getpgid(0) does.
1997-08-19 07:04:43 +00:00
Peter Wemm
ff31b5e404
Manpage for getpgid(2), wording taken from NetBSD.
1997-08-19 07:00:53 +00:00
Peter Wemm
38fed76f7f
Syscall stubs for getpgid()/getsid().
1997-08-19 06:23:45 +00:00
Søren Schmidt
9a57b7d230
First import of my little "video graphic library".
...
See the manpage vgl.3 for more info.
A little example will follow shortly.
1997-08-17 21:09:35 +00:00
Tor Egge
4afb0d5a5b
Copy code from gnu/usr.bin/gdb/gdb/kvm-fbsd.c to deal with 4 MB pages.
1997-08-17 17:42:59 +00:00
Steve Price
51cc902b40
Reflect reality of sticky bits and UFS-based filesystems.
...
PR: docs/4198
Submitted by: Ada T. Lim <ada@not-enough.bandwidth.org>
1997-08-17 00:19:28 +00:00
Steve Price
449a542231
Describe the QCMD macro and its parameters.
...
PR: docs/4261
1997-08-17 00:08:40 +00:00
Peter Wemm
fb1b994b4c
Regenerate..
1997-08-16 07:13:47 +00:00
David Greenman
f5f31fba12
Fixed file descriptor leak that occurs after certain types of failures.
...
PR: 3516
Submitted by: Matthew Flatt <mflatt@cs.rice.edu>
1997-08-15 05:21:16 +00:00
Andrey A. Chernov
422ff09040
Explicitly point that it_value == 0 disables timer regardles of
...
it_interval value. It is backward-compatible with previous usage
and SunOS-compatible now.
1997-08-14 08:26:25 +00:00
Andrey A. Chernov
3ece8e2b27
Describe itimerfix upper limit
1997-08-14 07:57:58 +00:00
Andrey A. Chernov
067fe639d7
Describe upper limit based on itimerfix restriction
1997-08-14 07:44:57 +00:00
Andrey A. Chernov
a85a54896e
Oops, fix logic for previous commit
1997-08-14 06:46:44 +00:00
Andrey A. Chernov
d1e224f2cc
Remove wrong machine-dependent phrase about maximum microseconds
...
limit. Small cleanup.
1997-08-14 06:32:25 +00:00
Andrey A. Chernov
3b3d0d1b49
Break loop if error != EINTR occurse or it can take forever with
...
time_remaining unchanged
1997-08-14 06:23:48 +00:00
Andrey A. Chernov
ee05c01758
Define NCURSES_VERSION publicly, some applications want it
...
Fix unctrl()
Merging from 4.1 used for this fixes.
1997-08-13 23:28:29 +00:00
Steve Price
673b794638
Protect the copyright comments from reformatting by
...
indent and make this compile -Wall clean like the
Makefile suggests that it should. :)
Pointed out by: Bruce Evans <bde@zeta.org.au>
1997-08-13 20:42:18 +00:00
Andrey A. Chernov
2e2d038677
Note that default behaviour (restarting signals) is only for signal(3)
1997-08-13 18:40:57 +00:00
Andrey A. Chernov
71936d097e
Handle syscalls error return slightly better
1997-08-13 18:22:41 +00:00
Andrey A. Chernov
3be4b5c3df
Back out itimerfix hack since nanosleep1 fixed now
...
Handle syscalls error return slightly better
1997-08-13 18:13:17 +00:00
Andrey A. Chernov
f38ea584f5
Add unsigned char cast to all ctype calls
1997-08-13 13:11:53 +00:00
Andrey A. Chernov
aaf9cb20c9
Fix longstanding bug with buffer pointer goes beyoud buffer start
...
Cause initscr (ncurses) fail in some cases
1997-08-13 01:21:36 +00:00
Andrey A. Chernov
3f121d0aa3
TRACE_VIRTPUT (we don't have it yet) -> TRACE_CHARPUT
1997-08-13 00:12:46 +00:00
Andrey A. Chernov
fc0cc5ad9b
Rearrange itimerfix loop doing it inside SIGALRM handling section
1997-08-12 19:54:31 +00:00
Andrey A. Chernov
b39d66c04a
Solve itimerfix() problem completely by using loop in 100000000 secs chunks
1997-08-12 19:47:01 +00:00
Andrey A. Chernov
6d4ff45427
Reflect blocked SIGALRM changes
1997-08-12 19:28:07 +00:00
Andrey A. Chernov
8d7bf613b2
Back out my installation of SIGALRM handler even if it is blocked
...
and return to previous Peter's variant.
POSIX says that this place is implementation defined and old variant allows
application block SIGALRM and sleep and not be killed by external SIGALRMs.
BTW, GNU sleep f.e. sleeps forever in blocked SIGALRM :-)
1997-08-12 19:14:54 +00:00
Peter Wemm
df023a8ef7
Run mkMakefile.sh to regenerate
1997-08-12 18:33:06 +00:00
Andrey A. Chernov
bc044b88dd
Reflect -current implementations
1997-08-12 17:53:00 +00:00
Andrey A. Chernov
1ddf325cda
1) Make usleep() terminateable by alarm (or ualarm) as supposed
...
historically
2) Fix end of time loop condition: && -> ||
1997-08-12 17:17:53 +00:00
Andrey A. Chernov
fa23b4efb8
Change to reflect -current sleep implementation reality
1997-08-12 16:46:05 +00:00
Andrey A. Chernov
d23cc31d85
Make itimerfix hack better: return the time we can't sleep at once
1997-08-12 15:46:05 +00:00
Brian Somers
4fe071a9f7
Fix file descriptor leak.
...
Submitted by: Charles Mott <cmott@srv.net>
Identified by: Gordon Burditt
1997-08-11 22:05:10 +00:00
Steve Price
312ecb009a
Default size for FD_SETSIZE is 1024 not 256.
...
PR: bin/4177
Submitted by: Wolfgang Helbig <helbig@MX-BA.Stuttgart.De>
1997-08-11 01:31:30 +00:00
Andrey A. Chernov
84dc22996d
Implement canonical locking protocol
...
Suggested by: joerg
1997-08-10 18:42:39 +00:00
Joerg Wunsch
ac77b4810d
Hack^H^H^H^Hworkaround for itimerfix(9) gratuitously limiting the
...
acceptable range for tv_sec to the magic number 100000000 (which at
least ought to be declared in a header file, and explained in the
non-existing man page, as well as in the existing man pages for
nanosleep(2) & Co.).
PR: bin/4259
1997-08-10 12:16:13 +00:00
Joerg Wunsch
37486f035f
Import strptime(3) into libc. We've got permission by Kevin Ruddy to
...
modify the original `no modifications' copyright message, and i've
included his mail into the source file.
The common localization functions between strptime(3) and strftime(3)
have been broken out into timelocal.[ch].
1997-08-09 15:43:59 +00:00
Joerg Wunsch
d76419833c
Clean import of strptime(3) onto a vendor branch.
...
Submitted by: Powerdog Industries <kevin.ruddy@powerdog.com>
1997-08-09 15:38:14 +00:00
Steve Price
febad2fcf4
Observe precedence set by Phillippe Charnier in adding an
...
rcsid.
1997-08-07 22:28:25 +00:00
Steve Price
d46c1a60d3
Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid.
1997-08-07 15:33:50 +00:00
Andrey A. Chernov
e1a10354cb
Improve weak locking by using flock()
1997-08-05 12:58:02 +00:00
Brian Somers
3efa11bb71
Update to version 2.2. Only the PacketAlias*()
...
functions should now be used. The old 2.1 stuff is
there for backwards compatability.
Submitted by: Charles Mott <cmott@snake.srv.net>
1997-08-03 18:20:03 +00:00
Andrey A. Chernov
9fb4ef6227
Remove collate_range_cmp, was left for temp. backward compatibility
1997-08-03 18:04:39 +00:00
John Polstra
7e7344e2f4
Implement dlsym(RTLD_NEXT, symbol).
1997-08-02 04:56:44 +00:00
Poul-Henning Kamp
89b2f3fd90
Move tcl packages to libdata/pkg
1997-08-01 13:16:40 +00:00
Andrey A. Chernov
89047cedf5
Fix handling of mixed colors+attributes case by merging from ncurses 4.1
1997-07-30 19:04:08 +00:00
Andrey A. Chernov
c8a57a4fe5
Fix logical background handling by merging it from ncurses 4.1
...
No new user-visible functions added
1997-07-30 17:21:39 +00:00
Andrey A. Chernov
f1909e979c
ifdef out ttytype definition, mytinfo not have it and configure confused
1997-07-30 03:26:37 +00:00
Mike Smith
fb4289da2a
Improve dependancy behaviour a little more.
...
This is still pretty disgusting.
Submitted by: bde
1997-07-28 03:33:04 +00:00
Andrey A. Chernov
885bd2f608
Add getbkgd() macro
1997-07-27 21:01:16 +00:00
Poul-Henning Kamp
a3095f3a64
Remove a reference to /c/phk, this should be handled by the magic script
...
in src/tools.
1997-07-27 20:21:05 +00:00
Mike Smith
a39c8cb67d
List help.h a a dependancy for editline.c
...
Use 'beforedepend' instead of '.depend' to hang automatically-generated
headers off.
XXX the latter is bogus without a 'beforeall' target and explicit ordering
of dependancy generation for targets.
1997-07-27 10:47:49 +00:00
John Polstra
f9e41842fc
Fix a minor typo. It only affects the sparc version.
1997-07-26 03:43:14 +00:00
Peter da Silva
dc1f820ee5
Added bounds checking to the example after chasing down someone's
...
broken code where they'd copied the example basically verbatim and
blew an array. (engage brain before typing 'make')
1997-07-26 00:47:06 +00:00
Poul-Henning Kamp
d7df0533d5
Tada!, tcl is now at 8.0b2 I belive.
1997-07-25 19:51:45 +00:00
Mike Smith
194fb96e6a
Reorder decomposition of the filename argument for the '-h' flag to
...
avoid misprocessing in the case where the filename argument contains
more than one period.
Submitted by: micke@dynas.se (Mikael Hybsch)
1997-07-23 18:23:42 +00:00
Philippe Charnier
9c9cb2bffe
= -> ==, strcpy -> strncpy from OpenBSD.
...
update man page. Add usage().
Obtained from: OpenBSD
1997-07-22 07:39:43 +00:00
Bruce Evans
d437803036
Add to CLEANFILES instead of setting it absolutely. Cleaning of *.S and
...
tags was broken.
1997-07-21 16:02:09 +00:00
David Nugent
78e4c02479
sleep() after sending 'nologin' file to ensure output is drained before
...
disconnect.
1997-07-19 04:47:05 +00:00
Peter Wemm
925d069aa8
Make sleep() and usleep() "eat" any stray SIGALRM signals during the
...
lifetime of the call, just like the old implementation did. Previously,
we were only eating them if the application did not call sleep()/usleep()
with SIGALRM masked.
Submitted by: ache
1997-07-18 09:48:37 +00:00
Satoshi Asami
85cfd1244c
Add appropriate ${DESTDIR} in front of absolute paths.
1997-07-18 07:27:56 +00:00
Satoshi Asami
688034bb93
Add ${DESTDIR} in front of absolute path.
1997-07-18 06:32:39 +00:00
Poul-Henning Kamp
e53211ce4d
realpath() should break on looped symlinks.
...
PR: 3911
Reviewed by: phk
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-07-16 11:25:48 +00:00
John Polstra
c978fcda00
Kill this file really dead. The default branch was cleared, even
...
though the file was still on the vendor branch. I don't know why.
It doesn't look like the cvs-add-on-a-branch bug that we already
know about.
1997-07-15 16:45:50 +00:00
Mike Smith
db863ba00b
Fix vi-mode searching broken with the NetBSD changes update.
...
PR: bin/4064
Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-07-14 13:21:08 +00:00
Bruce Evans
354fb38542
Fixed minor bugs related to the addition of gammaf.
...
The major bug, that gamma is documented as really being gamma, is
still unfixed.
1997-07-13 14:45:28 +00:00