summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-04-11uppercase Dt, ok jmcTheo de Raadt
2009-04-11Update to sudo 1.7.1Todd C. Miller
2009-04-11- make legacy mode use sio_open(3) (sndio) APIJacob Meuser
- parse .au headers in legacy mode - support playback of ulaw and alaw encoded .au and .wav files in legacy mode ok ratchov
2009-04-10avoid Xr to self;Jason McIntyre
2009-04-10Explain the AUDIODEVICE env. variable similarly to how sio_open(3) does.Alexandre Ratchov
discussed with jmc@
2009-04-10don't use the AUDIODEVICE env. variable because sio_open(3) alreadyAlexandre Ratchov
does it. From Anathae Townsend <atownsend(at)nucleus.com>, thanks!
2009-04-10with the recent module-expand changes, we need to useJoris Vink
the correct repository path in Set-sticky and Clear-sticky otherwise we'll end up with stuff like src/bin/ls/src/bin/ls in CVS/Repository which pretty much breaks. noticed & ok sthen@
2009-04-09min/maxdepth do not observe +-;Jason McIntyre
reported by x, but different fix taken
2009-04-07do not try to send a added file that is no longer on diskJoris Vink
towards the server. problem spotted and diff tested by sthen@
2009-04-06Initial check-in of mandoc for formatting manuals. ok deraadt@kristaps
2009-04-06scrub rules goneHenning Brauer
2009-04-06make sure we handle allowed options in cvs_export() insteadJoris Vink
of ignoring them, even if they are just stubs. unbreaks export with gnu cvs clients.
2009-04-05If no patch can be found in input, in addition to complaining on stderr,Stefan Sperling
have the exit code indicate failure, not success. Discrepancy with GNU patch pointed out by Arfrever Frehtes Taifersar Arahesis. Help from and ok djm@, "sounds good to me" millert@
2009-04-04don't try to free stuff we shouldnt free, really.Joris Vink
2009-04-04properly expand modules if requested by the client,Joris Vink
this option is needed so gnu cvs clients can play along properly when running checkout <module> in a remote setup. if we do not support this, gnu cvs refuses to send us any existing files already on disk and opencvs will consider everything as NEEDS_CHECKOUT, instead of running an update on existing stuff. problem noticed by fgsch@ commited with opencvs, but please everybody else do not use opencvs to commit yet.
2009-04-04Fix the byte order of the rule field in state view.Can Erkin Acar
Reported by Kamil Mielcarek
2009-04-03Show interface description names in "systat if 1"; some help from canacarTheo de Raadt
sthen likes it
2009-04-03i fucked up last night, bad so partially revert a piece ofJoris Vink
code that wasnt suppose to dissapear: for uptodate files, we want to compare rev1 against file_rcsrev to see if we wish to diff or not. saves a bit off logic. commited with opencvs, permission by deraadt@
2009-04-03my last commit to diff.c broke diffing in some cases,Joris Vink
noticed the hard way here at work. commiting with opencvs, permission by deraadt@
2009-04-02properly deal with uptodate files server-side, as they do notJoris Vink
have a file on disk we'll need to load the revision into a temporary file to do our comparison. do not even bother trying diffing 2 off the same revisions either. causes less noise... way less. you guessed it, commited using opencvs entirely. with permission from deraadt@
2009-04-02if ce_conflict != NULL, the file should be sentJoris Vink
to the server for verification. commited with opencvs, permission by deraadt@
2009-04-02make sure diffing -rTAG -rTAG works even if files are uptodateJoris Vink
commited with opencvs, with permission by deraadt@
2009-04-01in client mode, be sure to consider the file modified if a conflictJoris Vink
exists in the CVS/Entries file, otherwise the server has no way of determining if the user has resolved it or not. also in client mode, send a conflict as Â"+=" not "+" alone, so other cvs implementations get it. commited entirely with opencvs, with permission by deraadt@
2009-03-30kill rp_lines, we do not need it when parsing an RCS file.Joris Vink
incendently, commit made using opencvs entirely. with permission from deraadt@
2009-03-30allow the disk transfer speed numbers to show useable numbers when disksTheo de Raadt
get really fast; ok canacar
2009-03-29Make sure systat mbufs prints the interface name even if an interface onlyMark Kettenis
allocates clusters larger than 2k. ok deraadt@
2009-03-29printf() -> cvs_printf() so it works under server mode as wellJoris Vink
spotted by Jonathan Armani <dbd@asystant.net>
2009-03-28when i fixed to attic handling i forgot one special caseJoris Vink
that we'd hit in normal checkouts/updates for duplicate file and dirs. found and diff tested by krw@
2009-03-28pathnames with space, tab, newline, etc are encoded before being sent.Theo de Raadt
But they were not reliably being decoded, resulting in wrong naming on the target machine. diff from Tim van der Molen
2009-03-27-S (safe mode) would copy the file over, rename it to the target, thenPeter Hessler
do the chown/chmod dance. This created a race where the new file would be in place, but with the incorrect permissions. Fix so the rename is the last thing, instead of a middle thing. looks ok to krw@, deraadt@ OK beck@
2009-03-27make sure that when we try to send a Set-sticky to the client,Joris Vink
we only do so if the file we're checking out was not supplied on the command-line. Otherwise we'll end up setting CVS/Tag for the entire directory instead of slapping a sticky tag only on the file supplied.
2009-03-26fix the way Attic is handled in our recursion code, so weJoris Vink
do not skip files or run over them twice. also fixes -l and -r for checkout/update when a file in Attic exists with that tag that in HEAD is a directory in the normal repository like gnu/usr.bin/gcc/INSTALL. as a bonus, we do not run fstat() twice per file or dir anymore... spotted by deraadt@
2009-03-26"Logging dirname" needs to be properly shown when running log/rlog.Joris Vink
spotted by deraadt@
2009-03-26fix a few typographical errors found by spell(1).Igor Sobrado
ok dtucker@, jmc@
2009-03-25switch our file and directory lists to RB trees (see tree(3)),Joris Vink
so we can benefit from faster lookup times while recursing.
2009-03-25prevent a very difficult to reach, but possible use after free.Joris Vink
ok tobias@
2009-03-25remove unused functions, definitions and outdated commentsJoris Vink
from the stone ages.
2009-03-25-q hasnt been the default verbosity mode in ages.Joris Vink
2009-03-24have CVS_OP_TAG and CVS_OP_RTAG use RCS_WRITE flagJoris Vink
when calling rcs_open(), so it gets automaticly synced at the end of operations for that file instead of explicitly calling rcs_write() when you're in RCS_READ mode only. while here, make sure we do not try to free an uninitialized list.
2009-03-24shuffle code a bit so FILE_REMOVE_ENTRY also callsJoris Vink
cvs_checkout_file() with CO_REMOVE set otherwise our server would never inform the client the entry should be removed.
2009-03-24use size_t for size, since atomicio() both accepts and returns itJoris Vink
2009-03-23My previous commit didn't fix the problem at all, so stick at my firstTobias Stoeckmann
version of the fix presented to dtucker. Issue notified by Matthias Barkhoff (matthias dot barkhoff at gmx dot de). ok dtucker
2009-03-23kill SIZE_LEFT() macro, no longer usedJoris Vink
2009-03-23simplifyJoris Vink
2009-03-23remove debug, blehJoris Vink
2009-03-23add rlog -d support, ported from openrcs byJoris Vink
Josh Elsasser <josh@elsasser.org>
2009-03-23Fixed a possible out-of-bounds memory access if the environment variableTobias Stoeckmann
SHELL is shorter than 3 characters. with input by and ok dtucker
2009-03-23LP_NOTICE should be LP_ERR when showing directory messages.Joris Vink
2009-03-23any directory messages are, believe it or not, suppose to go to LP_ERRJoris Vink
instead of LP_NOTICE, while here modify output for non-existing files to match "? foobar" instead of "cannot find foobar". makes our output a little less alien and a little bit more gnuish.
2009-03-22styleTobias Stoeckmann