diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-08-25 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-08-25 08:00:00 +0000 |
commit | aca37d3400e31ef01f3f79b64dd8660d872aaf8f (patch) | |
tree | 983f552d65ea84aac1c2e9de1617c6bfb4673897 /modules/pam_pwhistory | |
parent | d2536800c523e8e1df140084d6b938b7bbf77dc3 (diff) | |
download | pam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.tar.gz pam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.tar.bz2 pam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.zip |
build: rename SCONFIGDIR config.h macro to SCONFIG_DIR
This way it is visibly different from the configure variable SCONFIGDIR,
which is helpful, because their values are slightly different:
the macro is quoted while the configure variable is not quoted,
and this difference may cause problems with other build systems.
Diffstat (limited to 'modules/pam_pwhistory')
-rw-r--r-- | modules/pam_pwhistory/opasswd.c | 2 | ||||
-rw-r--r-- | modules/pam_pwhistory/pwhistory_config.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_pwhistory/opasswd.c b/modules/pam_pwhistory/opasswd.c index 289b4461..d291761b 100644 --- a/modules/pam_pwhistory/opasswd.c +++ b/modules/pam_pwhistory/opasswd.c @@ -76,7 +76,7 @@ #define RANDOM_DEVICE "/dev/urandom" #endif -#define DEFAULT_OLD_PASSWORDS_FILE SCONFIGDIR "/opasswd" +#define DEFAULT_OLD_PASSWORDS_FILE SCONFIG_DIR "/opasswd" typedef struct { char *user; diff --git a/modules/pam_pwhistory/pwhistory_config.c b/modules/pam_pwhistory/pwhistory_config.c index 2f299b54..296a7110 100644 --- a/modules/pam_pwhistory/pwhistory_config.c +++ b/modules/pam_pwhistory/pwhistory_config.c @@ -46,7 +46,7 @@ #include "pam_inline.h" #include "pwhistory_config.h" -#define PWHISTORY_DEFAULT_CONF SCONFIGDIR "/pwhistory.conf" +#define PWHISTORY_DEFAULT_CONF SCONFIG_DIR "/pwhistory.conf" #ifdef VENDOR_SCONFIGDIR #define VENDOR_PWHISTORY_DEFAULT_CONF (VENDOR_SCONFIGDIR "/pwhistory.conf") |