Blob Blame History Raw
diff -dur gcl-2.6.8.ORIG/o/unixfsys.c gcl-2.6.8/o/unixfsys.c
--- gcl-2.6.8.ORIG/o/unixfsys.c	2010-03-23 09:51:48.291962248 -0600
+++ gcl-2.6.8/o/unixfsys.c	2010-03-23 09:53:39.421996999 -0600
@@ -214,7 +214,7 @@
     
 #ifndef NO_PWD_H  
   if(namestring->st.st_self[0]=='~')
-    {char name[20];
+    {char name[LOGIN_NAME_MAX];
      int n;
      char *q = namestring->st.st_self;
 #ifndef __STDC__
@@ -224,7 +224,6 @@
 
      struct passwd *pwent;
      int m=0;
-     q=namestring->st.st_self;
      for (n=1; n< namestring->st.st_fillp; n++)
        if (q[n]=='/') break;
      bcopy(q+1,name,n-1);