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

View File

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

View File

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