]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoHandle endianness. This completes cross-support for sparc64.
ru [Fri, 24 May 2002 06:24:40 +0000 (06:24 +0000)]
Handle endianness.  This completes cross-support for sparc64.

22 years agoOops, I missed this warning. Comment out extra junk after #endif
peter [Fri, 24 May 2002 06:22:48 +0000 (06:22 +0000)]
Oops, I missed this warning. Comment out extra junk after #endif

22 years agoPacify gcc by preinitializing a variable.
peter [Fri, 24 May 2002 06:17:42 +0000 (06:17 +0000)]
Pacify gcc by preinitializing a variable.

22 years agoExit with non-zero status if any files specified could not be opened
tjr [Fri, 24 May 2002 06:17:29 +0000 (06:17 +0000)]
Exit with non-zero status if any files specified could not be opened
when -s option is given (SUSv3).

22 years agoFix a few warnings by adding a missing prototype
peter [Fri, 24 May 2002 06:17:17 +0000 (06:17 +0000)]
Fix a few warnings by adding a missing prototype

22 years agoFix warning; Extra tokens after #endif
peter [Fri, 24 May 2002 06:11:07 +0000 (06:11 +0000)]
Fix warning; Extra tokens after #endif

22 years agoFix warning; remove unused arg that was passed through uninitialized.
peter [Fri, 24 May 2002 06:10:25 +0000 (06:10 +0000)]
Fix warning; remove unused arg that was passed through uninitialized.

22 years agoFix warnings. Also, removed an unused variable that I found that was just
peter [Fri, 24 May 2002 06:06:18 +0000 (06:06 +0000)]
Fix warnings.  Also, removed an unused variable that I found that was just
initialized and never used afterwards.

22 years agoIf processing of one file fails, try to process the remaining files and
tjr [Fri, 24 May 2002 06:03:12 +0000 (06:03 +0000)]
If processing of one file fails, try to process the remaining files and
exit non-zero instead of immediately exiting. The traditional BSD
behaviour is explicitly forbidden by P1003.2.

22 years agoFix new compiler unhappiness.
peter [Fri, 24 May 2002 06:01:07 +0000 (06:01 +0000)]
Fix new compiler unhappiness.

22 years agoIf processing of one file fails, try to process the remaining files and
tjr [Fri, 24 May 2002 06:00:47 +0000 (06:00 +0000)]
If processing of one file fails, try to process the remaining files and
exit non-zero instead of immediately exiting (SUSv3).

22 years agoFix deprecated use of label at end of compound statement
peter [Fri, 24 May 2002 05:58:13 +0000 (05:58 +0000)]
Fix deprecated use of label at end of compound statement

22 years agoConstify a debug function arg that we pass __func__ to in order to pacify
peter [Fri, 24 May 2002 05:57:47 +0000 (05:57 +0000)]
Constify a debug function arg that we pass __func__ to in order to pacify
gcc-3.1's 'const char *__func__;'

22 years agoFix warnings; deprecated use of label at end of compound statement
peter [Fri, 24 May 2002 05:54:40 +0000 (05:54 +0000)]
Fix warnings; deprecated use of label at end of compound statement

22 years agopacify gcc-3.1's -Wunused checking.
peter [Fri, 24 May 2002 05:53:57 +0000 (05:53 +0000)]
pacify gcc-3.1's -Wunused checking.

22 years agoFix warning; deprecated use of label at end of compound statement
peter [Fri, 24 May 2002 05:50:28 +0000 (05:50 +0000)]
Fix warning; deprecated use of label at end of compound statement

22 years agoFix some low hanging fruit warnings. There are problems in i4b_ing.c
peter [Fri, 24 May 2002 05:46:50 +0000 (05:46 +0000)]
Fix some low hanging fruit warnings.  There are problems in i4b_ing.c
still, but they are due due to some bogosity in netgraph.

22 years agoFix trivial warning:
peter [Fri, 24 May 2002 05:40:51 +0000 (05:40 +0000)]
Fix trivial warning:
smb_iod.c:560: deprecated use of label at end of compound statement

