vimcolor module does not support freebsd based on hard links. Also after hard links have been changed the module still doesn't work. I am running:

FreeBSD 5.4 P7 RELEASE

3dm-2.03.00.028,1 3ware RAID controller monitoring daemon and web server
apache-2.0.54_4 Version 2 of Apache web server with prefork MPM.
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
bash-3.0.16_1 The GNU Project's Bourne Again SHell
bison-1.75_2,1 A parser generator from FSF, (mostly) compatible with Yacc
cvsup-without-gui-16.1h_2 General network file distribution system optimized for CVS
db4-4.0.14_1,1 The Berkeley DB package, revision 4
expat-1.95.8_3 XML 1.0 parser written in C
ezm3-1.2 Easier, more portable Modula-3 distribution for building CV
fastest_cvsup-0.2.9_1 Finds fastest CVSup server
freetype2-2.1.10_1 A free and portable TrueType font rendering engine
gd-2.0.33_2,1 A graphics library for fast creation of images
gettext-0.14.5 GNU gettext package
gmake-3.80_2 GNU version of 'make' utility
gnuls-4.1 GNU colorized `ls'
help2man-1.35.1 Automatically generating simple manual pages from program o
jpeg-6b_3 IJG's jpeg compression utilities
libiconv-1.9.2_1 A character set conversion library
libtool-1.5.20 Generic shared library support script (1.5)
linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386)
m4-1.4.3 GNU m4
mod_php4-4.4.0,1 PHP Apache Module
mysql-client-4.1.14 Multithreaded SQL database (client)
mysql-server-4.1.14 Multithreaded SQL database (server)
p5-Archive-Tar-1.26 Perl module for creation and manipulation of tar files
p5-Compress-Zlib-1.39 Perl5 interface to zlib compression library
p5-ExtUtils-CBuilder-0.13 Compile and link C code for Perl modules
p5-ExtUtils-ParseXS-2.07 Converts Perl XS code into C code
p5-IO-String-1.06 Simplified Perl5 module to handle I/O on in-core strings
p5-IO-Zlib-1.04_1 IO:: style interface to Compress::Zlib
p5-Module-Build-0.26.11 Build and install Perl modules
p5-Path-Class-0.13 Cross-platform path specification manipulation
p5-PathTools-3.11 A Perl module for portably manipulating file specifications
p5-Scalar-List-Utils-1.17,1 Perl subroutines that would be nice to have in the perl cor
p5-Test-Harness-2.52 Run perl standard test scripts with statistics
p5-Test-Simple-0.61 Basic utilities for writing tests in perl
p5-Text-VimColor-0.09 Syntax color text in HTML or XML using Vim
p5-YAML-0.39 "YAML implementation in Perl"
p5-gettext-1.03 Message handling functions
perl-5.8.7 Practical Extraction and Report Language
php4-ctype-4.4.0 The ctype shared extension for php
php4-extensions-1.0 A "meta-port" to install PHP extensions
php4-gd-4.4.0 The gd shared extension for php
php4-mysql-4.4.0 The mysql shared extension for php
php4-overload-4.4.0 The overload shared extension for php
php4-pcre-4.4.0 The pcre shared extension for php
php4-posix-4.4.0 The posix shared extension for php
php4-session-4.4.0 The session shared extension for php
php4-tokenizer-4.4.0 The tokenizer shared extension for php
php4-xml-4.4.0 The xml shared extension for php
php4-zlib-4.4.0 The zlib shared extension for php
pkgconfig-0.17.2 A utility to retrieve information about installed libraries
png-1.2.8_2 Library for manipulating PNG images
portupgrade-20041226_7 FreeBSD ports/packages administration and management tool s
ruby-1.8.2_4 An object-oriented interpreted scripting language
ruby18-bdb1-0.2.2 Ruby interface to Berkeley DB revision 1.8x with full featu
ruby18-bdb4-0.5.3 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
t1lib-5.1.0,1 A Type 1 Rasterizer Library for UNIX/X11
unzip-5.52_2 List, test and extract compressed files in a ZIP archive
vim-lite-6.3.85 Vi "workalike", with many additional features (Lite package
zip-2.3_2 Create/update ZIP files compatible with pkzip

I have custom color scripts in:
/usr/local/share/vim/vim63/colors

and changed the hardlink to the correct bin directory.

Comments

lingoprogrammer’s picture

Category: support » bug

Here is the error I'm getting on FreeBSD 5.4 p7

warning: fread(): Length parameter must be greater than 0. in /home/www/drupal/modules/vimcolor/vimcolor.module on line 49

here is line 49 from the vimcolor.module:

$html = fread($handle, filesize($out_file));