Commit Graph

5346 Commits

Author SHA1 Message Date
lukem 01381cc6c0 change metadata_log() to support logging symlink info as well
(including target name).  pointed out by perry.
2001-10-29 02:57:21 +00:00
perry 0f1e6ffaee Do not attempt to stat the source if we are dealing with a link. We
aren't going to do anything with the information anyway and there is
error checking later anyway.
We can now succeed in creating symlinks to locations that don't exist,
just as ln -s will let us do, and we can use install instead of ln -s
in several Makefiles. The code was written with the obvious intent to
let you do this but apparently it was never tested.
2001-10-29 00:25:44 +00:00
perry 1ceecb558f 1) Remove a comment that bore no resemblance to reality. It was worse
than having no comment at all by far.
2) fix an instance in which we checked if "from" wasn't a regular file
   and then bitched about "to".
2001-10-28 23:43:19 +00:00
yamt 9ab12a24fa our wchar_t is int, not short. 2001-10-28 05:24:37 +00:00
jdolecek a31950f616 actually document trstr 'u' - user data and note it's included by default
kill some trailing whitespace
2001-10-26 23:38:07 +00:00
lukem 99147a7648 remove #include <ufs/ufs/quota.h> where it was just to appease
<ufs/ufs/inode.h>, since the latter now includes the former.  leave the former
in source that obviously uses specific bits of it (for completeness.)
2001-10-26 05:56:06 +00:00
lukem 99b386d4f8 Add '-T tags', to specify mtree(8) tags to be written out to the '-M metalog'
for the current entry.  Concept suggested by Perry Metzger.
2001-10-25 15:37:06 +00:00
lukem be0d379732 minor knf 2001-10-25 15:06:12 +00:00
thorpej 5f0a22902a Give host tool builds better control over the HOST_CPPFLAGS. 2001-10-25 02:22:55 +00:00
thorpej 32928fda0d When adding something to CPPFLAGS, use +=, not = 2001-10-25 01:47:11 +00:00
tron c92eaa40f3 Avoid segmentation fault if "-z" option is used. Patch supplied by
Jarle Greipsland in PR bin/14338.
2001-10-24 17:27:18 +00:00
thorpej 75f45f0ffb Add support for putting prefixes on the name of lint(1)'s front
and back ends.  This means that it can be built as a cross tool.
Part of the fix for bin/14280.
2001-10-24 02:31:09 +00:00
tv d3c2262c8b Back out part of rev. 1.16 (my build didn't pick up the -I from
../Makefile.inc the first time around, for some reason.)
2001-10-24 01:12:45 +00:00
thorpej 20d4cc1a5a Set a CPP define on the command line to indicate which object
format lint(1) is being targeted at, and use this knowledge
as appropriate in the target param headers.
2001-10-24 00:42:35 +00:00
tv b96cc8c40e Let lint.7 get auto-built by the bsd.man.mk logic (don't explicitly depend
on it via "realall:").  Fixes lint.7 problem in src/tools reported by mrg.

While here, actually -I the arch subdir to pull in the correct targparam.h.
2001-10-24 00:07:39 +00:00
jmc 7ed7336587 Fix typo in definition of PARSEFILE. It should refer to PARSEDIR (and not
itself twice) when describing the variables lifetime
2001-10-23 06:32:38 +00:00
wiz dffa59c8f5 Sort sections, sort SEE ALSO, standardize section header, improve markup in
one place.
2001-10-22 23:51:12 +00:00
augustss dc41f2f427 Change usbhidctl to take numeric usage names. Add examples in the man
page.  From Dave Sainty <dave@dtsp.co.nz>.
2001-10-22 22:03:49 +00:00
jmc d63596f307 Move CPPFLAGS addition for lint1/arch to Makefile.inc so each subdir will
pick them up
2001-10-22 05:19:31 +00:00
jmc 0fbad14c98 Check for MAKEFLAGS in the env and pass those to the test make's run for
finding obj files. Otherwise -m <new mk files> won't get passed and can
cause problems on some cross builds.
2001-10-21 23:06:59 +00:00
simonb 9935fdfff2 Back out previous; Aymeric Vincent is looking into a better fix. 2001-10-21 22:24:25 +00:00
thorpej 62f88da44c Split out target parameters into separate header files, and
pull the correct one in based on the MACHINE_CPU variable.
MACHINE_CPU will be set according to the target system we are
building for by <bsd.own.mk>.

One component of addressing bin/14280.
2001-10-21 21:39:49 +00:00
simonb e5b75269ea Fix problem with long pauses displaying blank lines if O_LEFTRIGHT and
O_NUMBER both are active.  Patch from Debian bug report #79768.
2001-10-21 16:04:29 +00:00
yamt 1856278572 backout my miscommit.
pointed by Aymeric Vincent.
2001-10-20 22:30:31 +00:00
aymeric 41fdc533eb bump version after fixing a bug introduced in 1.79nb2 2001-10-20 10:11:41 +00:00
aymeric be5a16fc47 Fix a cut_line() caller not using the right value for (former) ENTIRE_LINE,
by defining the (newer) CUT_LINE_TO_EOL define in common/cut.h and using it
where due.

