length. From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
+Tue Jul 29 11:06:03 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * resbin.c (bin_to_res_string): Correct adjustment of data and
+ length. From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>.
+
Tue Jul 22 18:01:23 1997 Ian Lance Taylor <ian@cygnus.com>
* nlmconv.c (link_inputs): Call libiberty pexecute function.
s[j] = get_16 (big_endian, data + 2 + j * 2);
}
- data += 2 + slen;
- length -= 2 + slen;
+ data += 2 + 2 * slen;
+ length -= 2 + 2 * slen;
}
r = (struct res_resource *) res_alloc (sizeof *r);