Commit Graph

9326 Commits

Author SHA1 Message Date
martin
6bcac52d39 Apply fix from PR bin/35526 from Xin LI: fix typo in message 2007-01-31 08:23:22 +00:00
plunky
defc1075ef This comprises a rewrite, which
- adds a server mode for incoming bluetooth connections
	- does not cfmakeraw the slave tty as this caused problems
	- does not hold open the slave tty as this prevented multiple opens
	- modifies the termios for stdio so that this can be used directly
	  by a user.
2007-01-31 08:12:21 +00:00
elad
a8c0f0c72e Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).
2007-01-30 19:40:07 +00:00
chs
aaf6e758a0 skip over the "self" sa when printing upcalls. 2007-01-28 21:29:59 +00:00
wiz
19a6ec96b4 Make HTML-ready. Drop trailing whitespace. 2007-01-28 07:54:55 +00:00
plunky
315d0953b6 minor adjustment to .Bl .. .El after reading mdoc(7) 2007-01-25 20:29:56 +00:00
plunky
d2ce8afd8d make it clearer that its a single-use PIN 2007-01-25 20:28:54 +00:00
dsl
9ac7863b40 Check of open conditionals before we trash 'curFile' - so we can actually
report the filename of the error (without core dumping!).
Also fix tests for reporting errors to the debug_file, and don't add $PWD
to (stdin).
2007-01-24 21:43:01 +00:00
abs
06ffa3913a if ioctl(fd, CDIOCPLAYMSF,...) fails, do not warn("ioctl(CDIOREADTOCENTRYS)"); 2007-01-24 10:36:33 +00:00
wiz
6aacb705f6 4 -> 4.0, since Nx does not accept all arguments without complaint. 2007-01-23 22:23:48 +00:00
christos
12d4fbef5e don't overwrite variables on the stack. From Anon Ymous. 2007-01-22 19:07:13 +00:00
joerg
a69e0dfa1d exit(3) needs stdlib.h. 2007-01-22 11:46:43 +00:00
ad
c89ec7afee pushinit(): fix a use-after-free bug. 2007-01-20 21:16:23 +00:00
dsl
bbdea71364 Don't delete '\' from before '#' in shell command lines.
Probably fixes build of pkgsrc:editors/xemacs.
Pointed out by Richard Earnshaw.
2007-01-18 20:22:44 +00:00
wiz
2f0d7fe863 Use Pq. 2007-01-18 00:15:05 +00:00
christos
c3761c950c Sync with reality. Delete unsupported and describe run level chars. 2007-01-17 16:37:41 +00:00
hubertf
48b31403c5 Remove duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
2007-01-17 00:21:43 +00:00
christos
66fbdf9319 Avoid coredumping. Found by accidentally running make instead of gmake
in java's control/make directory.
2007-01-15 01:26:32 +00:00
apb
a291dbbc01 In preparation for making TOOL_LORDER use TOOL_JOIN, TOOL_MKTEMP and
TOOL_SED:

* Parameterise JOIN, MKTEMP, NM, SED, and SORT.  Previously
  only NM and MKTEMP were parameterised.
* Rewrite some duplicated code using a loop.
* More careful quoting of shell variables.
* `...` -> $(...)
2007-01-14 16:29:35 +00:00
apb
a059c305e2 Include nbtool_config.h, to make join(1) buildable as a host tool. 2007-01-14 16:15:26 +00:00
christos
c7295a4c51 - rename {x,}error -> cfg{x,}error and {x,}warn -> cfg{x,}warn so that we
can use err(3) and warn(3) to display errors instead of using inconsistent
  fprintf's.
- remove emalloc/estrdup etc. We have them in libutil.
2007-01-13 23:47:36 +00:00
cube
718ffd7615 Handle defopt lists properly, as ':=' syntax introduce an additional
element...  For that, introduce nvcat(nv1, nv2).
2007-01-12 21:49:51 +00:00
cube
072ab00089 Change the name of the resulting kernel binary, because "lint" confuses
our Makefiles.  While there, add a couple comments to explain how all
attachments are found.
2007-01-10 15:17:43 +00:00
cube
904262675b Add new syntaxic sugar to provide a value in lint (i.e., config -L)
configurations for defparams.  It will be used _only_ by config -L.

