Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-03-14 | No need to declare optind/optarg if unistd.h is included. | Moritz Jodeit | |
From David Hill. ok ray@ | |||
2006-03-14 | More use of const and fix a signed/unsigned comparison. | Moritz Jodeit | |
From David Hill. ok ray@ jaredy@ | |||
2006-03-14 | *AliveCountMax applies to protcol v2 only; ok dtucker, djm | Markus Friedl | |
2006-03-14 | add an argument to cvs_diff3() to be able to handle verbosity of | Xavier Santolaria | |
commands; fixes rcsmerge -q behaviour. OK niallo@ ray@. | |||
2006-03-14 | ci currently doesn't parse the -x flag at all, defaulting to ",v/" every | Ray Lai | |
time. I rewrote checkin_choose_rcsfile() to handle it using these rules: - If a directory structure is given (ci -x,abcd dir/dir2/file) then all RCS files are under dir/dir2. - If the RCS/ directory exists, use it. Otherwise use current directory. - If the -x flag is specified, use those slash-separated extensions. Otherwise, use the default (",v/"). - Look in the rcs directory (RCS/ or current directory) for a file with a matching extension, for each extension. Each extension is tried in order. If a file exists, it is used. If no file exists with any extension, the first one is used. - The empty extension is treated as no extension, because I can't figure out what its special meaning is. It sounds complicated, and the code is kinda complicated as well, but it makes sense if you think about it. ok niallo | |||
2006-03-14 | OpenRCS currently strips any text in a filename up to and including | Ray Lai | |
the last comma, assuming that it is a `,v' extension. GNU RCS does not do this. This removes that check. ok niallo | |||
2006-03-14 | log the originating address and not just the name when a reverse | Damien Miller | |
mapping check fails, requested by linux AT linuon.com | |||
2006-03-13 | Do not warn for functions declared with ARGSUSED | Moritz Jodeit | |
but having no arguments. ok deraadt@ cloder@ | |||
2006-03-13 | delint; from David Hill | Otto Moerbeek | |
2006-03-13 | Remove dependence on /dev/stdin and /dev/stdout | Todd C. Miller | |
Deal correctly with compressing both stdin and regular files OK jaredy@ deraadt@ | |||
2006-03-13 | Make ssh-add check file permissions before attempting to load private | Darren Tucker | |
key files multiple times; it will fail anyway and this prevents confusing multiple prompts and warnings. mindrot #1138, ok djm@ | |||
2006-03-13 | Allow config directives to contain whitespace by surrounding them by double | Darren Tucker | |
quotes. mindrot #482, man page help from jmc@, ok djm@ | |||
2006-03-13 | Make ssh-keygen handle CR and CRLF line termination when converting IETF | Darren Tucker | |
format keys, in adition to vanilla LF. mindrot #1157, tested by Chris Pepper, ok djm@ | |||
2006-03-13 | Set TCP_NODELAY for all connections not just "interactive" ones. Fixes | Darren Tucker | |
poor performance and protocol stalls under some network conditions (mindrot bugs #556 and #981). Patch originally from markus@, ok djm@ | |||
2006-03-13 | don't log that we are listening on a socket before the listen() call | Damien Miller | |
actually succeeds, bz #1162 reported by Senthil Kumar; ok dtucker@ | |||
2006-03-12 | Include arpa/inet.h after netinet/in.h, not before. deraadt@ OK | Todd C. Miller | |
2006-03-12 | knf nit | Damien Miller | |
2006-03-12 | plug a memleak in rcs_set_description() | Joris Vink | |
okidoki niallo@ | |||
2006-03-12 | more getopt() EOF crud; adobriyan@gmail | Theo de Raadt | |
2006-03-11 | Now that the last diff went in, we just have to remove some checks in | Niall O'Higgins | |
rcs_set_rev() to get the GNU-like behaviour for ci -l0, ci -u0 etc (admittedly its weird behaviour...but hey, we should support it) ok joris@ | |||
2006-03-11 | - implement GNU-compatible handling of revisions specified as single | Niall O'Higgins | |
digits. e.g. ci -l4 or ci -u5 will work like GNU now. ok joris@ | |||
2006-03-11 | type police and assorted cleanup. From Lionel Fourquaux; ok ray@ | Otto Moerbeek | |
2006-03-11 | - set RCS_SYNCED on rcs_open() so that if you call rcs_close() immediately | Niall O'Higgins | |
it will not write out a blank RCS file if there is no data in the backing structure. ok joris@ | |||
2006-03-11 | - reset NEWFILE flag on each iteration through main loop. this stops | Niall O'Higgins | |
strange things happening. - don't print "done" on error. ok joris@ | |||
2006-03-11 | /tmp -> _PATH_TMP | Ray Lai | |
ok jaredy, otto | |||
2006-03-11 | Fixes the `optindx' might be used uninitialized in this function | Ray Lai | |
warning, fixes a spacing nit in a macro, and cleans up a very bad preprocessor abuse (``if LF_ISSET(OS_DEF)''!) optindx turns out to be the index number of the gigantic option list at the beginning of the file. All we need to do is set it before every ``goto err''. The first four are global options, which you can just set optindx to the second argument of o_set(). The last one is in a loop that uses cnt as the index. Since that is cnt's only use, I just removed cnt and used optindx instead. optindx is always updated and we use one less variable. ok miod, otto | |||
2006-03-11 | Silence 2 warnings. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Silence 39 warnings. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Silence uninitialized variable warning. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Make FLUSH macro more function-like, so there are no hidden surprises. | Ray Lai | |
No binary change. ok miod, otto | |||
2006-03-11 | Initialize p to NULL to prevent gcc warning. | Ray Lai | |
Clarify a for statement. ok miod, otto | |||
2006-03-11 | Fix rcsnum_tostr() description. | Ray Lai | |
ok joris | |||
2006-03-10 | realloc & size_t police; simplify some pointer arithmetic; ok ray@ | Otto Moerbeek | |
2006-03-10 | fix a stupid mistake in cvs_worklist_clean() while loop. | Niall O'Higgins | |
ok joris@ | |||
2006-03-10 | use same date format as gnu/usr.bin/rcs in error message. OK niallo@. | Xavier Santolaria | |
2006-03-10 | i am going to be hated for including this one | Damien Miller | |
2006-03-10 | Only write a log message if the log message is not empty. | Ray Lai | |
Also prevents rfp->rf_desc[-1] from happening. ok joris, niallo, otto, and xsa | |||
2006-03-10 | Don't ferror() after fclose(). | Ray Lai | |
Don't dereference NULL pointer if file is truncated. Sync with cgetnext(3). ok otto and millert | |||
2006-03-10 | make sure cvs_worklist_clean() is safe, since we are | Joris Vink | |
calling it from inside a signal handler. from deraadt@, ok niallo@ | |||
2006-03-09 | trailing spaces; | Joris Vink | |
2006-03-09 | should have been part of previous commit (add rcstime.c here too). | Xavier Santolaria | |
2006-03-09 | move joris' timezone support into rcstime.c; more work to be done there. | Xavier Santolaria | |
OK joris@. | |||
2006-03-08 | make openrcs use the worklist framework to keep track of temporary files | Joris Vink | |
and remove them in case it gets interrupted. suggested by deraadt@, ok niallo@ | |||
2006-03-08 | add a worklist framework, which will be used for atomic operations on | Joris Vink | |
files. suggested and help by deraadt@ | |||
2006-03-08 | fix usage(); | Xavier Santolaria | |
2006-03-08 | spacing in usage(); | Xavier Santolaria | |
2006-03-08 | even betterer | Henning Brauer | |
From: Przemyslaw Nowaczyk <p_nowaczyk@o2.pl> | |||
2006-03-08 | do not point to rcsfile(5) as we do not provide it. | Xavier Santolaria | |
2006-03-08 | really match gnu on error; | Xavier Santolaria | |
2006-03-08 | respect -q; pointed out by Ray Lai. | Xavier Santolaria | |