Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
We dont expose this anymore, wrapping
these would be bad. Just send more bits.
|
|
|
|
|
|
History was built using a heuristic where a file not present in
the dump in 30 days was considered as a deleted file, without
being important if those days had an actual dump. Having the file
server off 30 days made all the files to be deleted from the
history point of view. This new version is rewriten from scratch
in rc and it does not try to detect deleted files since it can
be derived only with fragile assumptions.
|
|
the qid version is part of the qid, take it into account
for deduplication.
|
|
|
|
|
|
|
|
When a user isn't allowed to log into a file server, we
used to silently dump the user back to the console,
reporting that the command succeeded.
We should give the user an error when they fail to log in,
and we should exit unsuccessfully.
This status is communicated by setting up a sentinel env
var, and clearning it just before we execute the user
command.
|
|
while we're here, remove spare curly braces.
|
|
it's confusing and overly cute when 'src notinpath' works.
only accept paths that you can execute.
|
|
use only /mnt/factotum: if you want to delete from your
terminal, bind the terminal in as your factotum.
|
|
|
|
|
|
Rewrite of ktrans to act as an overlay to kbdfs.
Move map files outside of the binary in to /lib/ktrans
and get our dictionaries out of /lib while we're at it.
Use \n as an alias for ctrl-\ for first lookup, use ^w
to clear okurigana input. This also in general changes
the logic to never us to 'swallow' a character and always echo
them out, using backspaces for cleaning us up.
|
|
When applying a patch, we used to write out the patch,
rename the file, and then move to the next one. This
meant that if a patch failed to apply cleanly, we would
leave the patch half-applied.
This sucked, so we now apply the patch as a whole unit,
or not at all.
|
|
Understanding the environment is important for security critical
applications.
|
|
|
|
|
|
|
|
For "in" transactions, the "Total Bytes to Transfer" field in
the siTD is decremented by the controller by the actual transfer
size, so what remains in the field is the residue number of bytes.
Also, handle restart when we get a zero byte read on a isochronous
"in" endpoint in devusb itself (removing the restart code for
xhci drivers).
This fixes audio recording with a usb1.1 audio device connected
to ehci controller.
|
|
The mount ID is a sequence number in a 32 bit integer, which means that
it can't be unique. This is largely harmless, because there is no way to
use the mount id, beyond checking if it's negative.
However, there's no overflow check, so the mount ID can wrap negative,
which will break error checks on mount calls.
Because it's useless, let's just stop returning it.
|
|
the RM seems to be outdated in this regard, saying
the core is targeted at 1.4ghz.
|
|
|
|
Auth/box previously switched to /, rather than
preserving the cwd. This would break relative
paths to items that would get pulled into the
namespace.
This change removes the '-.' flag, and causes
auth/box to keep the current working directory,
making it more usable for scripting.
|
|
Our #! line length is very short, and the naïve quoting
makes it difficult to pass more complicated arguments to
the programs being run. This is fine for simple interpreters,
but it's often useful to pass arguments to more complicated
interpreters like auth/box or awk.
This change raises the limit, but also switches to tokenizing
via tokenize(2), rather than hand rolled whitespace splitting.
The limits chosen are arbitrary, but they leave approximately
3 KiB of stack space on 386, and 13k on amd64. This is a lot
of stack used, but it should leave enough for fairly deep
devtab chan stacks.
|
|
|
|
|
|
datasheet:
http://nxp.com/docs/en/data-sheet/PCF8523.pdf
|
|
when logging with `git/log -c count', we would count all messages
that we inspected, rather than just the ones that got printed.
This isn't what we should have done.
While we're in here, refactor show() to only show the message,
rather than filtering and then showing.
|
|
|
|
|
|
|
|
|
|
There does not seem to be a good reason for this. The "bind" command
has no practical consequence.
|
|
Ports are filtered through "htons" which returns an "unsigned short".
|
|
Despite what the man pages say, local addresses can actually be set so
do that.
|
|
"port >= 0" is always true, because the port always gets filtered
through "htons" which returns "unsigned short", so we can just drop
the "else" branch here.
Anyway "announce 0" works fine with the Plan9 API, there is not need
for "announce *" here.
|
|
Despite the documentation, "bind *" is invalid and gives the error
"bad numeric port" in devip.c:setladdrport.
"bind 0" OTOH is actually supported fine in the Plan9 API and has the
right sematics.
|
|
Tidy up the hash interface to make cleanup
a bit more explicit vs non cleanup.
|
|
|
|
This consolidates jisho and map lookups
to use the same structure and removes
the old jisho code.
|
|
|
|
|
|
|
|
|
|
|