1 *** idnkit-1.0-src/lib/unicode.c.org Wed Aug 27 11:37:02 2003
2 --- idnkit-1.0-src/lib/unicode.c Tue Sep 2 17:13:30 2003
6 idn__unicode_version_t v;
8 assert(versionp != NULL);
10 + if (versionp == NULL)
11 + return (idn_notfound);
12 + #endif /* SUN_CHANGE */
13 TRACE(("idn__unicode_create(version=%-.50s)\n",
14 version == NULL ? "<NULL>" : version));
20 idn__unicode_destroy(idn__unicode_version_t version) {
21 assert(version != NULL);
23 + if (version == NULL)
25 + #endif /* SUN_CHANGE */
26 TRACE(("idn__unicode_destroy()\n"));
32 const unsigned long *seq;
34 assert(v != NULL && vlen >= 0 && decomp_lenp != NULL);
36 + if (v == NULL || vlen < 0 || decomp_lenp == NULL)
37 + return (idn_notfound);
38 + #endif /* SUN_CHANGE */
41 return (idn_notfound);
45 const struct composition *cseq;
47 assert(compp != NULL);
50 + return (idn_notfound);
51 + #endif /* SUN_CHANGE */
53 if (c1 > UCS_MAX || c2 > UCS_MAX)
54 return (idn_notfound);