. Bumped patchlevel

. Changed versioning scheme to version.patchlevel (like 1.4.1)
This commit is contained in:
Joey Schulze 2001-03-11 19:40:10 +00:00
parent c6edf85cd6
commit 8b02038df4
3 changed files with 12 additions and 12 deletions

12
klogd.c
View File

@ -461,7 +461,7 @@ static void ChangeLogging(void)
Terminate();
/* Indicate that something is happening. */
Syslog(LOG_INFO, "klogd %s-%s, ---------- state change ----------\n", \
Syslog(LOG_INFO, "klogd %s.%s, ---------- state change ----------\n", \
VERSION, PATCHLEVEL);
/* Reload symbols. */
@ -534,10 +534,10 @@ static enum LOGSRC GetKernelLogSrc(void)
/* Initialize kernel logging. */
ksyslog(1, NULL, 0);
#ifdef DEBRELEASE
Syslog(LOG_INFO, "klogd %s-%s#%s, log source = ksyslog "
Syslog(LOG_INFO, "klogd %s.%s#%s, log source = ksyslog "
"started.", VERSION, PATCHLEVEL, DEBRELEASE);
#else
Syslog(LOG_INFO, "klogd %s-%s, log source = ksyslog "
Syslog(LOG_INFO, "klogd %s.%s, log source = ksyslog "
"started.", VERSION, PATCHLEVEL);
#endif
return(kernel);
@ -556,10 +556,10 @@ static enum LOGSRC GetKernelLogSrc(void)
#endif
#ifdef DEBRELEASE
Syslog(LOG_INFO, "klogd %s-%s#%s, log source = %s started.", \
Syslog(LOG_INFO, "klogd %s.%s#%s, log source = %s started.", \
VERSION, PATCHLEVEL, DEBRELEASE, _PATH_KLOG);
#else
Syslog(LOG_INFO, "klogd %s-%s, log source = %s started.", \
Syslog(LOG_INFO, "klogd %s.%s, log source = %s started.", \
VERSION, PATCHLEVEL, _PATH_KLOG);
#endif
return(proc);
@ -1032,7 +1032,7 @@ int main(argc, argv)
use_syscall = 1;
break;
case 'v':
printf("klogd %s-%s\n", VERSION, PATCHLEVEL);
printf("klogd %s.%s\n", VERSION, PATCHLEVEL);
exit (1);
case 'x':
symbol_lookup = 0;

View File

@ -875,7 +875,7 @@ int main(argc, argv)
StripDomains = crunch_list(optarg);
break;
case 'v':
printf("syslogd %s-%s\n", VERSION, PATCHLEVEL);
printf("syslogd %s.%s\n", VERSION, PATCHLEVEL);
exit (0);
case '?':
default:
@ -2409,20 +2409,20 @@ void init()
if ( AcceptRemote )
#ifdef DEBRELEASE
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "-" PATCHLEVEL "#" DEBRELEASE \
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "." PATCHLEVEL "#" DEBRELEASE \
": restart (remote reception)." , LocalHostName, \
ADDDATE);
#else
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "-" PATCHLEVEL \
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "." PATCHLEVEL \
": restart (remote reception)." , LocalHostName, \
ADDDATE);
#endif
else
#ifdef DEBRELEASE
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "-" PATCHLEVEL "#" DEBRELEASE \
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "." PATCHLEVEL "#" DEBRELEASE \
": restart." , LocalHostName, ADDDATE);
#else
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "-" PATCHLEVEL \
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "." PATCHLEVEL \
": restart." , LocalHostName, ADDDATE);
#endif
(void) signal(SIGHUP, sighup_handler);

View File

@ -1,2 +1,2 @@
#define VERSION "1.4"
#define PATCHLEVEL "0"
#define PATCHLEVEL "1"