Searching CVS commits

Kevin A. Pieckiel pieckiel+freebsd-questions at sdf.lonestar.org
Mon May 17 12:27:09 PDT 2004


I have a system running the latest sources via CVS in the RELENG_5_2
branch.  I want to update sys/kernel/vfs_syscalls.c from version 1.333
(which is the latest available in this branch) to version 1.346 from
HEAD.  The problem is that the commit for version 1.337 modified more
than one file--some function calls are added to the source such that
when I compile my kernel, I get this:

/usr/src/sys/kern/vfs_syscalls.c: In function `getfsstat':
/usr/src/sys/kern/vfs_syscalls.c:337: warning: implicit declaration of function `prison_check_mount'
/usr/src/sys/kern/vfs_syscalls.c: In function `kern_open':
/usr/src/sys/kern/vfs_syscalls.c:996: warning: implicit declaration of function `fdunused'
/usr/src/sys/kern/vfs_syscalls.c:1095: warning: redundant redeclaration of `fdunused' in same scope
/usr/src/sys/kern/vfs_syscalls.c:996: warning: previous declaration of `fdunused'
/usr/src/sys/kern/vfs_syscalls.c: At top level:
/usr/src/sys/kern/vfs_syscalls.c:3783: warning: function declaration isn't a prototype
/usr/src/sys/kern/vfs_syscalls.c: In function `lgetfh':
/usr/src/sys/kern/vfs_syscalls.c:3794: error: dereferencing pointer to incomplete type
/usr/src/sys/kern/vfs_syscalls.c:3806: error: dereferencing pointer to incomplete type
*** Error code 1

Obviously my sources don't have the prison_check_mount function call,
and I don't know how to determine which files were updated in this
specific commit--only the one file I need to update.  How do I find
what files were modified when version 1.337 of sys/kernel/vfs_syscalls.c
was committed so that I can update those files in my source tree as well?

Thanks,
Kevin


More information about the freebsd-questions mailing list