diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-02-28 19:21:03 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-02-28 19:21:03 +0100 |
commit | 8b72726549be9e816ca8af0b9489948cc4fccb41 (patch) | |
tree | 445dc4ac0c074087cef16ca247a4f0e112d9cfa7 /sys/include | |
parent | 8a903895a08c67fb4bb02fb21e2186a0e08b0513 (diff) |
ape: add PASS_MAX constant for getpass() to limits.h (from patch/ape-pass_max)
add PASS_MAX to limits.h for ape, and make getpass respect it. also increase the size of
the maximum passwords (we use long ones at work). Needed for native port of SVN (in progress).
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/ape/limits.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/ape/limits.h b/sys/include/ape/limits.h index dc1a937dc..0837bbe1d 100644 --- a/sys/include/ape/limits.h +++ b/sys/include/ape/limits.h @@ -65,6 +65,7 @@ #define NGROUPS_MAX 10 /*#define OPEN_MAX _POSIX_OPEN_MAX */ /*#define PAGESIZE 1 */ +#define PASS_MAX 64 /*#define PATH_MAX _POSIX_PATH_MAX */ /*#define PIPE_BUF _POSIX_PIPE_BUF */ /*#define RTSIG_MAX _POSIX_RTSIG_MAX */ |