]> git.corax.cc Git - toolbox/commit
include/ipc: Don't dereference symlinks when subscribing to a topic
authorMatthias Kruk <m@m10k.eu>
Tue, 30 Nov 2021 13:07:29 +0000 (22:07 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 30 Nov 2021 13:07:29 +0000 (22:07 +0900)
commit263b60f1a7ff4bfab9557bd35df88115c220408a
treeb0267ab4dc155c1e0b477506ba0f99395f6877a8
parent4126851e307c397746320743d0cb12705c8797e9
include/ipc: Don't dereference symlinks when subscribing to a topic

The `_ipc_endpoint_topic_subscribe()' function dereferences symbolic
links when subscribing to a topic, causing symbolic links to be
created in the wrong directory if the topic already exists.
This commit changes the flags that `_ipc_endpoint_topic_subscribe()'
passes to `ln' so that the target won't be dereferenced if it refers
to a symbolic link.
include/ipc.sh