source: trunk/package/busybox/patches/000-upstream-syslogd.patch @ 28513

Last change on this file since 28513 was 28513, checked in by nico, 5 years ago

[package] busybox: update to 1.19.2 (thanks to Peter Wagner)

File size: 674 bytes
  • sysklogd/syslogd.c

    a b static void parse_syslogdcfg(const char  
    278278        parser_t *parser; 
    279279 
    280280        parser = config_open2(file ? file : "/etc/syslog.conf", 
    281                                 file ? xfopen_for_read : fopen_or_warn_stdin); 
     281                                file ? xfopen_for_read : fopen_for_read); 
    282282        if (!parser) 
    283283                /* didn't find default /etc/syslog.conf */ 
    284284                /* proceed as if we built busybox without config support */ 
    static void timestamp_and_log(int pri, c 
    678678        if (LOG_PRI(pri) < G.logLevel) { 
    679679#if ENABLE_FEATURE_IPC_SYSLOG 
    680680                if ((option_mask32 & OPT_circularlog) && G.shbuf) { 
    681                         log_to_shmem(msg); 
     681                        log_to_shmem(G.printbuf); 
    682682                        return; 
    683683                } 
    684684#endif 
Note: See TracBrowser for help on using the repository browser.