[krbdev.mit.edu #2535] Missing EOL character (0x0A) causes build break on Solaris.

lijian via RT rt-comment at krbdev.mit.edu
Wed Apr 14 17:31:25 EDT 2004


Dear MIT Kerberos Team:

I found a Solaris 8 build break on Kerberos 5 1.3.3:

>"dnssrv.c", line 273: #ifdef on line 30 has no matching #endif
>"dnssrv.c", line 273: warning: newline not last character in file
>"dnssrv.c", line 273: #if-less #endif
>cc: acomp failed for dnssrv.c
>*** Error code 2

The cause is pretty simple: missing EOL character (0x0A) in the last line of
the file src/lib/krb5/os/dnssrv.c

Before The Fix:
001e40  30 3B 0A 7D 0A 23 65 6E - 64 69 66
        0  ;  .  }  .  #  e  n    d  i  f

After Fix We Made:
001e40  30 3B 0A 7D 0A 23 65 6E - 64 69 66 0A
        0  ;  .  }  .  #  e  n    d  i  f  .


Please update your source code by appending EOL
to the last line of the file src/lib/krb5/os/dnssrv.c

Thanks,
Lijian Liu
Sendmail, Inc.
(510) 594-5527




More information about the krb5-bugs mailing list