cronie bug in centos 6

Recently tried to redirect all output from crontabs to syslog, instead of mail with ‘-s’ param on CentOS 6.3, but was observing some trash in syslog. Looked into cronie code and found stupid bug, that was there for several years:

while (EOF != (ch = getc(in))) {
bytes++;
if (mail)
putc(ch, mail);
}
#if defined(SYSLOG)
# WE ARE NOT IN WHILE LOOP HERE!
if (SyslogOutput) {
logbuf[bufidx++] = ch;
if ((ch == '\n') || (bufidx == sizeof(logbuf)-1)) {
if (ch == '\n')
logbuf[bufidx-1] = '';
else
logbuf[bufidx] = '';
syslog(LOG_INFO, "%s", logbuf);
bufidx = 0;
}
}
#endif


Centos, (or even Redhat, I suppose the code in RHEL is the same) do you have some basic tests? Argh… This was fixed in cronie-1.4.8 more than a year ago, but still not in RHEL.

Science article generator

English version below

Генератор научных статей. Вводим автора(ов) нажимаем generate и у нас статья с картинками, формулами, графиками. Я ввел
Edward Lee и получил “802.11B Considered Harmful”, что вполне забавно.


Science article generator. Type author(s) click generate and you will get article with pictures, formulas, charts. I have typed Edward Lee and got “802.11B Considered Harmful”, that seems pretty funny.

Работа!!!

Ищется студент, знакомый с веб серверами, HTML, JavaScript, PHP, Linux, желающий узнать их лучше.
Предлагаем: разработку реальных проектов, консультации специалистов, небольшое вознаграждение.
Это возможность изучать то, что тебе интересно, и получать за это деньги.

Put the library AFTER the module you are compiling

Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling
Put the library AFTER the module you are compiling