Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/apache2/mDNSResponder/dist Kill use of __DATE__ and...



details:   https://anonhg.NetBSD.org/src/rev/06ae08ce850d
branches:  trunk
changeset: 759809:06ae08ce850d
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Dec 17 00:23:58 2010 +0000

description:
Kill use of __DATE__ and __TIME__ in SCCS strings.

diffstat:

 external/apache2/mDNSResponder/dist/Clients/dns-sd.c             |  2 +-
 external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c      |  4 ++--
 external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientlib.c |  2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 8060bfd948b0 -r 06ae08ce850d external/apache2/mDNSResponder/dist/Clients/dns-sd.c
--- a/external/apache2/mDNSResponder/dist/Clients/dns-sd.c      Thu Dec 16 23:01:56 2010 +0000
+++ b/external/apache2/mDNSResponder/dist/Clients/dns-sd.c      Fri Dec 17 00:23:58 2010 +0000
@@ -1226,7 +1226,7 @@
 
 // NOT static -- otherwise the compiler may optimize it out
 // The "@(#) " pattern is a special prefix the "what" command looks for
-const char VersionString_SCCS[] = "@(#) dns-sd " STRINGIFY(mDNSResponderVersion) " (" __DATE__ " " __TIME__ ")";
+const char VersionString_SCCS[] = "@(#) dns-sd " STRINGIFY(mDNSResponderVersion);
 
 #if _BUILDING_XCODE_PROJECT_
 // If the process crashes, then this string will be magically included in the automatically-generated crash log
diff -r 8060bfd948b0 -r 06ae08ce850d external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
--- a/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c       Thu Dec 16 23:01:56 2010 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c       Fri Dec 17 00:23:58 2010 +0000
@@ -364,9 +364,9 @@
 
 // For convenience when using the "strings" command, this is the last thing in the file
 #if mDNSResponderVersion > 1
-mDNSexport const char mDNSResponderVersionString_SCCS[] = "@(#) mDNSResponder-" STRINGIFY(mDNSResponderVersion) " (" __DATE__ " " __TIME__ ")";
+mDNSexport const char mDNSResponderVersionString_SCCS[] = "@(#) mDNSResponder-" STRINGIFY(mDNSResponderVersion);
 #elif MDNS_VERSIONSTR_NODTS
 mDNSexport const char mDNSResponderVersionString_SCCS[] = "@(#) mDNSResponder (Engineering Build)";
 #else
-mDNSexport const char mDNSResponderVersionString_SCCS[] = "@(#) mDNSResponder (Engineering Build) (" __DATE__ " " __TIME__ ")";
+mDNSexport const char mDNSResponderVersionString_SCCS[] = "@(#) mDNSResponder (Engineering Build)";
 #endif
diff -r 8060bfd948b0 -r 06ae08ce850d external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientlib.c
--- a/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientlib.c  Thu Dec 16 23:01:56 2010 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientlib.c  Fri Dec 17 00:23:58 2010 +0000
@@ -436,4 +436,4 @@
 
 // NOT static -- otherwise the compiler may optimize it out
 // The "@(#) " pattern is a special prefix the "what" command looks for
-const char VersionString_SCCS_libdnssd[] = "@(#) libdns_sd " STRINGIFY(mDNSResponderVersion) " (" __DATE__ " " __TIME__ ")";
+const char VersionString_SCCS_libdnssd[] = "@(#) libdns_sd " STRINGIFY(mDNSResponderVersion);



Home | Main Index | Thread Index | Old Index