Commit Graph

1856 Commits

Author SHA1 Message Date
ru
7eba427598 mdoc(7) police: Nm macro remembers its argument on the first
call, punctuation characters should be separated by whitespace.
2001-03-05 15:14:19 +00:00
ru
b5a960e3c7 setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
obrien
fd718904c2 Include `dbxelf.h' via tm.h (the approved FSF/GNU way) vs. in our MI header. 2001-03-02 03:00:41 +00:00
obrien
bde5c1c432 Define "FREEBSD_NATIVE" in the freebsd-native header to reduce the amount
of stuff (and thus length of error output) we put on the invocation command
line.  Also follow the new FSF/GNU style of giving the symbol a value so it
can be used in `if()' statements in addition to `#if' so seldomly compiled
in code (on some platforms) gets compiled always, to help reduce bit-rot.
2001-03-02 02:56:59 +00:00
obrien
e944a84a8b Do not need to define "VERSION" here -- we do it on the command line. 2001-03-01 23:07:18 +00:00
obrien
30a923bccf Allow "NOSHARED" to be overridden.
Submitted by:	bde
2001-02-28 10:46:50 +00:00
obrien
86f81a6e3b Make critical toolchain binaries staticly linked in this development
version of the OS.
2001-02-27 11:25:43 +00:00
kris
89499ffe8e Update for bc 1.06 2001-02-26 07:23:27 +00:00
ru
8bfd7eb10b Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by:	peter
2001-02-23 09:35:33 +00:00
obrien
6a264dccbb Our OS name is "freebsd", not "freebsdelf" 2001-02-21 11:43:35 +00:00
ru
4fc15b7c9d Implement one nice feature of original BSD man(1):
: As some manual pages are intended only for specific architectures,
: man searches any subdirectories, with the same name as the current
: architecture, in every directory which it searches.  Machine specific
: areas are checked before general areas.  The current machine type may
: be overridden by setting the environment variable MACHINE to the name
: of a specific architecture.
2001-02-19 14:19:57 +00:00
ru
a56196dad4 Fixed the order of environment variables list. 2001-02-19 14:02:48 +00:00
ume
3044e76324 Introduce $TAR_RSH to enable use of ssh as transport. 2001-02-18 17:30:29 +00:00
bde
e08a8cd6eb Quick fix for attempts to free non-malloc()ed memory. The variables
current_file_name and current_link_name sometimes point into the
middle of malloc()ed memory and sometimes point to alloca()ed memory,
but free() is sometimes called on them.  This seems to be harmless
for the usual tar operations, but it is usually fatal for `tar -W'.
E.g., for `cd /etc; tar Wcf /tmp/foo rc', at the start of
verify_volume(), current_file_name points to alloca()ed memory, and
tar attempts to free it.
2001-02-18 01:06:13 +00:00
obrien
038fede360 Make cc' and cpp0' staticly linked binaries in this development version
of the OS.
2001-02-17 09:46:41 +00:00
ru
0ae24500be Fix broken -L for short locale names. 2001-02-16 12:28:30 +00:00
ru
f46fba789d Do not ever try to look into nonexisting locale subdirectories.
(is_directory() returns -1 if the file does not exist, 1 if it
is a directory or a symlink to a directory, and 0 otherwise.)
2001-02-15 19:01:41 +00:00
ru
74e3f34f7a If both full-locale-name and short-locale-name searches
fail, look the manpage in the en.<charset> subdirectory.

See the manpage for details.

Suggested by:	ache
2001-02-14 16:31:08 +00:00
ru
617687c44c Backout 1.38->1.41 (functional) changes pending the proper solution.
/usr/share/man/cat? is only allowed to store -Tascii formatted data.

Requested by:	ache
2001-02-14 13:16:16 +00:00
ru
404e76d35f Do not allow non-absolute pathnames in the manpath. 2001-02-13 16:55:42 +00:00
ru
1639a9de62 Make it possible for any given locale to use different
groff(1) devices for localized and non-localized pages.

Currently, for *.ISO_8859-1 locales the device in both
cases is "latin1", and for KOI8-R locale it is "koi8-r"
for localized and "ascii" for non-localized pages.

Discussed with:	des
2001-02-13 16:15:04 +00:00
peter
9badb217b0 When setproctitle() moved from libutil to libc, we forgot to back the
change out that made libperl.so dynamically depend on libutil.so to pick
up setproctitle() in its old location.  This breaks changes involving
incomptabable libc's because ld looks for the dynamic dependency
(which it has no business doing anyway) in the wrong place - /usr/lib!
2001-02-13 05:19:56 +00:00
dillon
443802a504 Finish draining any input prior to closing the pipe, to prevent unsightly
'Broken pipe' messages from gzcat.
2001-02-05 01:24:40 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
des
a2761c3668 Revert part of previous commit and initialize locale_nroff to " -Tascii"
so man(1) works properly when no locale is set.

