summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-01-25plug a leak if multiple expansions are done on a single line. okOtto Moerbeek
niallo@
2007-01-25use more stack allocations for fixed size buffers. ok xsa@ joris@Otto Moerbeek
2007-01-25plug a memleak in keyword expansion.Niall O'Higgins
ok joris@
2007-01-25typo in error message.Xavier Santolaria
2007-01-25do not use strlcpuy on a buffer filled by fgetln, since fgetln doesOtto Moerbeek
not NUL-terminate. ok xsa@
2007-01-25plug a mem leak and wrong usage of strlcpy after fgetln. since fgetlnOtto Moerbeek
does not NUL-terminate, it is not ok to use strlcpy on the buffer. ok opencvsgang@
2007-01-24+.Xr csplit 1 ,Jason McIntyre
from Matthias Kilian;
2007-01-24user proper format string for size_t; file size is off_t; ok joris@Otto Moerbeek
2007-01-24The example is not correct and uses non-idiomatic scripting. So fix it.Otto Moerbeek
ok espie@
2007-01-24terminate CVS/Entries with a newline.Pierre-Yves Ritschard
ok joris@, xsa@
2007-01-24split compress(1) into compress(1) and gzip(1), as suggested by millert;Jason McIntyre
ok/help millert otto
2007-01-24the ok from xsa was for another diff, rollback previous commit.Pierre-Yves Ritschard
2007-01-24put a newline at the end of the Entries file, this syncs withPierre-Yves Ritschard
GNU cvs behavior and is easier on the eyes. ok xsa@
2007-01-23When acting as a server do not blindly removeJoris Vink
directories in cvs_update_leavedir(). fixes the "Device busy" error some people have been seeing. problem initially reported by Frank Denis. ok xsa@
2007-01-23Don't fatal() when unexpected files are encountered in the workingRay Lai
copy. Allows obj/ directories to exist (which are typically symlinks.) OK joris@
2007-01-22fix detection of whether we should show progress meter or not: scpDamien Miller
tested isatty(stderr) but wrote the progress meter to stdout. This patch makes it test stdout. bz#1265 reported by junkmail AT bitsculpture.com; of dtucker@
2007-01-22return error from do_upload() when a write fails. fixes bz#1252: zeroDamien Miller
exit status from sftp when uploading to a full device. report from jirkat AT atlas.cz; ok dtucker@
2007-01-21add support for the -A flag;Xavier Santolaria
wrap some lines while there. OK joris@.
2007-01-21spacesKevin Steves
2007-01-21spacesKevin Steves
2007-01-20typoJoris Vink
2007-01-20Add missing check for fgets return value inThordur I. Bjornsson
cvs_get_repository_name(). OK joris@
2007-01-20Prevent negative array index accesses when strlen(buff) == 0.Ray Lai
OK joris@
2007-01-20more safety checks for file->file_rcsrev;Joris Vink
'cool' niallo@
2007-01-20sweep opencvs for missing rcs_translate_tag() return checks.Niall O'Higgins
2007-01-20check return value of rcs_translate_tag(). prevents a segfault found by ↵Niall O'Higgins
todd@. still need to fix tag translation though. ok joris@
2007-01-19another place to check for DT_UNKNOWN for d_type for afs/nfsTodd T. Fries
2007-01-19When we hit a DT_UNKNOWN for dirent->d_type in our filelist functions,Joris Vink
stat() the filepath to get the correct type, and therefor add it to the appropriate list. This fixes opencvs with CVSROOTs on NFS and AFS, because they both return D_UNKNOWN for directories (afs even for files too) in dirent->d_type. problem found by thib@ and todd@ tested by thib@, todd@, ok niallo@
2007-01-19move cvs_import() proto to the correct place.Xavier Santolaria
2007-01-18extra safety check for NULL value.Niall O'Higgins
ok joris@
2007-01-18We don't want to use GZIP for compress. Only examine GZIP environmentTodd C. Miller
variable when invoked as gzip, gunzip, gzcat, etc. OK otto@
2007-01-18* add an extra argument to the dir lookup functions to say whether weMarc Espie
should look in the current directory. * refactor include files treatment to have a separate function to look for an include. * use both pieces to make sure system includes do not get looked up in the current directory unless everything else fails. This is != from the netbsd solution to the same problem, which stuffs `magic' entries into filepaths to say whether dot should be looked at first or last. feature requested by matthieu@. okay matthieu@
2007-01-18import improvements:Joris Vink
- add support for remote import in opencvs client and server. - do not free already free'd buffers in import_update() - do not append a '\0' to the loaded file buffer, this was bad behaviour makes import work fine both locally and remotely.
2007-01-18send -l Argument to server when appropriate.Xavier Santolaria
2007-01-18more informative error msg.Xavier Santolaria
2007-01-18put functions protos at the right place.Xavier Santolaria
2007-01-17Honour activep for times (eg ServerAliveInterval) while parsingDarren Tucker
ssh_config and ~/.ssh/config so they work properly with Host directives. From mario.lorenz@wincor-nixdorf.com via bz #1275. ok markus@
2007-01-17on checkout, only create the module path if we find the module.Thordur I. Bjornsson
Also make error ouput match GNU CVS. ok joris@
2007-01-17send -l Argument to server when appropriate.Xavier Santolaria
2007-01-17add support for remote checkout in both our client and server,Joris Vink
with this the last real dependency to actually be able to use opencvs in a remote setup has been added. based upon an initial diff from xsa@ 'kay niallo@
2007-01-17realively -> relativelyRay Lai
``yep'' jmc@
2007-01-16Eliminate gcc -Wundef warnings in flex-generated code.Marc Aurele La France
ok miod@
2007-01-16handle the export command in cvs_client_{set,clear}_sticky().Xavier Santolaria
2007-01-16better, share -l and -R flags between checkout and export cmds.Xavier Santolaria
2007-01-16handle -l and -R for checkout too.Xavier Santolaria
2007-01-16sanitize what kind of symbols we can have in symbol names,Joris Vink
tested & found brad@
2007-01-15When checking in multiple files, if no log message is entered forTodd C. Miller
a file, don't prompt the user to reuse the (non-existent) log message for the next. Makes ci behave like the GNU version. OK xsa@, joris@, niallo@
2007-01-15document `update -C'.Xavier Santolaria
2007-01-15Fix -a when given an entry with an already existing user. Also, giveOtto Moerbeek
error message if a user arg has been given with -a. Noted by Dan Brosemer. ok millert@ jaredy@
2007-01-15replace old diffing mechanisms with the new fluffy RCS stuff,Joris Vink
okay niallo@