mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
The OpenBSD strtonum() uses very short error strings that can't
be translated usefully. Convert them to longer strings on error. Also use the longer strings for atomode() and atoid().
This commit is contained in:
@@ -475,7 +475,9 @@ char *strsignal(int);
|
||||
int sig2str(int, char *);
|
||||
#endif
|
||||
#ifndef HAVE_STRTONUM
|
||||
long long strtonum(const char *, long long, long long, const char **);
|
||||
long long rpl_strtonum(const char *, long long, long long, const char **);
|
||||
# undef strtonum
|
||||
# define strtonum rpl_strtonum
|
||||
#endif
|
||||
void initprogname(const char *);
|
||||
|
||||
|
Reference in New Issue
Block a user