Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Get getopt from unistd.h (not getopt.h) in tests

POSIX defines getopt to be declared in unistd.h, and HP-UX (as of
version 11.31) does not appear to have getopt.h. In test programs
which currently include getopt.h and aren't currently built on
Windows, include unistd.h or just assume we will get it via k5-int.h.

https://github.com/krb5/krb5/commit/613c62d689c31a325d51be88657dedd17af3cf81
Author: Greg Hudson <ghudson@mit.edu>
Commit: 613c62d689c31a325d51be88657dedd17af3cf81
Branch: master
src/lib/krb5/krb/t_cc_config.c | 1 -
src/lib/krb5/krb/t_in_ccache.c | 1 -
src/tests/gssapi/t_enctypes.c | 1 -
src/tests/responder.c | 2 +-
4 files changed, 1 insertions(+), 4 deletions(-)
From: tlyu@mit.edu
Subject: git commit

Get getopt from unistd.h (not getopt.h) in tests

POSIX defines getopt to be declared in unistd.h, and HP-UX (as of
version 11.31) does not appear to have getopt.h. In test programs
which currently include getopt.h and aren't currently built on
Windows, include unistd.h or just assume we will get it via k5-int.h.

(cherry picked from commit 613c62d689c31a325d51be88657dedd17af3cf81)

https://github.com/krb5/krb5/commit/4456c7e55e9ee5fcd3ce660317240e822be03043
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 4456c7e55e9ee5fcd3ce660317240e822be03043
Branch: krb5-1.12
src/lib/krb5/krb/t_cc_config.c | 1 -
src/lib/krb5/krb/t_in_ccache.c | 1 -
src/tests/gssapi/t_enctypes.c | 1 -
src/tests/responder.c | 2 +-
4 files changed, 1 insertions(+), 4 deletions(-)