On Mon, 2004-05-17 at 21:27, Kevin A. Pieckiel wrote:
> 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


cvs can't provide you with that kind of information, because it doesn't
remember it (cvs works on file-by-file base). But, it can tell you when
the 1.337 commit to vfs_syscalls.c happened. 

$ cvs log -r1.337 vfs_syscalls.c
revision 1.337
date: 2004/02/14 18:31:11;  author: rwatson;  state: Exp;  lines: +8 -0

You can then use the archive of the cvs-src mailing list at
http://lists.freebsd.org/pipermail/cvs-src/2004-February to find the


That should tell you all modified files in this commit.


PS: The log information for a single file can also be found via

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to