summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2004-07-28Only put a space in the client buffer if the request has a non-NULLJean-Francois Brousseau
argument. This is only for prettying and makes us closer to the GNU behaviour
2004-07-28more s/illegal/invalid/Markus Friedl
2004-07-28call setsid() _before_ re-execMarkus Friedl
2004-07-28remove dead Xr to uucp(1); from misc@;Jason McIntyre
ok millert@
2004-07-28Remove a debugging messageJean-Francois Brousseau
2004-07-28Fix $OpenBSD$ tagJean-Francois Brousseau
2004-07-28Pass the appropriate argument to cvs_client_connect()Jean-Francois Brousseau
2004-07-28Add a small cache for parsed CVSROOT strings and return a pointer to aJean-Francois Brousseau
previously cached entry when we encounter the same string more than once.
2004-07-28Pass the appropriate arguments to cvs_client_connect() andJean-Francois Brousseau
cvs_client_disconnect()
2004-07-28* prepare for an overhaul of the connection code by adding a cvsrootJean-Francois Brousseau
parameter to the cvs_client_connect() and cvs_client_disconnect() functions, so we rely less and less on a global variable
2004-07-28Add a newline at the end of the strings put in CVS/Root andJean-Francois Brousseau
CVS/Repository, like GNU CVS does
2004-07-28Fix the timestamp parsing for Mod-time. Months are now being detectedJean-Francois Brousseau
correctly and there is no assumption about Daylight Savings Time
2004-07-27the `.#*' pattern actually still matches, include it in standardJean-Francois Brousseau
ignore patterns
2004-07-27Fix directory loading with the new file structure allocation codeJean-Francois Brousseau
2004-07-27Be less retarded when parsing the contents of a CVS/Root fileJean-Francois Brousseau
2004-07-27Comment out unused code and some minor cleanup. Add the prototype andJean-Francois Brousseau
skeleton for cvs_printf(), which will be used to output strings that do not need all of the handling that cvs_log() performs. This will be used among other things to prepend the `M' and `E' family of responses to output made by the `server' command.
2004-07-27* use a mix of mktime() and ctime_r() instead of asctime_r() to calculateJean-Francois Brousseau
the Mod-time timestamp. This way, mktime() fills in information about the week day and day of year which was not calculated with the previous method * calculate the GMT offset This fixes a bug where each CVS entry in the Entries files would have `Sun' (for Sunday) as the day of the week.
2004-07-27* parse the timestamp given to Mod-time correctly and store it so theJean-Francois Brousseau
next operation on a file can use it (actually, we need to fix the problem with weekdays) * when getting a sticky command and the directory doesn't exist, create it and populate it with CVS admin files
2004-07-27macro fixesJared Yanovich
punctuation use 'Bl -diag' for diagnostic lists ok jmc
2004-07-27* when opening an Entries file for writing, open the file in append modeJean-Francois Brousseau
* when parsing the entries, break if we encounter the last line 'D' * when adding the line to the file, generate it from the fields instead of taking the line
2004-07-27* don't always return 0 in cvs_client_sendreq()Jean-Francois Brousseau
2004-07-27Zero out the cvs root structure before assigning the fields, otherwiseJean-Francois Brousseau
we can end up with pretty strange results
2004-07-27* create cvs_file_alloc() to keep one copy of the file allocation codeJean-Francois Brousseau
and reuse it * add cvs_file_create() to explicitly create a file or directory * add cvs_mkadmin() to fill the administrative files for a CVS directory
2004-07-26* make checkout work in remote mode (almost)Jean-Francois Brousseau
2004-07-26Fix headerJean-Francois Brousseau
2004-07-26* fix two offset bugs in MT stack handlingJean-Francois Brousseau
* create the directory if it does not exist when getting a `Clear-sticky' or `Set-sticky' * fix the cvs_client_getln() that was missing in cvs_resp_statdir() * when receiving a `Created', read the proper lines, then generate a valid pathname to pass to cvs_recvfile() * don't try to compare checksums if the checksum pointer is NULL * in cvs_recvfile(), open the file with the proper flags
2004-07-26Fix pointer passed to fclose() in cvs_ent_close()Jean-Francois Brousseau
2004-07-26document behaviour of mg +-number fileMichael Coulter
ok vincent@ better wording from jmc@
2004-07-26Remove the code that would avoid sending a `Directory' request if theJean-Francois Brousseau
previous `Directory' request had sent the same dir, our code isn't as stupid as it used to be
2004-07-26* start working on the MT supportJean-Francois Brousseau
* add dummy handlers for `Set-sticky', `Clear-sticky' and `Module-expansion'
2004-07-26* when loading a file, cvs_file_get() can now tell whether the fileJean-Francois Brousseau
is up-to-date or modified * add cvs_file_examine() to run a command on a file and its subfiles
2004-07-26Add the handler for the checkout commandJean-Francois Brousseau
2004-07-26Start explaining what the commands do and tweak the mdoc to have aJean-Francois Brousseau
prettier description layout
2004-07-26- document -v (verbose); from NetBSD (-r 1.16)Jason McIntyre
- order options - simplify macros - sync usage()
2004-07-25* add an entry for the `Mod-time' responseJean-Francois Brousseau
2004-07-25cvs_file is defined somewhere elseJean-Francois Brousseau
2004-07-25* when calling cvsd_sock_open(), close the socket if it is alreadyJean-Francois Brousseau
opened, before reopening it * remove the cvsd_sock_loop() call, it was a bad idea
2004-07-25* rework on the child API, still needs more functionalityJean-Francois Brousseau
* move the ACL parsing code into the more general conf.y, which handles parsing of the whole configuration file
2004-07-25Man page overhaul: cvsacl.5 goes away, ACLs will now be part of theJean-Francois Brousseau
standard configuration and are described in cvsd.conf(5) from now on
2004-07-25Add some code from tcpdump for file descriptor passingJean-Francois Brousseau
2004-07-25* cleanup the file API with regards to flag handling andJean-Francois Brousseau
general structure * implement cvs_ent_close() correctly, fix some memory leaks, and add cvs_ent_getent() to get a single entry easily
2004-07-24Print a newline before the message in kbintr. Otherwise the messageTodd C. Miller
ends up on the same line as the prompt.
2004-07-23fix use after free due to freeing incorrect item.Marco S Hyman
looks right to me millert@
2004-07-23Revamp the file interface to make life easierJean-Francois Brousseau
2004-07-22Spell reserved correctly; ok from copyright holders when in licence blocks.Miod Vallat
2004-07-22stage 1 of the infinite minibuffer work - add support for on the flyVincent Labrecque
buffer reallocation in veread(). This commit only changes the API. All the buffers have exactly the same bounds as before for now. tested by a couple of my very helpful testers!
2004-07-21Use fseeko, not fseek when offset is an off_t; Fabio Olive LeiteTodd C. Miller
2004-07-21typo in comment; Fabio Olive LeiteTodd C. Miller
2004-07-21bz#902: cache remote port so we don't fatal() in auth_log when remoteDamien Miller
connection goes away quickly. from peak AT argo.troja.mff.cuni.cz; ok markus@
2004-07-21fix function declarationDamien Miller