| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
| |
new file: man/man4/mntgen.4
new file: src/cmd/mntgen.c
|
| |
|
|
|
|
|
| |
ramfs: update to work
erealloc(p, 0) is handled correctly
removed fprint(2, ...
removed assert()
|
| | |
|
| | |
|
| |
|
|
| |
940f1fd6af broke page on non-PDF files.
|
| |
|
|
|
|
|
|
| |
Instead of only saving a window's currently displayed font's name to the
dump file, have Acme's Dump command save that window's combined low DPI
and high DPI font names when both are available.
See 9fans/plan9port#630
|
| |
|
|
|
|
|
| |
Previously the vertical bar in tick was always black; fine if you
use the standard black-on-white for everything, but any attempt to
add a dark mode ran into trouble with the tick being half hard-coded
black, half the new text color.
|
| |
|
|
|
| |
A subfont with n chars has n+1 Fontchars, so scalesubfont() needs to
scale all n+1 info entries.
|
| |
|
|
| |
128 counting with the entire expression match ($0).
|
| |
|
|
|
| |
Thus up to two-digit subexpression match variables are supported
($1 through $99) in addition to the entire expression match ($0).
|
| | |
|
| |
|
| |
Service is dead.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Also fix wording of -w warning.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
line; ref #10
|
| |
|
|
|
|
| |
When log reading exits, inuse flag should be cleared.
Signed-off-by: Tw <wei.tan@intel.com>
|
| |
|
|
|
|
|
|
| |
As it is allowed to use spaces in file names set interactively through
the tag since 7b1c85f, do not reject names with spaces in the 'name'
ctl message either.
Fixes #559.
|
| |
|
|
| |
Fixes #561.
|
| |
|
|
| |
Fixes #563.
|
| |
|
|
|
|
|
| |
Default builds of Firefox remove the previous X remote interface,
now causing the use of -remote to silently exit and do nothing.
https://hg.mozilla.org/mozilla-central/rev/ef22d8cbf4ef
|
| | |
|
| |
|
|
|
| |
All utilities print their usage message to stderr,
cmp(1) and getflags(8) should do the same.
|
| | |
|
| |
|
|
|
| |
Found in Arch Linux but never reported upstream:
https://bugs.archlinux.org/task/55640
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In groff, Heirloom Doctools troff, and neatroff, the `\~` escape
sequence produces an adjustable (paddable) but unbreakable space.
mandoc, which does not perform adjustment or render to typesetters,
supports the escape sequence as a synonym for `\ `, the same as `\0`.
This extension is of long pedigree: groff has supported it for at least
30 years, Heirloom for 17, mandoc for 13, and neatroff for 6.
Do the same as mandoc to prevent mis-rendering of documents using this
escape sequence. Heirloom Doctools troff, a descendant of Documenter's
Workbench troff, would be a good place to look for a compatible
implementation of the adjustable semantics for this sequence.
|
| |
|
|
| |
* font/pelm: add cjk punctuation for hku.9.font
* troff: added back HX
|
| |
|
|
| |
Screen was being queried from within a client after it had been free'd.
|
| | |
|
| | |
|
| |
|
|
|
| |
Allows this function to always return the proper path in situations
where the $PLAN9 environment variable is not set, i.e. a rc login shell.
|
| |
|
|
|
| |
That is, not only when -r was given. This allows using this veriable in
mkfiles across the code base.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Certain XkbOptions in X11 would change keysyms for modifier keys
between the key press and key release.
For example, under the XkbOptions "grp:shifts_toggle", though shift
keys remain Shift_L/R when pressed, they become ISO_Group_Next/Prev
when released.
This behavior makes devdraw unable to detect the release event
correctly and as a result mouse button 1 click always interpreted
as button 3 event after a shift key is used.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function `startrpc()` stack allocates a local buffer of size 100:
```c
static Muxrpc*
startrpc(int type)
{
uchar buf[100];
^^^^^^^^
Wsysmsg w;
w.type = type;
convW2M(&w, buf, sizeof buf);
return muxrpcstart(display->mux, buf);
}
```
The function `convW2M()` is called passing `buf`. That function accesses
`buf` out-of-bounds:
```c
uint
convW2M(Wsysmsg *m, uchar *p, uint n)
{
...
case Tcursor2:
PUT(p+6, m->cursor.offset.x);
PUT(p+10, m->cursor.offset.y);
memmove(p+14, m->cursor.clr, sizeof m->cursor.clr);
memmove(p+46, m->cursor.set, sizeof m->cursor.set);
PUT(p+78, m->cursor2.offset.x);
PUT(p+82, m->cursor2.offset.y);
memmove(p+86, m->cursor2.clr, sizeof m->cursor2.clr);
memmove(p+214, m->cursor2.set, sizeof m->cursor2.set);
p[342] = m->arrowcursor;
^^^^^^
```
To fix the issue the size of local variable `buf` is increased from 100
to 512 to avoid out-of-bounds array access.
|
| |
|
|
|
|
|
|
|
| |
When the 9P connection is closed, reads on the connection will keep
returning 0. So, fossil ends up looping forever, trying to read a 9P
message, consuming 100% CPU. The fix interprets 0 bytes read as EOF.
Reproduce by killing the 9pserve process serving the fossil service, or
by listening on tcp and using 9p(1).
|