2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

o Replace _PASSWD_LEN braindeath with our own SUDO_MAX_PASS.

It turns out the old DES crypt does the right thing with passwords
   longert than 8 characters.
 o Fix common typo (necesary -> necessary)
 o Update TODO list
This commit is contained in:
Todd C. Miller
1999-05-14 16:30:14 +00:00
parent 6b91a87a9f
commit 850a52aa6f
11 changed files with 56 additions and 80 deletions

View File

@@ -86,7 +86,7 @@ extern int errorlineno;
* syslog_wrapper()
*
* This function logs via syslog w/ a priority and 3 strings args.
* It really shouldn't be necesary but some syslog()'s don't
* It really shouldn't be necessary but some syslog()'s don't
* guarantee that the syslog() operation will succeed!
*/
@@ -154,7 +154,7 @@ log_error(code)
/*
* we will skip this stuff when using syslog(3) but it is
* necesary for mail and file logs.
* necessary for mail and file logs.
*/
now = time((time_t) 0);
p = ctime(&now) + 4;
@@ -321,7 +321,7 @@ log_error(code)
#endif /* Syslog_facility */
/*
* Log the full line, breaking into multiple syslog(3) calls if necesary
* Log the full line, breaking into multiple syslog(3) calls if necessary
*/
p = &logline[header_length]; /* skip past the date, host, and user */
for (count = 0; count < strlen(logline) / MAXSYSLOGLEN + 1; count++) {