Hello, Daniel-Constantin!

>Hello,
>
>what is it fixing actually?

it fix long name of daemon in syslog.

/usr/local/sbin/kamailio => kamailio

full path doesnot needed in logs. 


> Was there an end of line?

sorry?

>Is basename portable?

yes, i check it

> Because I see requires a new header to be included, if not maybe we can 
> implement the function by ourselves to
> fix what should be fixed.

#grep libgen *.c
cfg_parser.c:#include <libgen.h>  --already use
main.c:#include <libgen.h>        --my fix
ut.c:#include <libgen.h>          --already use



--
 WBR, Victor
  JID: coy...@bks.tv
  JID: coy...@bryansktel.ru
  I use FREE operation system: 3.9.4-calculate GNU/Linux

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to