summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2005-05-27remove dup include of "log.h"Xavier Santolaria
2005-05-27cvs_noexec check; ok jfbeersXavier Santolaria
2005-05-27- check strlcpy() return values for truncationJean-Francois Brousseau
- in cvs_remove_dir(), return failure if we fail to unlink the base directory, and return -1 on error to respect the general util convention - missing function documentation
2005-05-27In find file, behave like emacs: the default starting directory forChad Loder
completion is the directory of the current buffer's file, if any, rather than the working directory from where you launched mg. Prodding by reyk, ok reyk and fgont
2005-05-27fix -O for cases where no ControlPath has been specified or socket atDamien Miller
ControlPath is not contactable; spotted by and ok avsm@
2005-05-27Add emacs-style replace-string function that does not prompt youChad Loder
to confirm replacements. OK jason, deraadt
2005-05-27Fix dumb bug in initial prompt for search-forwardChad Loder
OK jason, kjell
2005-05-27Do not dump core if user hits ^g to exit minibuffer from search-forward.Chad Loder
Found by deraadt, ok kjell
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsRyan Thomas McBride
on the local network support them. This adds a new socket option, SO_JUMBO, and a new route flag, RTF_JUMBO. If _both_ the socket option is set and the route for the host has RTF_JUMBO set, ip_output will fragment the packet to the largest possible size for the link, ignoring the card's MTU. The semantics of this feature will be evolving rapidly; talk to us if you intend to use it. ok deraadt@ marius@
2005-05-27moreJason Wright
2005-05-26make cvs_getln() return the length of the line that was read, so weJean-Francois Brousseau
don't have to call strlen() right after
2005-05-26don't keep a pointer to the file handle in CVSENTRIES, it is onlyJean-Francois Brousseau
used in cvs_ent_write(), and simplify path building a bit
2005-05-26don't append strerror(errno) to error messages if we use LP_ERRNOJean-Francois Brousseau
2005-05-26- remove cvs_ent_getent(), it's not used anymoreJean-Francois Brousseau
- don't use strcmp() to compare one-character strings
2005-05-26fix `editors' and `unedit' commands usage..Xavier Santolaria
2005-05-26uint32_t -> u_int32_t for consistency; ok djm@Darren Tucker
2005-05-26fix usage..Xavier Santolaria
2005-05-26null removal falloutTed Unangst
2005-05-26byebye umap, union and null references; pedro@ ok.Federico G. Schwindt
2005-05-26remove the trailing \n from the ctime() timestampJean-Francois Brousseau
2005-05-26send the Checkin-time request along with the file's timestamp whenJean-Francois Brousseau
running in client mode with the -d flag. The timestamp format is the same as ctime(3), as opposed to GNU CVS, which uses Yet Another Timestamp Format to make this more complicated...
2005-05-26first part of real pruning supportJoris Vink
okay jfb@
2005-05-26fix remaining issues with regards to branch numbering and add theJean-Francois Brousseau
vendor tag to the list of symbols
2005-05-26If copying multiple files to a target file (which normally fails, as itAnil Madhavapeddy
must be a target directory), kill the spawned ssh child before exiting. This stops it trying to authenticate and spewing lots of output. deraadt@ ok
2005-05-26add a couple of functions to go from branch numbers to revisions andJean-Francois Brousseau
vice versa, and fix RCSNUM_ISBRANCH()
2005-05-26style nit from hshoexer@Anil Madhavapeddy
2005-05-26support the -b option in local mode as well and rearrange the branchJean-Francois Brousseau
code a bit to get rid of an annoying global. Also remove a memory leak by adding a cleanup handler and print the number of conflicts created while importing
2005-05-25Mention isearch wrapChad Loder
2005-05-25Incremental search will now wrap to beginning (or end if backwards) ifChad Loder
you hit the search key again after a failure. OK jason
2005-05-25skeleton for the edit-related functions, not linked in yetJean-Francois Brousseau
2005-05-25unused codeJean-Francois Brousseau
2005-05-25support the -d flag in local mode (GNU CVS ignores that flag and evenJean-Francois Brousseau
kills a linux box regardless of the size of the import)
2005-05-25modify rcs_rev_add() to accept a time_t argument to explicitly setJean-Francois Brousseau
the revision's timestamp (-1 is equivalent to using the current time)
2005-05-25in M-x compile, after prompting for command, check buffers and optionallyJason Wright
save them. ok cloder@
2005-05-25split cvs_admin_file() into the local and remote versions and doJean-Francois Brousseau
some cleanup
2005-05-25assume that a file is modified if its timestamp is lowerJean-Francois Brousseau
than the value found in Entries. This can't really hurt, as the server will simply ignore it if it's not really modified
2005-05-25when importing a file in local mode, add the first two revisionsJean-Francois Brousseau
and set the head to revision 1.1
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@