Skip to content

Conversation

@samuelemusiani
Copy link
Contributor

After the CMake porting (674c8ec) the vdecmd was broken. The problem was that for CMake the variablesCMAKE_INSTALL_SYSCONFDIR and CMAKE_INSTALL_LOCALSTATEDIR do not start with a /: https://cmake.org/cmake/help/latest/command/install.html.

I added the /.

I have also added the empty element at the end of the array of the options for getopt in order to avoid segfaults on invalid arguments. From the docs of getopt:

   The last element of the array has to be filled with zeros.

@danielinux
Copy link
Member

Merged, thanks!

@danielinux danielinux merged commit 306a519 into virtualsquare:master Dec 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants