svn commit: r186697 - projects/csup_cvsmode/contrib/csup
Ulf Lilleengen
lulf at FreeBSD.org
Fri Jan 2 12:35:02 UTC 2009
Author: lulf
Date: Fri Jan 2 12:35:01 2009
New Revision: 186697
URL: http://svn.freebsd.org/changeset/base/186697
Log:
- Check for NULL in case fattr_frompath fails.
Modified:
projects/csup_cvsmode/contrib/csup/lister.c
Modified: projects/csup_cvsmode/contrib/csup/lister.c
==============================================================================
--- projects/csup_cvsmode/contrib/csup/lister.c Fri Jan 2 08:21:21 2009 (r186696)
+++ projects/csup_cvsmode/contrib/csup/lister.c Fri Jan 2 12:35:01 2009 (r186697)
@@ -434,7 +434,7 @@ lister_dorcsfile(struct lister *l, struc
free(path);
} else
fa = sr->sr_clientattr;
- if (fattr_equal(fa, sr->sr_clientattr)) {
+ if (fa != NULL && fattr_equal(fa, sr->sr_clientattr)) {
/*
* If the file is an RCS file, we use "loose" equality, so sizes
* may disagress because of differences in whitespace.
More information about the svn-src-projects
mailing list