Subject: Re: CVS commit: src/sys/fs/cd9660
To: None <jdolecek@netbsd.org>
From: Jesse Off <joff@embeddedARM.com>
List: source-changes
Date: 12/27/2004 16:52:19
Think fnlen needs to be a size_t rather than int...

#   compile  cd9660/cd9660_util.o
/home/joff/NetBSD-current/src/sys/fs/cd9660/cd9660_util.c
/home/joff/NetBSD-current/src/sys/fs/cd9660/cd9660_util.c: In function `isofncmp':
/home/joff/NetBSD-current/src/sys/fs/cd9660/cd9660_util.c:110: warning: passing arg 2 of `wget' from incompatible pointer type

*** Failed target:  cd9660_util.o

//Jesse Off


Module Name:	src
Committed By:	jdolecek
Date:		Mon Dec 27 18:47:16 UTC 2004

Modified Files:
 	src/sys/fs/cd9660: cd9660_util.c

Log Message:
change wget_utf8() to not require NUL-terminated string as input,
and adjust callers appropriately. cn_nameptr isn't NUL-terminated
for non-leaf components, so it's incorrect to assume it is always
NUL-terminated.

This fixes previous utf8-ization changes to not panic for cases
like 'echo */*/*.ps' in case the intermediate path components
are not in cache (yet).


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/fs/cd9660/cd9660_util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.