ALT Linux Bugzilla
– Attachment 2122 Details for
Bug 12425
Неправильно выводит имя программы в syslog
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч решает эту проблему и баг 12420 одновременно.
qico1.patch (text/plain), 572 bytes, created by
Vasily Moskalev
on 2007-07-31 12:53:29 MSD
(
hide
)
Description:
Патч решает эту проблему и баг 12420 одновременно.
Filename:
MIME Type:
Creator:
Vasily Moskalev
Created:
2007-07-31 12:53:29 MSD
Size:
572 bytes
patch
obsolete
>--- ./qico-0.57.1xe/src/log.c 2005-08-23 19:50:43.000000000 +0300 >+++ ./qico-0.57.1xe-patched/src/log.c 2007-07-31 11:52:21.000000000 +0300 >@@ -160,7 +160,7 @@ > prio = strchr( logname + 1, ':' ); > if ( prio ) { > prio++; >- xstrcpy( fac, logname + 1, 30 ); >+ xstrcpy( fac, logname + 1, prio-logname-1 ); > if (( syslog_priority = parsefacorprio( prio, (SLNCODE *) prioritynames )) < 0 ) > syslog_priority = LOG_INFO; > } else >@@ -172,7 +172,7 @@ > log_type = LT_SYSLOG; > log_name = NULL; > openlog( n, LOG_PID, fc ); >- xfree( n ); >+// xfree( n ); > return 1; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12425
: 2122