| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
which was slightly different to the libc one. To save any more cunfusion,
use the libc one.
|
|
|
|
|
|
|
|
| |
- timeval in select loop was depending on not having the remaining time
returned from select(), causing a busy spin on an implementation that
does implement it.
- the err() usage was pretty bogus, some of the error messages had
strerror attached manually and then reattached by err().
|
| |
|
|
|
|
| |
Pointed-out-by: bde
|
| |
|
|
|
|
| |
for them. Otherwise, it does strange things when it hits one..
|
|
|
|
|
| |
conflicts with what I added to cdefs.h a while ago. I never noticed this
since I used nvi-1.71..
|
| |
|
| |
|
|
|
|
| |
Feedback most welcome.
|
| |
|
|
|
|
|
| |
all the time if we want to use "link" behavior for file URLs (and not
have fetch whine at us when they're not).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
2. Add a -l flag for symlinking to rather than copying file:/path style URLs.
3. Add a -T flag for setting the timeout interval (overrides FTP_TIMEOUT if set)
|
| |
|
|
|
|
| |
Submitted by: David E. O'Brien <obrien@nuxi.com>
|
| |
|
|
|
|
| |
Pointed out by: Philippe Charnier <charnier@lirmm.fr>
|
| |
|
|
|
|
|
|
|
|
| |
hline() to draw the window split rather than fudging it with dashes.
This causes the line to be drawn in line-draw characters if the terminal
description has them.
Suggested by: ache
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- use termios, not sgtty
- dont use _putchar(), that was a BSD-curses specific feature not in
other curses packages (such as ncurses)
- use sigaction, not sigvec while I'm there
- box() does different things under sysv/ncurses on 1-line high windows,
and BSD-curses doesn't have hline(), so do it by adding characters
instead. That works on both styles of curses.
|
| |
|
| |
|
|
|
|
| |
Submitted by: "David E. O'Brien" <obrien@nuxi.cs.ucdavis.edu>
|
|
|
|
| |
Submitted-By: Mikael Hybsch <micke@dynas.se>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bigram does not remove newline at end of filename. This
break particulary the bigram algorithm and /var/db/locate.database
grow up 15 %.
Bigram does not check for characters outside 32-127.
The bigram output is silly and need ~1/2 CPU time of
database rebuilding.
old:
locate.bigram < $filelist | sort | uniq -c | sort -nr
^^^^^^^^^^^^^^
this can easy made bigram
new:
bigram < $filelist | sort -nr
code
Code does not check for char 31.
Use a lookup array instead a function. 3 x faster.
updatedb
rewritten
sync with bigram changes
read config file /etc/locate.rc if exists
submitted by: guido@gvr.win.tue.nl (Guido van Rooij)
concatdb - concatenate locate databases
mklocatedb - build locate database
|
| |
|
|
|
|
|
|
|
|
|
|
| |
installs something. This is not 100% right, since it has a false hit
when install -C snaps hard links.
Also, run strip(1) from the $PATH, otherwise you need a special version
of install to install (say) elf binaries which have a different strip.
With JDP's elfkit, the layout of the path determines which binary format
you are generating.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from a script as if it was done in the interactive editor.
When reassembling the gecos string, trim any excess trailing commas, they
look ugly in the passwd file. :-)
Have a simple Makefile tweak to prevent mortal users from changing their
fullname. As ISP's we have seem some real bizzare stuff here..
When decoding the change/expire string, allow the month number as a
synonym for the name of the month.. (ie: 1 as well as Jan or January)
Note that using numbers means there's a chance that you can get bitten
if you're not used to the American DD-MM-YY order.
|
|
|
|
|
| |
correctly!
Noticed-By: knarf@camelot.de (Frank Bartels)
|
| |
|
| |
|
|
|
|
| |
8bit cleanup
|
| |
|
| |
|
| |
|
|
|
|
| |
Pointed out by: zgabor@code.hu (Zahemszky Gabor) PR#1486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
possibility of a security hole. It now does what rdist-6 does, and calls
/usr/bin/rsh if not running as root. There are NO protocol changes, this
is 100% compatable with the old rdist, except that it does not need setuid
root privs.
However, there are some minor differences to the base rdist-6 code in that
if it is being run by root, it will call rcmd(3) directly rather than
piping everything through rsh(1). This is a little more efficient as it
doesn't involve context switching on pipe reads/writes.
Also, the -P option was added from rdist-6.1.2, which allows an alternative
rsh program to be specified, such as ssh. Note that it requires the fixes
to the ssh port to disable the unconditional USE_PIPES option that was
recently added. The rcmd(3) optimisation is disabled if a non-rsh program
is speficied.
|
|
|
|
| |
Submitted by: Somebody on -hackers, ooops, i've already deleted that mail
|
|
|
|
|
|
|
|
| |
for bootstrap" tweak to the lex Makefile to stop it building the library
too early.
This untangles things a bit more, it stops new bootstraps failing because
libl/libfl uses 'ld -O' before ld is updated.
|
| |
|
|
|
|
| |
are already correctly reported.
|
|
|
|
| |
Obtained from: A Quarter Century of UNIX, Peter H. Salus
|
|
|
|
|
| |
Better error messages.
Submitted-By: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
|