22 years agoFix new gcc-3.1 warnings. I think this gets GENERIC compiling cleanly
peter [Fri, 24 May 2002 05:21:36 +0000 (05:21 +0000)]
Fix new gcc-3.1 warnings. I think this gets GENERIC compiling cleanly
again.

22 years agoThese files are no longer used.
jake [Fri, 24 May 2002 04:41:02 +0000 (04:41 +0000)]
These files are no longer used.

22 years agoReorder prototypes to be in alphabetical order.
deischen [Fri, 24 May 2002 04:35:55 +0000 (04:35 +0000)]
Reorder prototypes to be in alphabetical order.

22 years agoAdd the prototypes for pthread_suspend_all_np and pthread_resume_all_np.
deischen [Fri, 24 May 2002 04:33:07 +0000 (04:33 +0000)]
Add the prototypes for pthread_suspend_all_np and pthread_resume_all_np.

22 years agoRevamp suspend and resume. While I'm here add pthread_suspend_all_np()
deischen [Fri, 24 May 2002 04:32:28 +0000 (04:32 +0000)]
Revamp suspend and resume.  While I'm here add pthread_suspend_all_np()
and pthread_resume_all_np().  These suspend and resume all threads except
the current thread, respectively.  The existing functions pthread_single_np()
and pthread_multi_np(), which formerly had no effect, now exhibit the same
behaviour and pthread_suspend_all_np() and pthread_resume_all_np().  These
functions have been added mostly for the native java port.

Don't allow the uthread kernel pipe to use the same descriptors as
stdio.  Mostily submitted by Oswald Buddenhagen <ossi@kde.org>.

Correct some minor style nits.

22 years agoAdd a nextboot script to make it easier to control the loader nextboot
gordon [Fri, 24 May 2002 04:06:03 +0000 (04:06 +0000)]
Add a nextboot script to make it easier to control the loader nextboot
support. Also, hook it up to the build.

Approved by: jake (mentor)

22 years agoRemove /usr/share/perl/man
ache [Fri, 24 May 2002 03:21:11 +0000 (03:21 +0000)]
Remove /usr/share/perl/man

22 years agoAdd support for reading an additional loader configuration file. By default,
gordon [Fri, 24 May 2002 02:28:58 +0000 (02:28 +0000)]
Add support for reading an additional loader configuration file. By default,
this is called /boot/nextboot.conf. This file is required to have it's first
line be nextboot_enable="YES" for it to be read. Also, this file is
rewritten by the loader to nextboot_enable="NO"<space> after it is read.
This makes it so the file is read exactly once. Finally, the nextboot.conf
is removed shortly after the filesystems are mounted r/w.

Caution should be taken as you can shoot yourself in the foot. This is only
the loader piece. There will be a tool called nextboot(8) that will manage
the nextboot.conf file for you. It is coming shortly.

Reviewed by: dcs
Approved by: jake (mentor)

22 years agoAdd a new make.conf knob, SENDMAIL_MAP_PERMS, which specifies the
gshapiro [Fri, 24 May 2002 01:46:39 +0000 (01:46 +0000)]
Add a new make.conf knob, SENDMAIL_MAP_PERMS, which specifies the
permissions to use for alias and map database files built by
/etc/mail/Makefile.  The default is 0640 to assist users in avoiding
a file locking local denial of service.

MFC after: 1 day
pending RE approval

22 years agoChange the default permissions for the sendmail statistics file to 0640
gshapiro [Fri, 24 May 2002 01:44:53 +0000 (01:44 +0000)]
Change the default permissions for the sendmail statistics file to 0640
instead of 0644 to help protect users against a file locking local
denial of service.

MFC after: 1 day
pending RE approval

