head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.22 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.20 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.18 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.16 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.14 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.12 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.10 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.8 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.6 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.4 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.2 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.1.0.8 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.6 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.4 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.2 pkgsrc-2006Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2007.12.09.23.38.34; author wiz; state dead; branches; next 1.1; 1.1 date 2006.10.13.13.04.31; author is; state Exp; branches; next ; desc @@ 1.2 log @Update to 3.9.11, provided by Sergey Svishchev in private mail: 3.9.11 is mostly a maintenance release which fixes a couple of bugs, and addresses warnings raised by gcc4, and merges some platform-specific patches (MingW, NetBSD, Redhat/Fedora, Cygwin, Solaris), and other patches (such as the new amuFormat.sh written in sh). @ text @$NetBSD: patch-ai,v 1.1 2006/10/13 13:04:31 is Exp $ --- vfat.c.orig 2005-02-13 15:40:17.000000000 +0100 +++ vfat.c @@@@ -238,7 +238,7 @@@@ int write_vfat(Stream_t *Dir, char *shor printf("Wrote checksum=%d for shortname %s.\n", vse->sum,shortname); #endif - num_vses = strlen(longname)/VSE_NAMELEN + 1; + num_vses = (strlen(longname) + VSE_NAMELEN - 1)/VSE_NAMELEN; for (vse_id = num_vses; vse_id; --vse_id) { int end = 0; @ 1.1 log @Fix fencepost error when the filename length is N*13 characters. Contributed by Michael Eriksson in PR 25439; reviewed by Joerg Sonnenberger. @ text @d1 1 a1 1 $NetBSD$ @