| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: Bruce
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
faster IO due mmap(2) [-m | -s]
better error check for damaged databases
support for databases in network byte order (SunOS/sparc)
optional case insensitve search [-i]
optional multiple databases
optional multiple pattern
new enviroment variable LOCATE_PATH for database(s)
[-S] print some statistic about the database
[-l number] limit output to number file names
[-c] suppress normal output; instead print a count of matching file names
|
| |
|
|
|
|
| |
Submitted by: Bruce, see also c-faq 5.6 and 5.9
|
| |
|
|
|
|
|
|
|
|
| |
Documented PWD. MACHINE and MAKEOBJDIR are are still undocumented
except in main.c. I will be changing MAKEOBJDIR back to its old
behaviour so that the comment in main.c actually applies.
Removed irrelevant misformatted text about make's name being argv[0].
|
| |
|
|
|
|
| |
kill obsolete updatedb.csh, it's been rewritten in sh now.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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)
|