22 years ago o Replace the vm_map's hint by the root of a splay tree. By design,
alc [Fri, 24 May 2002 01:33:24 +0000 (01:33 +0000)]
 o Replace the vm_map's hint by the root of a splay tree.  By design,
   the last accessed datum is moved to the root of the splay tree.
   Therefore, on lookups in which the hint resulted in O(1) access,
   the splay tree still achieves O(1) access.  In contrast, on lookups
   in which the hint failed miserably, the splay tree achieves amortized
   logarithmic complexity, resulting in dramatic improvements on vm_maps
   with a large number of entries.  For example, the execution time
   for replaying an access log from www.cs.rice.edu against the thttpd
   web server was reduced by 23.5% due to the large number of files
   simultaneously mmap()ed by this server.  (The machine in question has
   enough memory to cache most of this workload.)

   Nothing comes for free: At present, I see a 0.2% slowdown on "buildworld"
   due to the overhead of maintaining the splay tree.  I believe that
   some or all of this can be eliminated through optimizations
   to the code.

Developed in collaboration with: Juan E Navarro <jnavarro@cs.rice.edu>
Reviewed by: jeff

22 years agoFor now, make the .ifdef GCC3 case default. We should change -Wno-format
peter [Fri, 24 May 2002 01:02:45 +0000 (01:02 +0000)]
For now, make the .ifdef GCC3 case default.  We should change -Wno-format
back to -fformat-extensions (or whatever) when we have the functionality.
We are gaining warnings again that should be fixed but the are being hidden
by NO_WERROR and all the -Wformat noise.

22 years agoConvert mount_unionfs(8) to nmount.
mux [Fri, 24 May 2002 00:45:37 +0000 (00:45 +0000)]
Convert mount_unionfs(8) to nmount.

22 years agoConvert unionfs to nmount.
mux [Fri, 24 May 2002 00:44:44 +0000 (00:44 +0000)]
Convert unionfs to nmount.

22 years ago- Remove a few storage pools and replace them with UMA zones. The spans
arr [Fri, 24 May 2002 00:39:58 +0000 (00:39 +0000)]
- Remove a few storage pools and replace them with UMA zones.  The spans
  code is now storage pool free, so I believe this only leaves the uni
  base not cleaned.

22 years ago- Turn a couple of storage pools into UMA zones and their associated calls
arr [Fri, 24 May 2002 00:38:25 +0000 (00:38 +0000)]
- Turn a couple of storage pools into UMA zones and their associated calls
  to the appropriate UMA api calls.

22 years agoFix comments.
mux [Fri, 24 May 2002 00:16:13 +0000 (00:16 +0000)]
Fix comments.

22 years agoGenerate the normal asm stubs for all sysv system calls. Use these instead
jake [Thu, 23 May 2002 23:51:57 +0000 (23:51 +0000)]
Generate the normal asm stubs for all sysv system calls.  Use these instead
of C wrappers for the *sys indirect system calls.  The indirect system calls
are horribly broken on sparc64.

Submitted by: tmm

22 years agoStyle nit, no functional changes.
mux [Thu, 23 May 2002 23:22:22 +0000 (23:22 +0000)]
Style nit, no functional changes.

22 years ago- Fix uma_zcreate parameters -- don't pass M_* flags here, doh.
arr [Thu, 23 May 2002 23:21:00 +0000 (23:21 +0000)]
- Fix uma_zcreate parameters -- don't pass M_* flags here, doh.

22 years agoUpdate comments to better match reality.
mux [Thu, 23 May 2002 23:18:25 +0000 (23:18 +0000)]
Update comments to better match reality.

22 years agoMake mount_nullfs(8) use nmount(2) rather than mount(2) now
mux [Thu, 23 May 2002 23:08:27 +0000 (23:08 +0000)]
Make mount_nullfs(8) use nmount(2) rather than mount(2) now
that nullfs has been converted to nmount.

22 years agoConvert nullfs to nmount.
mux [Thu, 23 May 2002 23:07:27 +0000 (23:07 +0000)]
Convert nullfs to nmount.

22 years agoSlightly change the way we pass mount options to the filesystem
mux [Thu, 23 May 2002 23:02:19 +0000 (23:02 +0000)]
Slightly change the way we pass mount options to the filesystem
VFS_NMOUNT operations.

Reviewed by: phk