Bug reported on current-users by Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
diagnosed by Bang Jun-Young <bjy@mogua.org>,
quick-fixed by Robert Elz <kre@munnari.OZ.AU>.
2001-10-20 10:04:49 +00:00
jmc e332480c9c Convert default invalid to to use the #define now available in rune.h 2001-10-20 06:01:53 +00:00
wiz e26cad44d7 Appeared in .Bx 3.0, not .Ux 3.0. 2001-10-19 17:37:32 +00:00
wiz cd08ea4664 Fix typo. 2001-10-19 16:11:57 +00:00
tv 88917ec7e1 If unprivileged, we may be running on a system that doesn't have the proper
/etc/passwd and /etc/group (as well as concept of file flags) as the target.

Rather than look up users, groups, or flags with -U, do what the manpage
indicates:  don't even try changing them.  If -M is specified, use the
strings that are passed in via options with "gname", "uname", and "flags"
in the resultant mtree file, rather than retranslating them back from numbers.
2001-10-19 14:26:19 +00:00
yamt f0b2b776f2 - implement -m.(count characters instead of bytes)
- use iswspace instead of isspace for -w.
2001-10-19 06:09:56 +00:00
martin 746fed9089 Add -msoft-quad-float on sparc64 to work around toolchain/kernel fpu
emulation lossage.
This makes awk create proper vi.h and emacs.h files in src/lib/libedit
again.
2001-10-19 04:12:41 +00:00
tv 3a3a2b1175 Rename "aux.c" to "support.c" to avoid clash with invalid "aux" basename
on some Microsoft host OS's.
2001-10-19 02:46:19 +00:00
tv fbc7a97b48 Remove files beginning with ":", which is invalid on other host OS's
(particularly those made by Microsoft).  These ex/vi-macro files are not
actually needed at this point, anyway....
2001-10-19 02:43:26 +00:00
itojun c868e666a2 print rip6stat. sync with kame 2001-10-18 09:26:16 +00:00
wiz a3f7faa89a "compact" is no valid .Bd argument, "-compact" is (groff-1.17.2-found). 2001-10-17 22:36:32 +00:00
wiz 73f9704b80 Sort sections, fix punctuation. 2001-10-17 22:32:41 +00:00
wiz c6c6db2fc7 "-indent" is not a valid .Bl argument, "-offset indent" is (found by
groff-1.17.2).
Fix some whitespace.
2001-10-17 22:28:49 +00:00
wiz 663a1fb2a8 Sort sections, drop some whitespace. 2001-10-17 22:13:04 +00:00
wiz 862fdf44d8 Sort SEE ALSO, drop some whitespace, and sort sections. 2001-10-17 22:09:55 +00:00
wiz 797e4e51c3 Fix section names, sort sections, remove a space. 2001-10-17 22:02:30 +00:00
wiz c805849eed Properly quote `No' (as non-macro argument). 2001-10-17 21:08:15 +00:00
yamt f8835551fd fix format string bugs.
pointed by Tomoaki IMAMURA in PR/14271.
2001-10-17 07:38:48 +00:00
sjg 93de21cdc1 Don't ignore errors during .END processing.
PR: 14267
Reviewed: christos
2001-10-16 18:50:12 +00:00
sjg 9c66252a02 When attempting to chdir to .CURDIR because Check_Cwd_Cmd says we need to
make sure that the dir actually exists.  In compat mode the corresponding
chdir simply fails and all is well - the issue only arises when playing
tricky games with the value of .CURDIR.

Reviewed: christos
2001-10-16 18:06:29 +00:00
bjh21 6b49898e83 While I'm here, for those currencies that have a fixed exchange rate against
the Euro (BEF, DEM, ESP, FRF, IEP, ITL, LUF, NLG, ATS, PTE, FIM, GRD), use
that exchange rate.
2001-10-16 12:53:29 +00:00
bjh21 02f58b4bee Add "rackunit" (alias "RU" or "U"). 2001-10-16 12:09:04 +00:00
bjh21 e0b2c4633d Move hard-coded /usr/share/misc from mdb.c to pathnames.h, in accordance
with KNF.
2001-10-15 22:20:03 +00:00
bjh21 92fa26019d Move the default path definition from msgdb.c to a new pathnames.h, as
required by KNF.  This will also be required to allow msgc to be installed
into ${TOOLDIR} properly.
2001-10-15 22:11:12 +00:00
tacha a2ffc24485 If no_proxy condition is true && urltype == FTP_URL_T, use fetch_ftp to retrieve. 2001-10-15 05:05:43 +00:00