Commit Graph

6710 Commits

Author SHA1 Message Date
pooka 241a9c6d03 Adapt to new magic compilation behaviour: copy magic.mime to objdir
before compiling it so that we get the output also in the objdir instead
of the distdir
2003-05-26 13:42:33 +00:00
lukem 9014bdbce6 * Document $RCMD_CMD in environ(7).
* Cross-reference rcmd(1), rcmd(3), and environ(7) as appropriate.

Should fix [bin/21670] from Geoff Wing.
2003-05-26 10:18:39 +00:00
wiz 54fa9685f1 End sentence with a dot. 2003-05-24 23:37:00 +00:00
bjh21 62cb0dbbca Add reference to uname(1). Don't claim that machine(1) is under development,
since it isn't, and suggest that it might have originated in 4.3reno.
2003-05-24 22:54:43 +00:00
christos 0fe2b9e22b handle void ({ }) 2003-05-24 22:17:46 +00:00
jmmv 5fa5de38b4 Use ; instead of , in a sentence (and fix case of next word). 2003-05-24 18:24:28 +00:00
wiz 7fbb5054ee New sentence, new line; bump date for last. 2003-05-23 18:15:17 +00:00
christos 7ce8fa7806 PR/10917: John Hawkinson: Document $MAKE and say which one we want to be using. 2003-05-23 17:25:10 +00:00
christos 11dc6dfd26 PR/19781: Thomas Klausner: make error message not helpful on unclosed ${var:foo 2003-05-22 18:20:10 +00:00
yamt 0c0dee33b1 protect from signals properly.
(fix crashes when get SIGINFO.)
2003-05-22 15:48:44 +00:00
yamt 9847a81452 rename a global variable, 'entry', to 'g_entry'.
it was confusing because we have many local 'entry' variable.
2003-05-22 15:47:25 +00:00
hubertf 34f17e9696 set s_proto properly
XXX this doesn't help with rsh insisting on a reserved port, which of course
	fails for non root users. and which only seems to happen when given
	ports >1023, funny enough. anyone? :/
2003-05-22 02:14:03 +00:00
simonb f7ed8a7482 Move one group of #define's so this looks more like ilp32.h. 2003-05-21 12:09:39 +00:00
christos 1a57478e96 Better implementation of ({}) gcc extension. 2003-05-20 13:59:32 +00:00
wiz 3443db5bce Sync usage with man page; break to 80 chars/line. 2003-05-20 08:34:52 +00:00
wiz 5a5ddfd30b More option sorting; sync -f argument name with db.c. 2003-05-20 08:32:42 +00:00
wiz 3b86e27c3d Sort options. New sentence, new line. 2003-05-20 08:27:39 +00:00
seb 8875d36598 Bump date for last change. 2003-05-19 00:28:37 +00:00
seb c4cd748ebd Add option -S to specify strvis(3) encoding of keys and/or values
when reading a database.  Add options -T and -X to tweak encoding.

Add option -U to specify strunvis(3) decoding of keys and/or values
when writing a database or deleting entries from a database.

Kill TODO item 'add option to strunvis(3) key (& value) from infile
?': unvis(1) can be used to achieve that.

Approved by lukem@. And thanks to him for suggestions.
2003-05-19 00:27:06 +00:00
kristerw 8e46e7bae0 Prevent use of stale pointer for determining return type of ({ })
expressions.

Details:
lint did fail on constructs like

   struct foo *x;
   x = ({ struct foo *y; /* do stuff */; y;});

since it gave the whole ({ }) the same structure representing the
type as y, but that structure is reclaimed when y goes out of scope.
2003-05-18 23:30:00 +00:00
lukem 91618e1c90 -N also prevents NUL termination of value 2003-05-18 12:26:18 +00:00
lukem f5dd9322ee Set CAP_MKDB_ENDIAN to the cap_mkdb(8) endian flag, rather than
overriding TARGET_ENDIANNESS.
2003-05-18 08:20:34 +00:00
lukem 826a14607a Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
itojun 4005e1b9e9 use strl* 2003-05-17 21:05:10 +00:00
itojun 0e1bb4cd82 use strlcat/strlcpy 2003-05-17 21:03:21 +00:00
itojun 7b631c16fa scanf overrun 2003-05-17 14:58:53 +00:00
itojun 9e248e087b sscanf overrun 2003-05-17 14:58:19 +00:00
itojun aa5672d8c5 sscanf overrun 2003-05-17 01:02:01 +00:00
dsl 826d79a6f7 Re-instate last change, the sysinst I've just commited doesn't stand
a chance unless those fields are const char *.
2003-05-16 19:57:22 +00:00
dsl cd7432d0cb Add an extra target to the xxx.mk file that is equivalent to 'all', but which
doesn't pick up baggage from bsd.own.mk and bsd.prog.mk.
This stops parallel makes exploding because they try to build ${PROG} to soon.
Fixes toolchain/21563 (with change to src/distrib/common/Makefile.crunch).
Upped version of crunchgen to 0.3
2003-05-15 17:49:46 +00:00
dsl d9380c052a Print rval[1] if non-zero and present in the trace entry.
To get both fd numbers for pipe().
2003-05-15 12:57:54 +00:00
itojun 5bce78caa7 use strlcpy 2003-05-15 01:00:07 +00:00
itojun 01b2c2d070 simplify by asprintf/strdup 2003-05-15 00:52:53 +00:00
itojun d83368eddb use strlcpy 2003-05-15 00:47:48 +00:00
itojun 47d22404d4 use proper #ifdef to determine behavior (__KAME__) 2003-05-14 23:36:32 +00:00
itojun 56d0ea03cf >implement kerberos over ssh2 ("kerberos-2@ssh.com"); tested with jakob@
>server interops with commercial client; ok jakob@ djm@

markus@openbsd
2003-05-14 18:22:07 +00:00
wiz d75f1336b3 Uppercase URL. 2003-05-14 14:30:59 +00:00
wiz de87ca793d constant usually has two n. 2003-05-14 12:45:06 +00:00
wiz ae83539ff6 setup -> set up. 2003-05-14 12:22:56 +00:00
dsl 606b795c6a Add a .WAIT to ensure that all the program objects are built before
trying to build the crunched binary.
Might fix toolchain/21563
2003-05-14 11:20:01 +00:00
dbj f1e0ecadf7 remove dependencies on ${LIBC} ${LIBM} and ${LIBTERMCAP} static libraries
from host tool targets.  Commits fix from PR toolchain/21495
2003-05-14 00:24:06 +00:00
christos 2d67d54fef PR/21568: Martin Husemann: Shutdown gets permission denied error from wall 2003-05-13 23:05:34 +00:00
tshiozak f664dc53f3 zero-clear the file structures, to fixate paddings.
this change solves the illness pointed out by Nino Dehne in tech-userlevel
list.
2003-05-12 06:05:52 +00:00
jmmv afa06162bc Remove extra space in usage message. 2003-05-10 19:21:40 +00:00
jmmv e4fa47aa78 Use `-ne' to compare numbers instead of `!=' in the example. 2003-05-10 17:02:04 +00:00
simonb 729eb06bdf If no files are specified on the command line, put { ".", NULL } in
it's own little array instead of writing over argv.  Fixes problems
where du shows up in ps as ". fts_open `%s'" (and shorter or longer
combinations of that depending in what argc was).
2003-05-10 02:09:39 +00:00
dsl 13d371ab4c Make the prog.mk makefile run make in each of the target directories and
then build the program itself.
This means that changes to any of the program source files cause the
crunched binary to be rebuilt.
Seems to work ok with the sysinst ramdisks.
2003-05-09 12:10:15 +00:00
lukem b86763939b Revert part of previous, and remove "const" from "char *opt_name" and
"char *title", since it causes compile problems for the only program
that uses menuc (sysinst).
2003-05-09 12:07:53 +00:00
dsl 66fb8e715d Need 'const' on local variable - since I added const to the structure field. 2003-05-09 10:24:50 +00:00
dsl 13d47d34ac Finger trouble in previous commit. 2003-05-09 10:21:43 +00:00