Changeset 1697


Ignore:
Timestamp:
Apr 10, 2007, 2:35:26 AM (15 years ago)
Author:
joshe
Message:

I'm good at testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/daemon/configure

    r1696 r1697  
    150150  char buf[] = "1234:p";
    151151  strlcpy( buf, "foo", sizeof buf );
    152   return ( 0 == memcmp( buf, "foo\0:p, 6 ) ? 0 : 1 );
     152  return ( 0 == memcmp( buf, "foo\0:p", 6 ) ? 0 : 1 );
    153153}
    154154EOF
     
    171171  strlcat( buf, "foo", sizeof buf );
    172172  strlcat( buf, "bar", sizeof buf );
    173   return ( 0 == memcmp( buf, "foobar\0:p, 6 ) ? 0 : 1 );
     173  return ( 0 == memcmp( buf, "foobar\0:p", 6 ) ? 0 : 1 );
    174174}
    175175EOF
     
    436436
    437437#
     438# String functions
     439#
     440strlcpy_test
     441strlcat_test
     442
     443#
    438444# Generate config.mk
    439445#
Note: See TracChangeset for help on using the changeset viewer.