22 years agoJust to show that PAM can do almost anything from the ridiculous to the
des [Thu, 23 May 2002 22:03:06 +0000 (22:03 +0000)]
Just to show that PAM can do almost anything from the ridiculous to the
obscene, or - as they say in New York - sophisticated, add pam_echo(8) and
pam_exec(8) to our ever-lengthening roster of PAM modules.

Sponsored by: DARPA, NAI Labs.

22 years agoo Conditionalize sections for POSIX.1-2001 compatibility.
mike [Thu, 23 May 2002 18:48:27 +0000 (18:48 +0000)]
o Conditionalize sections for POSIX.1-2001 compatibility.
o Use POSIX spelling for types, where possible.
o Define size_t in the __BSD_VISIBLE case (this isn't really needed
  for standards conformance, but follows the tradition of not
  requiring <sys/types.h> as a prerequisite).
o Use _BYTE_ORDER and friends instead of BYTE_ORDER and friends, since
  there may not be enough pollution in order for the latter to work.
o Add an XXX note about the missing IPPROTO_IPV6 macro.

22 years agoANSIfy variable-argument macros.
markm [Thu, 23 May 2002 18:26:23 +0000 (18:26 +0000)]
ANSIfy variable-argument macros.

22 years agoSync with upstream version:
fanf [Thu, 23 May 2002 16:50:41 +0000 (16:50 +0000)]
Sync with upstream version:
  * Ensure we work within the array bounds when parsing command-line options;
  * Replace h0h0getopt with getopt(3);
  * Use consistent whitespace style in the function declarations.

Revieweded by: dwmalone (mentor)

22 years agoIn m_aux_delete, no need to chase beyond victim.
ume [Thu, 23 May 2002 15:59:48 +0000 (15:59 +0000)]
In m_aux_delete, no need to chase beyond victim.

Submitted by: archie
Obtained from: KAME

22 years agoUn-kmemize. Portions of the tty mode code have been temporarily disabled;
des [Thu, 23 May 2002 15:09:49 +0000 (15:09 +0000)]
Un-kmemize.  Portions of the tty mode code have been temporarily disabled;
everything else, including dead kernel support, works just like before.

Sponsored by: DARPA, NAI Labs

22 years agoHandle numeric keys by checking a "default" file. Handle number-less keys
jmallett [Thu, 23 May 2002 14:58:22 +0000 (14:58 +0000)]
Handle numeric keys by checking a "default" file.  Handle number-less keys
by failing, since comparing up to the length of the key (0) against the
begin line for a key in the help file will always succeed, and print what
is wholly bogus output.

22 years agoNits in previous commits.
des [Thu, 23 May 2002 14:58:07 +0000 (14:58 +0000)]
Nits in previous commits.

Sponsored by: DARPA, NAI Labs

22 years agoCull large amounts of dead code (deprecated since 1997)
des [Thu, 23 May 2002 14:53:04 +0000 (14:53 +0000)]
Cull large amounts of dead code (deprecated since 1997)

Sponsored by: DARPA, NAI Labs

22 years agoANSIfy.
des [Thu, 23 May 2002 14:48:25 +0000 (14:48 +0000)]
ANSIfy.

Sponsored by: DARPA, NAI Labs

22 years agoStaticize.
des [Thu, 23 May 2002 14:44:23 +0000 (14:44 +0000)]
Staticize.

Sponsored by: DARPA, NAI Labs

22 years agoWhitespace cleanup.
des [Thu, 23 May 2002 14:42:17 +0000 (14:42 +0000)]
Whitespace cleanup.

Sponsored by: DARPA, NAI Labs

22 years agoUnbreak tty mode (cons was renamed to constty a while ago)
des [Thu, 23 May 2002 14:41:52 +0000 (14:41 +0000)]
Unbreak tty mode (cons was renamed to constty a while ago)

Sponsored by: DARPA, NAI Labs

22 years agoAvoid wandering over the beginning of the actual buffer
robert [Thu, 23 May 2002 14:21:02 +0000 (14:21 +0000)]
Avoid wandering over the beginning of the actual buffer
if the passed template string contains only 'X' characters.

Submitted by: Mark Andrews <marka@isc.org> (patch modified)
PR: 38402