Spotted by:	bde
2001-01-28 20:17:14 +00:00
des
6a2832912d Make an effort to actually pass the correct device to groff. 2001-01-27 19:17:40 +00:00
jake
a4ddaea3fb - Add #defines for the symbol names of the kernel interrupt, system
call and trap entry points so they're easy to find and change
- Use the cpuhead and allcpu list to locate globaldata for the current
  cpu, rather than SMP_prvspace or __globaldata
- Use offsets into struct globaldata directly to find per-cpu variables,
  rather than symbols in globals.o

Glanced at by:	peter
2001-01-10 18:15:25 +00:00
n_hibma
5e475bc245 Assume that the submitter knows what he is doing and order the
suggested actions accordingly. S)end should be the first one.
2001-01-07 18:42:28 +00:00
peter
78fd227e45 Fix gdb -k after jake's most recent commit. The gd_XXX symbols are now
offsets in all cases, and we have to find the base address (&__globaldata)
ourselves for the UP case as well as SMP.
2001-01-07 05:08:39 +00:00
obrien
8ff52af84c Use a unified libgcc rather than a seperate one for threaded and
non-threaded programs.  This provides threaded programs with the
needed exception frame symbols.

parts submitted by:	Max Khon <fjoe@iclub.nsu.ru>
PR:	23252
2001-01-06 06:16:31 +00:00
obrien
a7bc4582e1 The preprocessor used by the cc' driver is now named ccp0' to make it
clear this is the 1st pass of compilation and to make clear this particular
cpp is for `cc's use only.
2001-01-04 02:16:23 +00:00
obrien
da55259414 s/rsa0/sa0/g 2001-01-01 19:50:48 +00:00
phk
989932f7b6 Use macro API to <sys/queue.h>
Submitted by:	Dima Dorfman <dima@unixfreak.org>
Reviewed by:	phk
2000-12-31 11:22:42 +00:00
ru
d6010fd0c0 Prepare for mdoc(7)NG. 2000-12-27 13:59:17 +00:00
joerg
7dd1636f07 Fix an annoying message ``gdb: ptrace(PT_GETDBREGS) failed: No such process''
when using gdb on a remote target.  The fix is to restrict PT_GETDBREGS
calls to `child' and `freebsd-uthreads' targets solely.

I've been in some conversation with Brian about this, and this solution
seems to be the most appropriate one.

PR:		gnu/21685
Submitted by:	bsd
2000-12-26 20:38:46 +00:00
obrien
320a2975c3 Add these files that were used from contrib/gcc/. They are taken from
GCC 2.7.2.3 as that was the version of GCC in active use before the switch
to ELF.
The GCC 2.9[67] versions of these files carry more baggage and I'm not sure
the are appropriate for this linker.
2000-12-26 10:20:22 +00:00
ru
ef65a9b079 mdoc(7) police: formatting fixes. 2000-12-25 09:08:44 +00:00
obrien
57e62ed15d Clean up the -j/-y/--bzip entry in usage().
Add the -U and --unlink-first options which are the offical verions of our
--unlink localism.
Add support for the "TAR_OPTIONS" environmental variable.

Obtained from:	GNU tar 1.13.18
2000-12-24 10:52:23 +00:00
obrien
3f9fe69fa4 Add -j as the offical "pipe thru bzip2 compression program" option.
Make -I equivalent to -T for compatiblity with Solaris.

Obtained from:	GNU tar 1.13.18
2000-12-24 10:19:55 +00:00
obrien
225ac58c08 Add `gcov' to the mix.
Requested by:	David Malone <dwmalone@maths.tcd.ie>
PR:	18574
2000-12-23 19:49:28 +00:00
ru
4a6aed4a0e Teach man(1) how to look inside compressed manuals
for preprocessor directives.  Avoid use of cat(1).

PR:		bin/23585
2000-12-22 19:05:13 +00:00
obrien
932ae1673b Update the date of last change.
Submitted by:	ru
2000-12-22 18:56:41 +00:00
obrien
6a77bcc83e Add the -bzip and -I flags as aliases for -y for Red Hat compatibility. 2000-12-22 11:25:18 +00:00
obrien
c3e21ebe05 Our OS name is "freebsd", not "freebsdelf". 2000-12-15 20:11:28 +00:00
obrien
b8f8299b01 Only build the a.out as' and ld' if "WANT_AOUT" is defined.
Looking in src/Makfile* it looks like all the "WANT_AOUT" support
has been removed, maybe these should just go away...

Note that the a.out `ld' reaches over into src/contrib/gcc for libiberty
bits.  This is biting us because the libiberty bits have evolved beyond
what the a.out `ld' can handle.

This change fixes the broken world, but only because very few have
"WANT_AOUT" defined.
2000-12-15 19:49:28 +00:00
ru
82bf19e1d7 mdoc(7) police: removed history info from the .Os call. 2000-12-14 11:40:41 +00:00
ru
eba8cee73c This file was not regenerated for the latest import, thus the
reported grep version is wrong.  The correct version is 2.4d.
2000-12-13 15:54:14 +00:00
jhb
c1bdbdb8c2 Catch up to the new kinfo_proc. 2000-12-12 23:21:24 +00:00
ru
d321795841 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:15:20 +00:00
obrien
46d04a9db4 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00