summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2005-05-25- basic code for rcs_rev_add() and rcs_rev_remove(), does notJean-Francois Brousseau
handle deltatexts yet - fix rcs_head_set() by allocating the head pointer if there was no previous head revision - initialize subnodes list correctly for RCS deltas - fix a crash in rcs_strprint() on NULL strings -
2005-05-25add cvs_comment_lookup() and a suffix -> comment leader lookup tableJean-Francois Brousseau
to determine the appropriate comment leader for a file
2005-05-25add the RCS_ERR_ERRNO code to indicate that the actual error code isJean-Francois Brousseau
in errno, fix cvs_errstr() to return the appropriate string, and sprinkle some error setting where appropriate
2005-05-25fix version by adding an init handler which sets the argument countJean-Francois Brousseau
correctly
2005-05-25change some printf()'s to cvs_printf() for the server.Joris Vink
okay jfb@
2005-05-25'1' in buffer-list mode should open the listed buffer in its own windowJason Wright
(ie. it's just like ^M, except for a call to onlywind()).
2005-05-25no need to check cvs_trace before outputting a trace, the log codeJean-Francois Brousseau
does it for us
2005-05-25check the return value of cvs_startcmd() in cvs_req_command() so weJean-Francois Brousseau
send the OK response if it went through, instead of grabbing a random value from the stack
2005-05-25SIZE and RES are not always in kbytesJared Yanovich
2005-05-24Remove -ansi as that means expose only C89 interfaces.Todd C. Miller
2005-05-24- create the Entries.Static file with 0644 permissions instead of 0400.Joris Vink
- only add the directory entry to the Entry file when it's not already there.
2005-05-24don't fail on mkdir(2) when errno is EEXIST in cvs_file_create().Joris Vink
2005-05-24Switch atomicio to a simpler interface which returns size_t and usesAnil Madhavapeddy
0 to signal errors. should be no functional change in nc apart from different error messages. "groovy", said deraadt@
2005-05-24- simplify cvs_mkadmin().Joris Vink
- create the correct base paths in checkout. - remove the CVS_CMD_SENDARGS2 flag for checkout, it doesn't need it. okay jfb@
2005-05-24remove debugging stuffJoris Vink
2005-05-24Switch atomicio to use a simpler interface; it now returns a size_tAnil Madhavapeddy
(containing number of bytes read/written), and indicates error by returning 0. EOF is signalled by errno==EPIPE. Typical use now becomes: if (atomicio(read, ..., len) != len) err(1,"read"); ok deraadt@, cloder@, djm@
2005-05-24cvs_noexec checks; ok joris@Xavier Santolaria
2005-05-24don't try to create directories with mkdir(2) in cvs_resp_sticky().Joris Vink
it will already be created with cvs_file_create(). fixes the Clear-sticky and Set-sticky responses.
2005-05-24as a client, the the Root response first, before trying to ask the versionJoris Vink
from our server. This will prevent our server from screwing up in cvs_startcmd(). ok jfb@
2005-05-24remove debugging messagesJean-Francois Brousseau
2005-05-24Merge the cvs_cmd and cvs_cmd_info structures and add the necessaryJean-Francois Brousseau
fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris
2005-05-24send the -n flag to the server as part of connection initializationJean-Francois Brousseau
if it was given on the command-line
2005-05-24more files neededTheo de Raadt
2005-05-24copy files from telnetd that were accessed via .PATH; now we have themTheo de Raadt
here, and these programs are independent of each other ... and telnetd can go away for real sometime (just tree-delinked for now)
2005-05-24'notherHenning Brauer
2005-05-24create the target directory when we receive either of theJean-Francois Brousseau
{Clear,Set}-{static-directory,sticky} responses ok joris
2005-05-24some style nits from dmiller@, and use a fatal() instead of a printf()/exitAnil Madhavapeddy
2005-05-23add support for draft-harris-ssh-arcfour-fixes-02 improved arcfour modes;Damien Miller
ok markus@
2005-05-23- removes signed/unsigned comparisons in moduli generationAnil Madhavapeddy
- use strtonum instead of atoi where its easier - check some strlcpy overflow and fatal instead of truncate
2005-05-23bye byeJean-Francois Brousseau
2005-05-23better formatting.Joris Vink
from the manpage police jmc@
2005-05-23make ^S/^R behave like 'emacs': mixed case patterns forces a case sensitiveJason Wright
search. all lower case patterns is a case insensitive search; ok art
2005-05-23update the CVS_CLIENT_LOG sectionJoris Vink
ok jfb@
2005-05-23allow the CVS_CLIENT_LOG stuff to take variables which expandJoris Vink
into usefull information to create unique logfile names. okay jfb@
2005-05-23add -n flag to cvs usageJoris Vink
ok jfb@
2005-05-23add some logging for `cvs -t' option use; ok joris@Xavier Santolaria
2005-05-23remove dead and wrong code.marius eriksen
2005-05-23add -f flag; ok joris@Xavier Santolaria
2005-05-23Fix some pedantic signed vs unsigned warnings. From Michael Knudsen, 10xOtto Moerbeek
2005-05-22at the bbqTodd T. Fries
2005-05-22remove ununsed codeJean-Francois Brousseau
2005-05-22unused variableJoris Vink
2005-05-21more heuristics to coerce gnu-m4 mode to work like we wish: if a ^ or $Marc Espie
is seen in the regexp, this means we need to take new lines into account. Otherwise, we don't.
2005-05-20Teach the SOCKS5 code more of the protocol, so it can send domain namesDamien Miller
to the proxy instead of resolving them locally and sending IPv4 addresses. This improves privacy, e.g. when using nc with OpenSSH DynamicForward tunnels, and gives us better IPv6 support; ok beck@
2005-05-20correct wrong error code usage.Joris Vink
ok jfb@, xsa@
2005-05-20cvs_noexec checks; jfb okXavier Santolaria
2005-05-20simplify error messageJean-Francois Brousseau
2005-05-20do not hardcode 'CVS/Root' but rather use defined CVS_PATH_ROOTSPEC;Xavier Santolaria
ok jfb joris
2005-05-20make the handlers static and remove local code that will go in anotherJean-Francois Brousseau
function
2005-05-20first bits of the `cvs -n' option; ok jfb jorisXavier Santolaria