22 years agoRemoved the ch, sa and ses devices from 'SMALL' boot floppy image.
nyan [Thu, 23 May 2002 14:15:48 +0000 (14:15 +0000)]
Removed the ch, sa and ses devices from 'SMALL' boot floppy image.

22 years agoload_env(), the function that attempts to parse a crontab
roberto [Thu, 23 May 2002 13:16:30 +0000 (13:16 +0000)]
load_env(), the function that attempts to parse a crontab
line as an environment variable assignment, is broken
and not conformant to its description in the manual page.

I think it is worthwhile to have that fix in 4.6.

PR:             bin/38374
Submitted by:   Thomas Quinot <thomas@cuivre.fr.eu.org>
MFC after:      2 days

22 years agoWhitespace only; fix indentation.
markm [Thu, 23 May 2002 12:09:14 +0000 (12:09 +0000)]
Whitespace only; fix indentation.

22 years agoSet the MAKEFILE variable to the value passed to ReadMakefile(), not the full
jmallett [Thu, 23 May 2002 12:01:54 +0000 (12:01 +0000)]
Set the MAKEFILE variable to the value passed to ReadMakefile(), not the full
path to it.  Use the full path only for parsing it.

22 years agoDont panic if only one disk on a channel can do tagged queueing.
sos [Thu, 23 May 2002 08:17:16 +0000 (08:17 +0000)]
Dont panic if only one disk on a channel can do tagged queueing.

MFC: asap

22 years agoThis manpage is for Alpha only.
ru [Thu, 23 May 2002 07:38:51 +0000 (07:38 +0000)]
This manpage is for Alpha only.

22 years agoFixed broken ``make -jX install''.
ru [Thu, 23 May 2002 07:25:01 +0000 (07:25 +0000)]
Fixed broken ``make -jX install''.

Spotted by: make release TARGET_ARCH=ia64

