Commit Graph

5297 Commits

Author SHA1 Message Date
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
lukem
c3e7e8005a oops, got chflags() error checking around the wrong way 2001-10-11 04:27:30 +00:00
lukem
c32ec6cb78 - Implement "-M log", which appends the metadata associated with the
installed file or directory to `log'. This is primarily designed
  to be used in conjunction with -U, but that's not mandatory.
  Provide metadata_log() to do the hard work. The log file is opened
  for append at the start, and flock(LOCK_EX) is used to prevent
  interleaved output (from multiple concurrent install(8) operations).
- Improve parsing of owner and groups (e.g., strtoul() instead of atoi()),
  and don't rely upon uid==-1 to indicate "no owner"; use a flag instead.
- Make fileflags a global variable; uid, gid, and mode are, so lets be
  consistent...
- Improve -U (unpriv); work on file flags as well, and only try to change
  the file flags after the temporary file is renamed (since certain flags
  will prevent the rename from working).
2001-10-11 02:06:32 +00:00
christos
9220b490d0 Install magic.mime.mgc too. 2001-10-10 16:56:27 +00:00
bjh21
7a29a41680 When summarizing pool memory usage, account for PR_RECURSIVE pools
specially so as to avoid counting the same memory twice.
2001-10-07 12:50:54 +00:00
is
822a067a62 file recognizes Amiga icon (.info) files now. 2001-10-06 20:55:42 +00:00
bjh21
f4c2a9f013 Use getnameinfo() to format link-layer addresses for netstat -r rather than
doing it ourselves and falling back to link_ntoa().
2001-10-06 18:56:49 +00:00
wiz
caeab83572 Whitespace fixes and formatting improvements. 2001-10-06 18:51:04 +00:00
bjh21
3369b8a6bb Use getnameinfo() for printing link-layer addresses in netstat -i, rather
than doing it ourselves.
2001-10-06 18:48:30 +00:00
bjh21
79931f7b04 Add -L and -U options to eject(1) that call DIOCLOCK. Also generally clean
stuff up, correct the usage message and update the manpage to match.

Note that the new options aren't wonderfully useful, since cd(4) at least
promptly unlocks the drawer when eject closes the device.
2001-10-06 15:43:33 +00:00
bjh21
ccb8f4d3ed KNFify 2001-10-06 14:29:55 +00:00
bjh21
67fe54beb4 On ARM ELF platforms, size_t and ptrdiff_t are u_long and long respectively.
See <arm/ansi.h>.
2001-10-06 12:25:56 +00:00
jmc
7399da0682 Add appropriate ifdefs so tools reachovers build clean 2001-10-05 22:54:51 +00:00
jmc
6addac288f If USE_NEW_TOOLCHAIN is defined use objcopy instead of crunchide as it works now. 2001-10-05 22:52:56 +00:00
eeh
a00c25eae0 Get rid of warnings on 32-bit machines. 2001-10-05 22:40:10 +00:00
eeh
f592ea46c0 Let 32-bit platforms generate 64-bit fcode too. 2001-10-05 22:36:02 +00:00
eeh
f39983133f Handle numbers with `.' embedded int them and 64-bit literals properly. 2001-10-04 18:53:15 +00:00
tv
595b32cfea Bring up-to-date with flex.skl. 2001-10-04 17:12:27 +00:00
wiz
fc7396be3d Whitespace, punctuation, section header fixes, sort sections. 2001-10-04 11:20:39 +00:00
wiz
c0de7313ab Whitespace fixes. 2001-10-04 11:20:17 +00:00
jmc
ab4dcdab07 Convert makefile to use bsd.prog.mk. Makes linking work since the .mk file
takes care of it and this will handle a DESTDIR build setup then.
2001-10-04 07:34:47 +00:00
jmc
03648a201b Add a -d option to set the DBG flag to whatever flags the builder wants. If
it's not set, default to -Os (so it's not hard coded into the binary.)

Generate a makefile by default that does all object file builds in local
subdirs by binary (i.e. bad144 gets built in $OBJDIR/bad144) via a reach over
make. (Sets .PATH and .CURDIR and does a make for the objects needed in that
dir).

Add a -o option that does the old behavior of searching for obj files by
querying the various object environment vars and searching. Without this
option none of the objdir special options, environment vars, etc will have
effect.

