| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
| |
|
|
|
|
| |
ok mmcc
|
| |
|
|
|
|
|
|
|
|
|
| |
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
|
|
| |
reallocarray()... so rename it.
|
|
|
|
| |
ok ray
|
|
|
|
|
|
|
| |
This doesn't alter cvs rdiff, where -U and -C are not support by GNU
cvs.
ok sthen zinovik
|
|
|
|
|
|
| |
cvs/rcs.
OK xsa zinovik
|
|
|
|
| |
OK stsp xsa nicm
|
|
|
|
|
|
|
|
| |
such. Besides, we weren't handling the NULL being returned.
From diff. Minor nit by nicm.
OK xsa stsp nicm
|
|
|
|
|
|
|
| |
Return -1 on error as advertised.
Handle case when only one stream failed.
OK xsa, stsp
|
|
|
|
|
|
|
|
|
|
|
| |
1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and
spacing.
2. One strchr -> strncspn.
3. diff had a weird thing where it set file[12] = ofile[12] but
never updated file or ofile, then if file and ofile were different
it freed it. I removed it.
OK millert
|
|
|
|
|
|
|
| |
cvs diff -t now works. There should be no functional change
otherwise.
OK millert
|
|
|
|
| |
ok joris@
|
|
|
|
| |
ok joris
|
|
|
|
|
|
| |
of time functions.
ok joris
|
|
|
|
|
|
| |
of cvs_buf_append where appropiate.
ok joris
|
|
|
|
| |
file name or /dev/null, if file has been removed or added.
|
|
|
|
|
|
|
| |
strerror(). Although our vasprintf() sets errno, we cannot rely on it on
other systems.
ok ray (who spotted this issue), xsa
|
| |
|
|
|
|
| |
ok tobias@
|
|
|
|
| |
OK joris@
|
|
|
|
|
|
| |
had to be done for diff, too.
OK joris@
|
| |
|
|
|
|
| |
when no newline was present.
|
|
|
|
| |
OK joris and xsa.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Surprisingly, rcsdiff has nicer code than cvs diff. Changes:
1. Include sys/param.h because we are using MIN/MAX... not sure why
it hasn't complained in the past.
2. Use fstat instead of stat.
3. Remove useless casts and __inline.
4. Plug a memory leak.
OK niallo@
|
|
|
|
|
|
| |
diff code and diff(1).
OK niallo@
|
|
|
|
|
|
|
|
|
| |
original pointer. Theo agrees, and so does the rest of the tree
(ssh, etc. all do this already).
Saves a bunch of variables and assignments.
OK niallo@
|
| |
|
|
|
|
| |
OK niallo@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from src/usr.bin/diff/diffreg.c rev 1.67:
improve -p for C++ code: classes definition often have
public:/protected:/private: at the start of line.
This lets the -p scanner just take note of the section and keep
looking for the actual class definition.
Also increase function name bufsize so it shows most of these pesky C++
decls...
OK niallo@ espie@.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
although i advise against using it on real development trees for now.
only a few commands work right so far:
- commit
- diff
- status
- log
- update (partially working)
if you feel like testing remote and run into bugs feel free to
contact me, and please include a full trace (-t).
|
|
|
|
| |
and fuzzie inside.
|
|
this for the past 2 weeks now and it should go in at
the start of the hackathon so others can help out.
this code is a lot safer, smarter, faster and best of
all it is actually doing what it is suppose to do!
basic checkout, update, status, diff and commit are
working in local mode only.
there is no support for any remote setups now.
|