22 years agoMinor nit: get p pointer in msleep() from td->td_proc (where
jhb [Thu, 23 May 2002 04:14:18 +0000 (04:14 +0000)]
Minor nit: get p pointer in msleep() from td->td_proc (where
td == curthread) rather than from curproc.

22 years agoWhitespace: trim a trailing tab.
jhb [Thu, 23 May 2002 04:12:28 +0000 (04:12 +0000)]
Whitespace: trim a trailing tab.

22 years agoMake the counters uintmax_ts, and use %ju rather than %llu.
des [Thu, 23 May 2002 03:08:42 +0000 (03:08 +0000)]
Make the counters uintmax_ts, and use %ju rather than %llu.

22 years agoMake my style consistent.
jmallett [Thu, 23 May 2002 03:03:44 +0000 (03:03 +0000)]
Make my style consistent.

Remove two includes.

Fix a typo (semicolon instead of period at EOL).

22 years agoComment out extra tokens after #else and #endif.
des [Thu, 23 May 2002 00:38:07 +0000 (00:38 +0000)]
Comment out extra tokens after #else and #endif.

22 years agoFix a panic by allocating the iface structure locally in the attach
joe [Thu, 23 May 2002 00:36:14 +0000 (00:36 +0000)]
Fix a panic by allocating the iface structure locally in the attach
function instead of in usb_probe_and_attach.

22 years ago- Turn two more storage pools into UMA zones and make the related memory
arr [Thu, 23 May 2002 00:34:12 +0000 (00:34 +0000)]
- Turn two more storage pools into UMA zones and make the related memory
  allocations and frees use the UMA api.

22 years agoReflect some changes in the NetBSD code path, and sligh adjustments to ours.
joe [Thu, 23 May 2002 00:26:06 +0000 (00:26 +0000)]
Reflect some changes in the NetBSD code path, and sligh adjustments to ours.
(Non-functional changes).

22 years agoHide a couple of unguarded error returns behind the no_fail test.
des [Thu, 23 May 2002 00:04:14 +0000 (00:04 +0000)]
Hide a couple of unguarded error returns behind the no_fail test.

Sponsored by: DARPA, NAI Labs

22 years agoHide a couple of unguarded error returns behind the no_fail test.
des [Thu, 23 May 2002 00:02:59 +0000 (00:02 +0000)]
Hide a couple of unguarded error returns behind the no_fail test.

22 years agoFree old_pwd only in the code path where it has been allocated.
jmallett [Wed, 22 May 2002 23:18:25 +0000 (23:18 +0000)]
Free old_pwd only in the code path where it has been allocated.

Reviewed by: des

22 years agoTaking a leap of faith, tie the help command in to the build.
jmallett [Wed, 22 May 2002 23:15:58 +0000 (23:15 +0000)]
Taking a leap of faith, tie the help command in to the build.

22 years agoAdd my PD implementation of the SCCS help command, which prints help from
jmallett [Wed, 22 May 2002 23:14:17 +0000 (23:14 +0000)]
Add my PD implementation of the SCCS help command, which prints help from
files in the format used by SCCS, given a key.  It behaves exactly like the
``proper'' SCCS help command, from what testing I can do.

22 years agoNew release notes: asa(1), pathchk(1), sccs(1),
bmah [Wed, 22 May 2002 23:03:43 +0000 (23:03 +0000)]
New release notes:  asa(1), pathchk(1), sccs(1),
uuencode(1)/uudecode(1) base64 synonyms, ptx removal.

Modified release notes:  ncurses 5.2-20020518.

22 years agoSync with NetBSD. (Non functional changes).
joe [Wed, 22 May 2002 23:01:13 +0000 (23:01 +0000)]
Sync with NetBSD. (Non functional changes).

22 years agoFix a bug: Use USBD_DEFAULT_INTERVAL instead of USBD_DEFAULT_TIMEOUT
joe [Wed, 22 May 2002 22:58:38 +0000 (22:58 +0000)]
Fix a bug: Use USBD_DEFAULT_INTERVAL instead of USBD_DEFAULT_TIMEOUT
in a call to usbd_open_pipe_ival.

22 years agoIncrease the maximum FSM option length to 50
brian [Wed, 22 May 2002 21:17:13 +0000 (21:17 +0000)]
Increase the maximum FSM option length to 50

22 years agoAdd some missing #includes that weren't required due to namespace polution
brian [Wed, 22 May 2002 21:08:58 +0000 (21:08 +0000)]
Add some missing #includes that weren't required due to namespace polution
in our headers.

Submitted by: bde

22 years agoRename pause() to ia32_pause() so it doesn't conflict with the pause()
jhb [Wed, 22 May 2002 20:32:39 +0000 (20:32 +0000)]
Rename pause() to ia32_pause() so it doesn't conflict with the pause()
function defined in <unistd.h>.  I didn't #ifdef _KERNEL it because the
mutex implementation in libpthread will probably need this.

22 years agoRestore us back to the rev 1.324 level of having an Intel gigE driver.
obrien [Wed, 22 May 2002 19:00:48 +0000 (19:00 +0000)]
Restore us back to the rev 1.324 level of having an Intel gigE driver.

22 years agoUpdate 164SX section with newly acquired insights.
wilko [Wed, 22 May 2002 18:09:37 +0000 (18:09 +0000)]
Update 164SX section with newly acquired insights.

Submitted by: Sten <sten@blinkenlights.nl>

22 years agoAdd a warning regarding localhost-only listening daemons inside jails.
gshapiro [Wed, 22 May 2002 16:37:32 +0000 (16:37 +0000)]
Add a warning regarding localhost-only listening daemons inside jails.
Apparently binding only to 127.0.0.1 inside of a jail actually binds
to the jail IP address as well (in effect, bind to all available
interfaces in the jail).

Submitted by: Helge Oldach <test-smtp@oldach.net>
MFC after: 1 day
pending RE approval

22 years ago1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions)
obrien [Wed, 22 May 2002 16:37:09 +0000 (16:37 +0000)]
1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions)
and 1.3 (printf0) for GCC 3.1.