Document all the changes in the man page (and specificly note that without -o
none of the objdir functions take effect).
2001-10-04 04:17:04 +00:00
atatat
4aaca49ce6 Hmm...apparently I left out a word. 2001-10-03 20:29:39 +00:00
bjh21
b95ddc4862 Correct broken markup in description of -l.
Correct the second synopsis to match the description and the usage message.
2001-10-02 14:45:43 +00:00
bjh21
32261d4b9a Add .It for -d and -l as well. 2001-10-02 14:41:31 +00:00
bjh21
46dfe969fe Small formatting changes: Correctly mark the paragraph on -p with .It, and
don't put excess words in .Ar in one of the examples.
2001-10-02 14:38:09 +00:00
atatat
3cbffc40e1 Back out last patch (again). This patch seems to satisfy test suites
that I've found, while the previous one did not.
2001-10-02 03:03:02 +00:00
atatat
cfad8d9136 New fix for PR bin/14074. This one doesn't make sed hang. 2001-09-28 21:12:04 +00:00
atatat
2e515657d7 Back out the pr fix. It doesn't work. 2001-09-28 21:10:34 +00:00
jdolecek
ac2147b9f2 remove accidentaly left debug printf
change the pipe descriptor output to include 'r' or 'w' to explicitly
indicate it's open for reading or writing, similarily to "regular" descriptors
2001-09-28 20:29:04 +00:00
jdolecek
92f9fd86ff the descriptor flags may also contain other stuff besides FWRITE|FREAD,
so do '& FWRITE' instead of '== FWRITE' in the check in pipe-related code
2001-09-28 20:16:43 +00:00
tv
33333aa345 Use "trap ... 0" instead of "trap ... EXIT", and use numeric signals for
"trap ... HUP ..." if the named signals cause the trap statement to fail.
This improves backwards compatibility of this script.
2001-09-28 14:41:44 +00:00
augustss
6778fe934d Since the system call and trap rates are often 5 digit numbers these
days we move the columns a little to avoid running into other numbers.
2001-09-28 11:58:51 +00:00
christos
b804f806ac PR/5631: Rumi Szabolcs: Make talk work without COMPAT43. 2001-09-27 14:43:31 +00:00
atatat
7fb1c88366 Don't attempt to memmove() if psl (pattern space length) is zero.
Fixes PR bin/14074: Simple expression core dumps sed.
2001-09-27 05:35:44 +00:00
itojun
ba613513e8 sync with openssh 2.9.9 around 9/27. 2001-09-27 03:24:01 +00:00
kleink
1cb980bd1a Remove an extraneous opening brace from newstyle output, apparently missed
in rev. 1.6; fixes PR misc/14066.
2001-09-26 20:51:39 +00:00
mycroft
0505c42bda Quotes around ${CC}... 2001-09-25 14:26:56 +00:00
wiz
4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
tls
5cb98b6cb9 Fix some lossage in previous commit: don't remove everything when cleaning
in a source directory, just the object files.  This is a _very temporary_
fix; I will untangle the meaning of UPDATE, etc. in this context presently.
2001-09-24 01:05:47 +00:00
tls
0b6a2936aa Changes to the emitted makefiles that actually build the objects:
1) Always do a make clean before building objects in any directory.  This
   is wasteful, but there's really no other simple way to cope with the
   fact that the compilation settings (e.g. CFLAGS) appropriate for the
   non-crunched build of a program may not be appropriate for the crunched
   build.  If the objdir magic in make didn't rely upon the presence of an
   "obj" or "obj.${MACHINE}" symlink, we could abuse it to handle this but
   unfortunately, it does.

2) Override $DBG to cause object files to be built with -Os.  We can't emit
   "DBG?=" into the generated makefile because of order-of-inclusion issues
   with the system Makefiles; the result would be that the default setting
   (currently -O2) would always be used instead of -Os.  If you're crunching,
   you almost certainly are doing it to get a smaller executable (!) so -Os
   is almost certainly appropriate for you.
2001-09-24 00:40:35 +00:00
yamt
eb8d48e92a enable checking limit of setid and msgid. 2001-09-23 16:32:35 +00:00
jdolecek
6f081befa2 set CC and DESTDIR for mkioctls accordingly
patch by Chris Jepeway via tech-userlevel.
2001-09-23 08:51:11 +00:00
tv
9a0eaa53ba flex -> ${LEX} 2001-09-22 05:39:22 +00:00
tv
09e458baee Add HOSTPROG exclusions to allow this to be included in src/tools. 2001-09-21 22:47:37 +00:00
enami
49f300855c Reallocate memory correctly while substituting the braces. 2001-09-21 07:11:33 +00:00
yamt
7a04f9f720 fix possible 1-byte overflow. 2001-09-20 15:56:06 +00:00
gmcgarry
6b7bff4969 Recognise MLSSA datafiles 2001-09-20 03:05:54 +00:00
wiz
9fa0b17629 Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
simonb
0e3b64a601 Back out previous vfork->fork change now that the cause of the problem
(execvp) has been fixed.
2001-09-18 05:11:15 +00:00