You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
staticintdlt_daemon_init_fifo(DltDaemonLocal*daemon_local)
{
intret;
intfd=-1;
intfifo_size;
/* open named pipe(FIFO) to receive DLT messages from users */umask(0);
/* Try to delete existing pipe, ignore result of unlink */constchar*tmpFifo=daemon_local->flags.daemonFifoName;
unlink(tmpFifo);
ret=mkfifo(tmpFifo, S_IRUSR | S_IWUSR | S_IWGRP);
if a dlt-daemon is running, and someone else startup another dlt-daemon again, and it will exit error because of binding ip/port confilct.
But this dlt-daemon will recreate FIFO file, and the first daemon cannot receive any message from FIFO because the old file is deleted
The text was updated successfully, but these errors were encountered:
dlt-daemon/src/daemon/dlt-daemon.c
Line 1580 in a4105dd
if a dlt-daemon is running, and someone else startup another dlt-daemon again, and it will exit error because of binding ip/port confilct.
But this dlt-daemon will recreate FIFO file, and the first daemon cannot receive any message from FIFO because the old file is deleted
The text was updated successfully, but these errors were encountered: