Print this page
7120 mDNS resync was not wsdiff safe

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdns_sd/common/dnssd_clientlib.c
          +++ new/usr/src/lib/libdns_sd/common/dnssd_clientlib.c
↓ open down ↓ 355 lines elided ↑ open up ↑
 356  356  // For convenience when using the "strings" command, this is the last thing in the file
 357  357  
 358  358  // Note: The C preprocessor stringify operator ('#') makes a string from its argument, without macro expansion
 359  359  // e.g. If "version" is #define'd to be "4", then STRINGIFY_AWE(version) will return the string "version", not "4"
 360  360  // To expand "version" to its value before making the string, use STRINGIFY(version) instead
 361  361  #define STRINGIFY_ARGUMENT_WITHOUT_EXPANSION(s) # s
 362  362  #define STRINGIFY(s) STRINGIFY_ARGUMENT_WITHOUT_EXPANSION(s)
 363  363  
 364  364  // NOT static -- otherwise the compiler may optimize it out
 365  365  // The "@(#) " pattern is a special prefix the "what" command looks for
      366 +#ifndef MDNS_VERSIONSTR_NODTS
 366  367  const char VersionString_SCCS_libdnssd[] = "@(#) libdns_sd " STRINGIFY(mDNSResponderVersion) " (" __DATE__ " " __TIME__ ")";
      368 +#else
      369 +const char VersionString_SCCS_libdnssd[] = "@(#) libdns_sd " STRINGIFY(mDNSResponderVersion);
      370 +#endif
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX