Todd C. Miller
|
43cc80d795
|
Add -v option parsing to regress tests, currently a no-op.
This will be used by a "check-verbose" target in the future.
|
2022-03-02 11:09:51 -07:00 |
|
Todd C. Miller
|
a7e2dd15e1
|
Test the error case by closing the underlying fd.
Note that we don't use ferror() here since our getdelim() has no
way to set the error flag if there is a memory allocation error.
|
2021-02-18 13:15:35 -07:00 |
|
Todd C. Miller
|
db70a70d07
|
Test the case where getdelim() must reallocate the buffer.
Reproduces Bug #960.
|
2021-02-18 10:42:04 -07:00 |
|
Todd C. Miller
|
84e6e6ccf9
|
Update copyright year on some files where it was out of date.
|
2020-08-31 14:09:36 -06:00 |
|
Todd C. Miller
|
985af422d2
|
Rename __dso_public -> sudo_dso_public and move to config.h.
|
2020-08-12 09:57:42 -06:00 |
|
Todd C. Miller
|
446ae3f507
|
Include string.h unconditionally and only use strings.h for strn?casecmp()
In the pre-POSIX days BSD had strings.h, not string.h.
Now strings.h is only used for non-ANSI string functions.
|
2020-05-18 07:59:24 -06:00 |
|
Todd C. Miller
|
ac61b5655d
|
Use EXIT_SUCCESS and EXIT_FAILURE more consistently.
|
2020-02-08 12:43:00 -07:00 |
|
Todd C. Miller
|
1e1ef61902
|
Add SPDX-License-Identifier to files.
|
2019-04-29 07:21:51 -06:00 |
|
Todd C. Miller
|
de65d70929
|
Add a proper getdelim(3) replacement and use it instead of getline(3).
|
2019-04-08 10:37:30 -06:00 |
|