[mapserver-commits] r7801 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Jul 9 01:02:01 EDT 2008


Author: sdlime
Date: 2008-07-09 01:02:01 -0400 (Wed, 09 Jul 2008)
New Revision: 7801

Modified:
   trunk/mapserver/mapbits.c
Log:
Update notes section of license header.

Modified: trunk/mapserver/mapbits.c
===================================================================
--- trunk/mapserver/mapbits.c	2008-07-09 04:35:48 UTC (rev 7800)
+++ trunk/mapserver/mapbits.c	2008-07-09 05:02:01 UTC (rev 7801)
@@ -5,6 +5,9 @@
  * Purpose:  Implementation of bit array functions.
  * Author:   Steve Lime and the MapServer team.
  *
+ * Notes: Derived from code placed in the public domain by Bob Stout, for more 
+ * information see http://c.snippets.org/snip_lister.php?fname=bitarray.c.
+ *
  ******************************************************************************
  * Copyright (c) 1996-2005 Regents of the University of Minnesota.
  *
@@ -33,12 +36,8 @@
 
 #include <limits.h>
 
-/* originally found at http://www.snippets.org/ */
-
-
 /* #define msGetBit(array, index) (*((array) + (index)/CHAR_BIT) & ( 1 << ((index) % CHAR_BIT))) */
 
-
 size_t msGetBitArraySize(int numbits)
 {
   return((numbits + CHAR_BIT - 1) / CHAR_BIT);
@@ -57,7 +56,6 @@
   return (*array & (1 << (index % CHAR_BIT))) != 0;    /* 0 or 1 */
 }
 
-
 /*
 ** msGetNextBit( status, start, size)
 **



More information about the mapserver-commits mailing list