Sun, 17 Dec 2023 15:33:50 +0100
fix faulty string to int conversion utilities
Probably it was expected that errno is set to EINVAL when illegal characters are encountered. But this is not standard and does not happen on every system, allowing illegal strings to be parsed as valid integers.
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
277
diff
changeset
|
1 | --- |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
277
diff
changeset
|
2 | title: 'dav check-config' |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
277
diff
changeset
|
3 | --- |
273
c743721d566f
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
266
diff
changeset
|
4 | |
277
ccef3f2bfe8e
adds more documentation details the three check commands
Mike Becker <universe@uap-core.de>
parents:
273
diff
changeset
|
5 | Validates the config.xml file. If the config is ok, it prints `Configuration OK.` to stdout and returns 0, otherwise it prints an error message to stderr and returns 1. |
ccef3f2bfe8e
adds more documentation details the three check commands
Mike Becker <universe@uap-core.de>
parents:
273
diff
changeset
|
6 | |
ccef3f2bfe8e
adds more documentation details the three check commands
Mike Becker <universe@uap-core.de>
parents:
273
diff
changeset
|
7 | **Command alias:** check |
ccef3f2bfe8e
adds more documentation details the three check commands
Mike Becker <universe@uap-core.de>
parents:
273
diff
changeset
|
8 |