* pname_to_uid.c (krb5_pname_to_uid): Changed def'n of
authorTom Yu <tlyu@mit.edu>
Thu, 25 Jan 1996 01:54:53 +0000 (01:54 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 25 Jan 1996 01:54:53 +0000 (01:54 +0000)
krb5principalname to static so K&R compilers won't lose on
automatic aggregate initialization.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7377 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/pname_to_uid.c

index 7b17f55fd6a87bd3362ab37600d63bfab59978a8..17e217c764f2b39439c64750503a8ace300b9f7f 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jan 24 20:46:37 1996  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
+
+       * pname_to_uid.c (krb5_pname_to_uid): Changed def'n of
+               krb5principalname to static so K&R compilers won't lose on
+               automatic aggregate initialization.
+
 Wed Jan 24 13:21:37 1996  Theodore Y. Ts'o  <tytso@dcl>
 
        * import_name.c (krb5_gss_import_name): Don't assume that the
index 8cd20d23a9aa6f38974116422d321c7f29683e42..bc7d88a937f7321ff12987be724adf13f5ab37a4 100644 (file)
@@ -28,8 +28,8 @@ uid_t * uid;
        struct passwd   *pw;
        char            *pname_copy, *prefix, *suffix, *default_realm = NULL,
                        *temp;
-       unsigned char   krb5principalname[] =
-                         {"\052\206\110\206\367\022\001\002\002\001"};
+       static unsigned char    krb5principalname[] =
+       {"\052\206\110\206\367\022\001\002\002\001"};
 
 /*
  * check that the name_type is the Kerberos Principal Name form