<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>I’d like to make the following trivial fix to a JAAS function in native code on Windows.<div>It simply corrects a printf statement to expect a pointer: <br><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">diff --git a/src/windows/native/com/sun/security/auth/module/nt.c b/src/windows/native/com/sun/security/auth/module/nt.c</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">--- a/src/windows/native/com/sun/security/auth/module/nt.c</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+++ b/src/windows/native/com/sun/security/auth/module/nt.c</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">@@ -1,5 +1,5 @@</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> /*</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">- * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  *</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  * This code is free software; you can redistribute it and/or modify it</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">@@ -589,7 +589,8 @@ BOOL getImpersonationToken(PHANDLE imper</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">     CloseHandle(dupToken);</div><p style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-size: 11px; font-family: Menlo;">     if (debug) {</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-        printf("  [getImpersonationToken] token = %d\n", *impersonationToken);</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+        printf("  [getImpersonationToken] token = %p\n",</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+            (void *)*impersonationToken);</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">     }</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">     return TRUE;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> }</div></div><div><br></div></div></div></body></html>