]> git.corax.cc Git - toolbox/commit
include/queue: Create data file when queue is created
authorMatthias Kruk <m@m10k.eu>
Sat, 19 Nov 2022 10:49:41 +0000 (19:49 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 19 Nov 2022 10:49:41 +0000 (19:49 +0900)
commit6ce1e2d8af3015b20ed89fe4f4a5c96e19644e2c
treef9b51582371a9de1ed95d370992ffc22d196e4b4
parent441589fa43b4af606dc3e36ee24624e9bc17fb09
include/queue: Create data file when queue is created

The data file that contains the queue data is not created when a
queue is created, but rather when data is inserted into the queue.
This causes issues in applications that use queues to share between
users because they need so set permissions on the entire queue at
the time of initialization. However, because the data file is not
created at that time, its permissions cannot be set.

This commit modifies `queue_init()' so that the data file is created
together with the queue.
include/queue.sh