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-aj,v 1.1 2006/10/13 13:04:31 is Exp $ --- mk_direntry.c.orig 2005-02-28 00:17:45.000000000 +0100 +++ mk_direntry.c @@@@ -227,7 +227,8 @@@@ static void clear_scan(char *longname, i s->free_end = s->got_slots = s->free_start = 0; if (use_longname & 1) - s->size_needed = 2 + (strlen(longname)/VSE_NAMELEN); + s->size_needed = 1 + + (strlen(longname) + VSE_NAMELEN - 1)/VSE_NAMELEN; else s->size_needed = 1; } @ 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$ @