This will greatly help automating tests with lint configurations,
hopefully.
2007-01-09 13:03:47 +00:00
elad
d2e4f7167b Remove advertising clause from all of my stuff. 2007-01-09 12:49:36 +00:00
wiz
81c929da0c Bump date for previous (year was wrong). 2007-01-09 06:58:46 +00:00
cube
6ebb2291dc Print pseudo-devices in their own section and print all of them (d'oh). 2007-01-08 18:08:24 +00:00
cube
aa3d024933 One %s is enough to print one string. 2007-01-08 17:50:43 +00:00
christos
e3717c1851 Introduce a TALKHOST environment variable to make talk work through NAT.
From Anon Ymous.
2007-01-08 17:10:59 +00:00
cube
59c945452a Introduce a new option to config(1): -L. What it does is takes a regular
configuration file (although it is meant to be used mostly with
std.${ARCH}), and prints out a configuration file that includes it and
select every single option and parameter, and define an instance for every
single possible attachment.  IOW, selects everything, into a would-be
"LINT" config.

The resulting config really isn't meant to be runnable, but should be
somewhat buildable on most archs.  It still needs adjustments because some
options are peculiar (e.g., ACPI_DSDT_FILE wants an existing file as its
value), so it's not yet possible to do "config -L; config; build" in an
automated way.
2007-01-08 16:08:08 +00:00
wiz
1e1b91be4d Remove dot and end of SEE ALSO. 2007-01-08 07:22:42 +00:00
wiz
b8808a8b5c Improve formatting, fix typo, bump date for previous. 2007-01-08 07:18:25 +00:00
cube
f55d783c32 - Document "source /path" and "build /path".
- Move documentation for "package", because as I learned tonight, it's not
  allowed before setmachine.  You get to discover scary new stuff about
  config(1) each time you look at it.
2007-01-07 23:22:04 +00:00
rillig
cb42376f86 See also: ktrace(2). 2007-01-07 15:33:48 +00:00
isaki
21b8eaae35 Correct indent. It's important around many #ifdefs. 2007-01-07 10:36:56 +00:00
cube
db31f3b5e0 Mention that newlines mid-statement are allowed, and clarify how
needs-count and needs-flag work, notably for simple attributes.
2007-01-06 21:58:54 +00:00
cube
c93963e680 Make deffilesystem check all defined options, not just defopttab (which
ought to be empty nowadays).
2007-01-06 18:54:32 +00:00
cbiere
0086d50320 Respect the environment variable TMPDIR if set. 2007-01-06 14:29:44 +00:00
cbiere
4b96ead963 Pointing before a memory object is not proper C. Use an index instead of
pointer arithmetic.
2007-01-06 14:11:20 +00:00
cbiere
a8d0a33445 - Applied patch by David Holland from PR bin/35354.
- Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.
 - Additional check for regular file.
 - Use pread() instead of lseek() + read().
 - Check for partial read to prevent out-of-bounds memory access.
 - Added FIXME to onintr(): This is no proper signal handler albeit might
   not really matter here.
2007-01-06 14:00:36 +00:00
cbiere
2fe9526c5d - Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.
- Reject unreasonable command-line arguments.
 - No need to cast sizeof() to u_int for malloc().
 - ttyconv: Simplified and replaced magic '5'.
2007-01-06 13:31:06 +00:00
ober
a57d36e7f8 Update to include Zaurus Port. 2007-01-06 03:56:13 +00:00
christos
6acd8da97d Don't limit lines to 8K. 2007-01-06 02:18:24 +00:00
wiz
596987c9f5 Bump date for previous. 2007-01-06 01:15:43 +00:00
christos
1424501a85 Ansi, KNF, no functional change. 2007-01-05 23:17:32 +00:00
jschauma
68ea33e34d Note that uniq uses a max line length of 8192 bytes. 2007-01-05 18:28:13 +00:00
christos
8d9a441486 Appease wizd, from Anon Ymous. 2007-01-05 03:52:35 +00:00
christos
d834d54792 From Anon Ymous:
1) Don't miss the pipe command when grabbing the command name.
2) Convert some key constants to defines.
2007-01-03 00:39:16 +00:00
christos
07a95a1d4c 1) Fix a really stupid table termination error in mime_decode.c.
2) When doing attachments set the "name=" parameter of the
Content-Type field, in addition to the (already) set "filename="
parameter of the Content-Disposition field.  Some utilities (e.g.,
metamail) use this parameter for the filename even though (I believe)
the "filename=" parameter of the Content-Disposition field is
preferred by the standard (I can't find this explicitly except for
"application/octet-stream" types - see RFC1521 sec 7.4.1 and RFC2046
sec 4.5.1).  My impression is that the "name=" parameter of the
Content-Types field is really intended for use when retrieving a file
not in the message, e.g., "message/external-body" Content-Types, and
not for the filename.
(Thanks to wiz@ for noticing this in his spam logs.)

3) Be more careful when determining the Content-Type of 1-byte
attachments.  libmagic(3) isn't helpful on such small files.
2007-01-03 00:24:36 +00:00
dsl
8a7693fba6 Don't delete whitespace before a "\\\n" sequence. Somewhere I'd misread
the required behaviour and replaced it with something more sensible - except
for makefiles that contain "\n\t\\\n shell command"...
2007-01-02 23:22:37 +00:00