Ruslan Ermilov
7f36b97c54
Look into machine-specific manpage subdirectories too.
...
PR: bin/72243
MFC after: 3 weeks
2004-12-22 16:04:58 +00:00
Ruslan Ermilov
482c89954d
Fixed the only warning and mark as WARNS=6 clean.
2004-12-22 15:25:51 +00:00
Ruslan Ermilov
0ab4b27257
- Fixed handling of manpage subdirectories:
...
catman /usr/share/man/man8
cd /usr/share/man; catman man8
- Don't print false warnings about invalid cat pages which are
machine-specific cat page subdirectories (visible with -v).
- Fixed one memory leak.
2004-12-22 15:24:48 +00:00
Tim Kientzle
225ac9a3dd
Add a fallback version of fnmatch() to the bsdtar
...
source code. Include configure logic to pick up the
system one when it exists and use the fallback version
when it doesn't exist. Set the default for FreeBSD
to use the system version.
With this, bsdtar should now be quite portable.
2004-12-22 06:08:04 +00:00
Tim Kientzle
4d7142130b
GC an unused #include
2004-12-22 05:54:10 +00:00
Tim Kientzle
882aa4c9cd
Fix -W long option handling.
...
In particular:
-W excl=text
fails because "excl" is a prefix of both "exclude" and "exclude-from". But,
-W exclude=text
is okay because it matches "exclude" exactly.
Thanks to: Jose F Nieves
MFC after: 7 days
2004-12-22 03:38:28 +00:00
Tim Kientzle
e69591ddc3
Portability: the included fts.c should now
...
compile on many non-FreeBSD systems, including
Linux, Solaris, Darwin, etc.
Thanks to: many people who pointed out the same portability problem
2004-12-22 00:21:28 +00:00
Ruslan Ermilov
a216173556
NOCRYPT -> NO_CRYPT
2004-12-21 10:16:04 +00:00
Ruslan Ermilov
83c7ade90a
NOSHARED -> NO_SHARED
2004-12-21 09:59:45 +00:00
Ruslan Ermilov
ab7a294721
NODOCCOMPRESS -> NO_DOCCOMPRESS
...
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
2004-12-21 09:33:47 +00:00
Ruslan Ermilov
07736e20e9
NOATM -> NO_ATM
2004-12-21 09:08:06 +00:00
Ruslan Ermilov
e653b48c80
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
Hartmut Brandt
5dd8ec0fd1
Fix compilation for the USE_KQUEUE case.
...
Submitted by: Emil Mikulic <emikulic@dmr.ath.cx>
2004-12-20 10:21:27 +00:00
Hartmut Brandt
0512b0a6c7
maxJobs is declared extern in job.h so it cannot be static in job.c.
...
PR: bin/75210
Submitted by: Andreas Jochens; Robert Millan <rmh@debian.org>
2004-12-20 10:14:05 +00:00
Ruslan Ermilov
a8b18d10fb
Sort by month/day/year/login.
2004-12-20 10:09:06 +00:00
Mark Santcroos
2e03d4887d
Add myself.
2004-12-19 22:21:41 +00:00
Colin Percival
0993d1af06
Use the accepted abbreviation "kB" for kilobyte, rather than "kb" (which
...
is the common unit for a kilobit).
2004-12-19 13:29:25 +00:00
Christian Brueffer
4b2c187db5
Specify the state of my birth, similar to other entries.
2004-12-18 00:58:22 +00:00
Hartmut Brandt
674a77f864
Remove all the cleanup functions. There is no reason to free memory
...
just before exiting (especially given the number of memory leaks) -
it just costs time.
2004-12-17 13:20:19 +00:00
Ruslan Ermilov
025bfb24c4
Fix a long-standing bug when make(1) is passed the -V and
...
-f options in MAKEFLAGS environment variable, and some of
these options are also specified on the command line.
Thanks to: marcel
Reviewed by: harti
2004-12-16 19:46:50 +00:00
Hartmut Brandt
1d614caea7
Instead of dynamically allocating list heads allocated them statically
...
now that their size is only two pointers. This eliminates a lot of calls
to Lst_Init and from there to malloc together with many calls to
Lst_Destroy (in places where the list is obviously empty). This also
reduces the chance to leave a list uninitilized so we can remove more
NULL pointer checks and probably eliminates a couple of memory leaks.
2004-12-16 16:14:16 +00:00
Greg Lehey
f2d336274b
Correct the event of 17 December 1770: Ludwig van Beethoven was
...
christened. We don't know whether he was born on the same or the
previous day.
From: Die Musik in Gecshichte und Gegenwart (Bärenreiter, Kassel,
1989), 1:1509
2004-12-16 00:29:35 +00:00
Greg Lehey
d96795a5db
Correct the dates and locations relating to Ludwig van Beethoven's
...
birth:
1. Remove anachronistic "Germany". Depending on your viewpoint, he
was born in the Rheinland or Prussia.
2. Remove reference to his date of birth. It's not known, though
it's possible it was 16t or 17 December.
3. Get the date of his christening right.
2004-12-16 00:26:53 +00:00
Suleiman Souhlal
f6bbd7a8e9
If ferror is true, we must reset the error indicator.
...
Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>
Approved by: grehan (mentor)
2004-12-15 06:24:57 +00:00
Niels Heinen
8a7a5b487d
Add myself to the committers' birthday calendar
...
Approved by nectar (mentor)
2004-12-13 12:22:28 +00:00
Ceri Davies
8693799f41
Bump document date before ru gets me.
2004-12-11 13:14:54 +00:00
Ceri Davies
876b0a88dd
Add a -k flag for querying whois.krnic.net (the National Internet
...
Development Agency of Korea) which hold details of IP address
allocations within Korea.
Approved by: bms
2004-12-11 13:14:07 +00:00
Hartmut Brandt
54bb820a75
Remove a list that was just used to free all variables just before exiting.
2004-12-10 11:58:34 +00:00
Hartmut Brandt
fadeed7fb8
Remove a list that used to hold all the GNodes just to be able
...
to free them just before exiting.
2004-12-10 10:32:10 +00:00
Hartmut Brandt
16fa982c70
Remove a useless list where just all command lines are stuffed onto, never
...
used and just freed at the end. The idea might have been to be able
to free all the strings, but what's the point to free just before exiting?
2004-12-10 10:13:40 +00:00
Hartmut Brandt
3cfcafb49a
Nobody actually checked the return codes from Lst_Append and Lst_Insert
...
so don't return anything.
2004-12-09 15:31:32 +00:00
Hartmut Brandt
0354c3e056
If a path element directory was never opened it is not on the list of
...
open directories so there is no need to remove it from there. This fixes
a core dump introduced by removing the run-time check from Lst_Remove.
2004-12-09 10:00:55 +00:00
Hartmut Brandt
4ec22b1196
Now that circular lists are gone remove stuff for them. Simplify
...
somewhat so that we can remove a local variable.
2004-12-08 17:48:15 +00:00
Hartmut Brandt
c81703e6a4
No caller checks the return code from Lst_Remove, so don't return one.
...
Simplify the algorithm now that circular lists are gone.
2004-12-08 17:43:43 +00:00
Hartmut Brandt
74c71bfc19
Don't check the return code from Lst_Remove. There is no way
...
that the list's first element is not on the list.
2004-12-08 16:50:14 +00:00
Hartmut Brandt
2e022816d8
Remove return value from Lst_Concat. None of the callers ever checked
...
it. Remove stuff that was needed for circular lists.
2004-12-08 16:47:19 +00:00
Hartmut Brandt
3220c0368c
Don't free the second list in Lst_Concat for LST_CONCLINK; free it
...
in the caller instead.
2004-12-08 16:28:53 +00:00
Hartmut Brandt
c76d7d5047
Get rid of the sequential access feature of the lists. This was used
...
only in a couple of places and all of them except for one were easily
converted to use Lst_First/Lst_Succ. The one place is compatibility
mode in job.c where the it was used to advance to the next command on
each invocation of JobStart. For this case add a pointer to the node to
hold the currently executed command.
2004-12-08 16:22:01 +00:00
Hartmut Brandt
db7ce92a3c
Constify the arguments to the list compare function. This temporarily
...
requires to make a copy of the filename in ReadMakefile and to duplicate
two small functions in suff.c. This hopefully will go away when everything
is constified.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (partly)
2004-12-08 12:59:27 +00:00
Hartmut Brandt
5d7406afd3
Constify some calls of Buf_AddBytes.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2004-12-08 08:18:13 +00:00
Hartmut Brandt
cb93e26c8a
Consify the arguments to str_concat. Remove the STR_DOFREE flag for that
...
purpose and explicitely free the input string in the one place that was
calling str_concat with that flag.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2004-12-08 08:11:59 +00:00
Hartmut Brandt
bf1ead0608
Typedefs of pointers to structs are evil. Make Lst and LstNode typedef of
...
the structs itself not of pointers to them. This will simplify constification.
Checked by: diff on the object files
2004-12-07 13:49:13 +00:00
Hartmut Brandt
b82f920f8e
Constification of arguments passed to functions; no change on the
...
resulting executable.
Checked by: diff on original and new objects
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2004-12-07 12:23:45 +00:00
Hartmut Brandt
644a6874f9
Make needs no circular lists so remove them from the list code.
2004-12-07 10:14:16 +00:00
Alexander Nedotsukov
59dd44d303
Fix -t option processing.
...
Partially initialized tm structure was passed into mktime(3).
Approved by: ru
2004-12-06 15:38:24 +00:00
Hartmut Brandt
a82682c493
Some constification which doesn't require code rewrites.
2004-12-06 15:20:12 +00:00
Hartmut Brandt
595e513a56
Style: fix indentation.
2004-12-06 11:30:36 +00:00
Ruslan Ermilov
4b2a3d41da
Unbreak sockstat(1) on systems without the divert protocol.
2004-12-06 09:28:05 +00:00
Hartmut Brandt
f2b0d1538d
Remove an unused macro.
2004-12-06 08:57:41 +00:00
Hartmut Brandt
45f507983f
Constify arguments to Hash_FindEntry and Hash_CreateEntry.
2004-12-06 08:56:30 +00:00