22 years agoTie sccs(1) in to the build, as it now does one thing right: sccs what
jmallett [Wed, 22 May 2002 16:19:31 +0000 (16:19 +0000)]
Tie sccs(1) in to the build, as it now does one thing right: sccs what

22 years agoRemove mention of the GNU version of ptx, it is dead.
jmallett [Wed, 22 May 2002 16:18:14 +0000 (16:18 +0000)]
Remove mention of the GNU version of ptx, it is dead.

22 years agoAdd a usage().
jmallett [Wed, 22 May 2002 16:09:52 +0000 (16:09 +0000)]
Add a usage().

Print usage() if right before executing the specified command, it comes to be
that *argv is NULL (i.e. a flag was specified without a command being given).

22 years agoRemove #ifndef's on V6.
jmallett [Wed, 22 May 2002 16:01:50 +0000 (16:01 +0000)]
Remove #ifndef's on V6.

22 years agoPut braces around the command table properly.
jmallett [Wed, 22 May 2002 15:59:27 +0000 (15:59 +0000)]
Put braces around the command table properly.

22 years agoUse what(1) here, in /usr/bin/what. It doesn't print error 26 correctly, but
jmallett [Wed, 22 May 2002 15:44:29 +0000 (15:44 +0000)]
Use what(1) here, in /usr/bin/what.  It doesn't print error 26 correctly, but
neither does the pd sccs(1) implementation I have around, so there's no loss
for now.

22 years agostr_concat() doesn't really take const arguments.
jmallett [Wed, 22 May 2002 15:34:00 +0000 (15:34 +0000)]
str_concat() doesn't really take const arguments.

Submitted by: bde
Pointy hat to: jmallett

22 years agoDo not run shell from /bin, run it from $PATH.
ru [Wed, 22 May 2002 14:53:18 +0000 (14:53 +0000)]
Do not run shell from /bin, run it from $PATH.
Bump MAKE_VERSION to 5200205221.

22 years agoAdded the MAKE_VERSION global that could be useful in determining
ru [Wed, 22 May 2002 14:35:47 +0000 (14:35 +0000)]
Added the MAKE_VERSION global that could be useful in determining
if a given make(1) is feature-compatible with a set of makefiles.

When merged, this will be used to replace the ugly upgrade_checks
hacks in src/Makefile.

Version has the RYYYYMMDDX format, where R is from RELENG_<R> and
X allows for 10 distinguishable changes per day.

Discussed with: bde

22 years agoRepair a bug where type AAAA answer records were not displayed.
nectar [Wed, 22 May 2002 14:27:35 +0000 (14:27 +0000)]
Repair a bug where type AAAA answer records were not displayed.
Reference ISC BIND issue:
``1279.   [bug]           nslookup: partial coversion to similar style outputs
                          for both -type=aaaa and -type=a.''

Reported by: ume

22 years agoDo not attempt to free static memory.
nectar [Wed, 22 May 2002 14:24:44 +0000 (14:24 +0000)]
Do not attempt to free static memory.
Reference ISC BIND issue:
``1278.   [bug]           free() of non-malloced memory in nslookup.''

Reported by: phkmalloc, Mike Tancsa <mike@sentex.net>

22 years agoFormat internal commands properly.
jmallett [Wed, 22 May 2002 14:17:16 +0000 (14:17 +0000)]
Format internal commands properly.

Kill a bit of trailing whitespace.

Fix a path format.

Submitted by: mdoc(7) police (ru)

22 years agoClean up the manual page by leaps and bounds in terms of formatting.
jmallett [Wed, 22 May 2002 13:59:52 +0000 (13:59 +0000)]
Clean up the manual page by leaps and bounds in terms of formatting.

Ruslan's version took away the '.Nm' for some commands, but not others, so
I chose to go with leaving '.Nm'.

Submitted by: ru

22 years agoMake the guarded string functions take a const "from" addr, and make the
jmallett [Wed, 22 May 2002 13:41:08 +0000 (13:41 +0000)]
Make the guarded string functions take a const "from" addr, and make the
function that prints when a botched guarded string operation occurs take
two const arguments.

XXX Should we use strlcat/strlcpy instead and hope for the best?