summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-01-31On repository-side, only parse files which end with ,v (RCS_FILE_EXT).Tobias Stoeckmann
File name ",v" is ignored, too -- in opposite to weird GNU cvs that tries to create a file without name. OK joris@
2008-01-31Our directory entries in CVS/Entries had one slash too much -- zapped.Tobias Stoeckmann
OK xsa@
2008-01-31Replaced the unused cvs_command variable cmd_req with cmd_flags, which statesTobias Stoeckmann
if the current command is supposed to use a working directory or if it is a repository-only command (as of now checkout -p, rtag, rlog). Makes the code simpler, easier to read and automagically fixes some issues we encountered with these commands (for example if a working directory exists, or "." operations are performed). OK joris@, niallo@
2008-01-29A few changes:Marc Espie
- expand commands earlier, so that we can eventually scan them to take smarter decisions. - clean up the select() mask code and rename variables to sensible things. - quite a few minor renames for readability - erecalloc - clean up wait status handling, do not try to rebuild wait status, but instead parse it early and deal with the parsed code. tested by lots of people, thanks guys!
2008-01-29There is no need to xstrdup() optarg.Tobias Stoeckmann
2008-01-29Fixed function name in fatal calls. While at it, adjusted style.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly free dynamically allocated memory on error path.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly free dynamically allocated memory. Also skip needless checks.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly check if an argument has been supplied for "Removed"Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28Actually support checkout's -l.Tobias Stoeckmann
OK xsa@
2008-01-28Properly free "rev".Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28Zapped some variables which made the source harder to read (and to verify).Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28checkout's options -m and -F are mutually exclusive. Also watch out toTobias Stoeckmann
properly free arguments if options are supplied multiple times. OK ray@ > Diff from Igor Zinovik
2008-01-28Properly handle -R -- although it is default, it may be overwritten mit -lTobias Stoeckmann
in front of it. OK joris@, xsa@ > Diff from Igor Zinovik
2008-01-24Work-in-progress for sparc64, by David Crawshaw.Anders Magnusson
2008-01-23Don't reset the sticky tag of a file in CVS/Entries if it is not requested.Tobias Stoeckmann
OK niallo@, xsa@
2008-01-23Revert the change for bz #1307 as it causes connection aborts if an IGNOREDarren Tucker
packet arrives while we're waiting in packet_read_expect (and possibly elsewhere).
2008-01-22Don't remove magic branch numbers from rcs files, as it breaks compatibilityTobias Stoeckmann
with GNU cvs. OK niallo@, ray@
2008-01-21update to sudo 1.6.9p12Todd C. Miller
2008-01-21when a remote write error occurs during an upload, ensure that ACKs for allDamien Miller
issued requests are properly drained. patch from t8m AT centrum.cz
2008-01-21Remove the fixed 100 handle limit in sftp-server and allocate as manyDamien Miller
as we have available file descriptors. Patch from miklos AT szeredi.hu; ok dtucker@ markus@
2008-01-21Fixed cvs_findcmd I broke last time: cvs_findcmd is called during .cvsrcTobias Stoeckmann
parsing and must have a local cmdp variable. > Spotted by Pierre Riteau.
2008-01-21Fixed export to be fully functional and compliant to GNU cvs in local andTobias Stoeckmann
remote setups. OK xsa@
2008-01-20When uploading, correctly handle the case of an unquoted filename withDamien Miller
glob metacharacters that match a file exactly but not as a glob, e.g. a file called "[abcd]". report and test cases from duncan2nd AT gmx.de
2008-01-19promote rekeylimit to a int64 so it can hold the maximum useful limitDamien Miller
of 2^32; report and patch from Jan.Pechanec AT Sun.COM, ok dtucker@
2008-01-19When we added support for specified bind addresses for port forwards, weDamien Miller
added a quirk SSH_OLD_FORWARD_ADDR. There is a bug in our handling of this for -L port forwards that causes the client to listen on both v4 and v6 addresses when connected to a server with this quirk, despite having set 0.0.0.0 as a bind_address. report and patch from Jan.Pechanec AT Sun.COM; ok dtucker@
2008-01-19unbreak line numbering (broken in revision 1.164), fix error messageDamien Miller
2008-01-19when hashing individual hosts (ssh-keygen -Hf hostname), make sure weDamien Miller
hash just the specified hostname and not the entire hostspec from the keyfile. It may be of the form "hostname,ipaddr", which would lead to a hash that never matches. report and fix from jp AT devnull.cz
2008-01-19fix remote handle leak in do_download() local file open error path;Damien Miller
report and fix from sworley AT chkno.net
2008-01-19ignore SIGPIPE in multiplex client mode - we can receive this if theDamien Miller
server runs out of fds on us midway. Report and patch from gregory_shively AT fanniemae.com
2008-01-19fd leak on session multiplexing error path. Report and patch fromDamien Miller
gregory_shively AT fanniemae.com
2008-01-19scp -q implies ssh -q for the underlying connection, it doesn't justDamien Miller
hush the progress meter
2008-01-19satisfy the pedants: -q does not suppress all diagnostic messages (e.g.Damien Miller
some commandline parsing warnings go unconditionally to stdout).
2008-01-14Changed xmalloc(n * m) pattern into xcalloc(n, m).Tobias Stoeckmann
OK ray@, xsa@ > Diff from Igor Zinovik.
2008-01-13the mixer_devinfo structure contains next and prev pointers; they are usedAlexandre Ratchov
to create doubly linked "chains" of mixer devices. Currently mixerctl(1) supposes that the 'next' index is never smaller than the index of the device; so it fails to handle such mixers. The fix, allows 'next' indexes to be smaller than the index of the device. ok jakemsr@
2008-01-13revert 1.4, a.out toolchain needs this not-so-unused-after-all function.Charles Longeau
ok miod@
2008-01-13Revision buffers are supposed to be of size CVS_REV_BUFSZ (32) insteadTobias Stoeckmann
of 24. OK xsa@ > Diff from Igor Zinovik.
2008-01-13Typos fixed.Tobias Stoeckmann
OK xsa@ > Diff from Igor Zinovik.
2008-01-12Added missing break statements.Tobias Stoeckmann
OK xsa@ > Diff from Igor Zinovik <zinovik at cs dot karelia dot ru>
2008-01-12Updates from master repo:Anders Magnusson
> Fix whitespace bug. > Define __STDC_VERSION__ to 199901L.
2008-01-12Updates from master repo.Anders Magnusson
2008-01-12Updates from master repo:Anders Magnusson
> Change to new initializer handling. > Make prtdcon() target dependent to allow for float constants in code.
2008-01-12Large update from master repo:Anders Magnusson
> Pragma not position dependent > Accept declarations anywhere in the C code. > Just typing "a;" is not allowed anymore when declaring variables. > Change to new initializer handling. > Use symtab entry, not name to identify inline functions. > Remove "suse" symtab element and replace it with output name. > Print out strings directly, do not store them until end. > Make prtdcon() target dependent to allow for float constants in code.
2008-01-12Update from master repo:Anders Magnusson
> Convert TEMPs to use rval for numbers.
2008-01-12better error reporting/job handling error:Marc Espie
- systematically reorder jobs based on who did output last, so that the last job to output is *first* to output again. - better reaction to errors: any job that outputs is checked for termination directly, and the Error message is printed right afterwards. - better error messages, giving more useful information in -j mode.
2008-01-12new function: lstRequeue, to be used by the job handlerMarc Espie
2008-01-11add a note about shell built-ins;Jason McIntyre
2008-01-11providing MLINKS for shell builtins makes little sense: what we had was outJason McIntyre
of date for ever (no ksh builtins), and since we have two shells, pointing to one page or the other is never going to work; so remove MLINKS for csh(1); the cd(1) and wait(1) pages (also builtins); and update any trailing Xr's; please, there are tools like whence, man, and locate for finding this stuff; ok deraadt miod
2008-01-11disable unused functionsCharles Longeau
initially from tobias@, but disabled them by placing them in "#ifdef notyet" which was asked by djm@ ok djm@ tobias@
2008-01-10kill trailing whitespace;Jason McIntyre