ALT Linux Bugzilla
– Attachment 2121 Details for
Bug 12420
qico аварийно останавливается, при попытке протоколировать через syslog
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Исправление ошибки с определением facility:priority
qico.patch (text/plain), 433 bytes, created by
Vasily Moskalev
on 2007-07-30 19:32:43 MSD
(
hide
)
Description:
Исправление ошибки с определением facility:priority
Filename:
MIME Type:
Creator:
Vasily Moskalev
Created:
2007-07-30 19:32:43 MSD
Size:
433 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-30 18:27:59.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
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 12420
: 2121