OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_anal.c versions 1.10 and 1.11
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_anal.c 1.10 -> 1.11

--- rc_anal.c    2002/08/01 09:45:19     1.10
+++ rc_anal.c    2002/08/02 20:09:59     1.11
@@ -203,7 +203,8 @@
     /* Loop through file index setting rc file names according to dirent */
     for (nIter = 0; nIter < nCount; ++nIter)
         (*ppInst)->m_szRcs[nIter] = strdup((*pppFiles)[nIter]->d_name);
-    (*ppInst)->m_szRcs[nIter] = NULL;
+    (*ppInst)->m_szRcs[nIter] = NULL; /* Terminate */
+    (*ppInst)->m_nRcs = nCount; /* Store how many globbed files there are */
 
     /* Cleanup our Dirent object */
     if (pppFiles) {

CVSTrac 2.0.1