Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-07-28 | Recalculate buffer length after each expansion. | Ray Lai | |
OK niallo@ | |||
2006-07-27 | Second try at adding binary file support to rcs_expand_keywords(), | Ray Lai | |
using BUFs instead of C strings. Also remove initial keyword search, which is a premature optimization, slower, and apparently too hard for me to get right. OK niallo@ | |||
2006-07-27 | Not were we allocating memory for a pointer array, it wasn't even for | Ray Lai | |
the right variable! Fixes make regress with MALLOC_OPTIONS=PR. Found by and fix worked on with Joris. OK niallo@, tested by pedro@. | |||
2006-07-27 | unused variable | Theo de Raadt | |
2006-07-27 | spacing | Theo de Raadt | |
2006-07-27 | unused variable | Theo de Raadt | |
2006-07-21 | Revert; keywords did not expand. | Ray Lai | |
2006-07-21 | Add binary file support to rcs_expand_keywords(), using BUFs instead | Ray Lai | |
of C strings. OK niallo@ | |||
2006-07-11 | fix out of bound read in rcs_expand_keywords(); ok niallo | Markus Friedl | |
2006-07-08 | Remove file mode argument from {cvs|rcs}_buf_write_stmp(). We | Ray Lai | |
always set the temporary file to mode 600, which is already done by mkstemp(). OK joris@ and xsa@ over a month ago. | |||
2006-07-08 | rcs_splitlines() can never return NULL, so don't check for it. | Ray Lai | |
OK joris@ | |||
2006-07-08 | - plug an old memory leak in patching code. | Niall O'Higgins | |
ok joris@ | |||
2006-07-04 | - plug a memory leak | Niall O'Higgins | |
2006-06-11 | - clean up rcs_expand_keywords() a little more. | Niall O'Higgins | |
2006-06-11 | - zap unused variable | Niall O'Higgins | |
2006-06-09 | - fix rcs_expand_keywords(). | Niall O'Higgins | |
reported by Andreas Kahari <andreas.kahari at gmail>, input from joris@ | |||
2006-06-04 | - initialise path pointers to NULL since error code checks for that. | Niall O'Higgins | |
2006-06-04 | - explicitly set some pointers to NULL since they are tested on error. | Niall O'Higgins | |
2006-06-04 | - we can just use the 'sizdiff' variable instead of calling strlen(expbuf); | Niall O'Higgins | |
simplifies things a little. | |||
2006-06-04 | - ensure fin pointer is not invalidated after realloc | Niall O'Higgins | |
2006-06-04 | - don't forget to free data in rcs_expand_keywords() | Niall O'Higgins | |
2006-06-04 | - fix off-by-one in rcs_expand_keywords() | Niall O'Higgins | |
2006-06-03 | - correctly handle binary files; say bye bye to using c strings for deltatexts. | Niall O'Higgins | |
"slap it in" joris@ | |||
2006-06-02 | various spelling fixes | David Krause | |
2006-06-02 | - at end of checkin_main loop, reset pb.newrev. fixes a problem with checkin | Niall O'Higgins | |
of multiple files. reported by fgsch@ ok joris@ | |||
2006-06-01 | - rcs_buf_release() has no need for u_char since it returns void * | Niall O'Higgins | |
2006-06-01 | - zap dangling macro, will be replaced with a function later. | Niall O'Higgins | |
2006-05-29 | Plug more memory leaks. | Ray Lai | |
OK joris@ | |||
2006-05-29 | - sizeof(struct tm) -> sizeof(*tb) | Niall O'Higgins | |
little tidbit from the flight to c2k6 ok joris@ | |||
2006-05-29 | - zap unrequired casts for rcs_buf_release(). | Niall O'Higgins | |
2006-05-28 | Remove a lot of xstrdup() calls in getopt() loops, which are usually | Ray Lai | |
unnecessary. These xstrdup() calls don't call xfree() before anyway, so if a flag is given multiple times memory leaks would have resulted. OK joris@ | |||
2006-05-28 | Move -A<oldfile> handling into separate chunk of code. This also | Ray Lai | |
removes a memory leak if -A is given multiple times. OK joris@ | |||
2006-05-28 | Don't fill in the rd_locker if we are creating a new RCS file. | Ray Lai | |
OK joris@ | |||
2006-05-27 | Rename RCSFILE.fd to RCSFILE.rf_fd, plus minor spacing nits. No | Ray Lai | |
binary change. OK xsa@ | |||
2006-05-27 | Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(), | Ray Lai | |
handling exceptions oddly. OK joris@ | |||
2006-05-27 | rcs_choosefile() no longer returns char *, it returns a file | Ray Lai | |
descriptor; fix comment. Improve spacing. OK joris@ | |||
2006-05-19 | fix printf + add missing printf when unlocking file (-u). | Xavier Santolaria | |
2006-05-17 | yyerror() little cleanup | Xavier Santolaria | |
2006-05-17 | fix printf's | Xavier Santolaria | |
2006-05-15 | .Xr merge(1) | Xavier Santolaria | |
2006-05-15 | oopps, missing \ at EOL. | Xavier Santolaria | |
2006-05-15 | missing bits for a working merge(1). Built and enabled. | Xavier Santolaria | |
OK joris@ ray@. | |||
2006-05-14 | warnx(); return(); --> errx(); | Xavier Santolaria | |
2006-05-11 | fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs. | Xavier Santolaria | |
2006-05-11 | Use fstat instead of stat, simplifie switch statement into if | Ray Lai | |
statement, and remove __inline. OK xsa@ | |||
2006-05-11 | fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs. | Xavier Santolaria | |
2006-05-11 | first round of rcs_write() cleanup; prodded by joris@; input/OK ray@. | Xavier Santolaria | |
2006-05-10 | starting bits for merge(1) replacement. Not built/linked yet. | Xavier Santolaria | |
man page reviewed by jmc@. | |||
2006-05-10 | treat first file passed as argument only; issue a warning for others. | Xavier Santolaria | |
matches gnu/usr.bin/rcs. OK joris@. | |||
2006-05-10 | Remove (size_t) casts on integer constants. | Ray Lai | |
We should not cover up lint's shortcomings, especially if they no longer exist. ``This is definately good.'' niallo@. |