Subject: Re: CVS commit: src/sys
To: None <yamt@NetBSD.org>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: source-changes
Date: 10/03/2003 22:31:42
I don't understand why this change should be necessary.
C strings are NUL-terminated by default, it's not necessary
to add the \0 explicitly. What problem you exactly
try to fix?

Jaromir

YAMAMOTO Takashi wrote:
> 
> Module Name:	src
> Committed By:	yamt
> Date:		Fri Oct  3 16:34:31 UTC 2003
> 
> Modified Files:
> 	src/sys/fs/cd9660: cd9660_mount.h
> 	src/sys/fs/filecorefs: filecore_mount.h
> 	src/sys/fs/msdosfs: msdosfsmount.h
> 	src/sys/fs/ntfs: ntfsmount.h
> 	src/sys/fs/union: union.h
> 	src/sys/miscfs/procfs: procfs.h
> 	src/sys/nfs: nfsmount.h
> 
> Log Message:
> terminate snprintb 'new' format strings correctly.
> (fixes overrun in mount_*)
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.2 -r1.3 src/sys/fs/cd9660/cd9660_mount.h
> cvs rdiff -r1.2 -r1.3 src/sys/fs/filecorefs/filecore_mount.h
> cvs rdiff -r1.4 -r1.5 src/sys/fs/msdosfs/msdosfsmount.h
> cvs rdiff -r1.1 -r1.2 src/sys/fs/ntfs/ntfsmount.h
> cvs rdiff -r1.8 -r1.9 src/sys/fs/union/union.h
> cvs rdiff -r1.50 -r1.51 src/sys/miscfs/procfs/procfs.h
> cvs rdiff -r1.28 -r1.29 src/sys/nfs/nfsmount.h
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-