]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Allow NULL/0 as hash table keys.
[wget] / src / ChangeLog
index bf5f6ccb135e16a75901316a40a4e04d675ca1df..7227bdfb9e1a2e814f05573dce018805e2c3288d 100644 (file)
@@ -1,3 +1,12 @@
+2003-11-07  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * hash.c (NON_EMPTY): Use the all-bit-set value as the marker that
+       the field is empty.  This allows NULL pointer and 0 value to be
+       used as keys, which is necessary for the connect.c code to work
+       when fd==0.
+       (hash_table_new): Fill mappings with 0xff.
+       (grow_hash_table): Ditto.
+
 2003-11-07  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * url.c (url_parse): Allow empty ports.