OSSP CVS Repository

ossp - Check-in [3404]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3404
Date: 2003-May-28 21:03:25 (local)
2003-May-28 19:03:25 (UTC)
User:ms
Branch:
Comment: Clean up analyser object, and remove some obsolete code.
Tickets:
Inspections:
Files:
ossp-pkg/rc/rc_anal.c      1.18 -> 1.19     1 inserted, 15 deleted
ossp-pkg/rc/rc_anal.h      1.2->removed

ossp-pkg/rc/rc_anal.c 1.18 -> 1.19

--- rc_anal.c    2003/05/28 15:09:29     1.18
+++ rc_anal.c    2003/05/28 19:03:25     1.19
@@ -29,11 +29,11 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <dirent.h>
 
 #include "rc.h"         /* Public interfaces        */
 #include "rc_const.h"   /* String constants         */
 #include "rc_config.h"  /* Configuration interface  */
-#include "rc_anal.h"    /* Anal specific headers    */
 
 
 /************************************************
@@ -163,20 +163,6 @@
     return(RC_THROW(RC_OK));
 }
 
-/***************************************************************
-* int analFileselect(struct dirent *Direntry)                  *
-* Calculate whether a directory entry belongs to a defined set *
-***************************************************************/
-int analFileselect(struct dirent *Direntry)
-{
-    if ((Direntry->d_name != NULL) && (strncmp(Direntry->d_name, "rc.", 3) == 0))
-        return (TRUE);
-    else if ((strcmp(Direntry->d_name, ".") == 0) || (strcmp(Direntry->d_name, "..") == 0))
-        return (FALSE);
-    else /* Catchall returns false for all not met set conditions */
-        return (FALSE);
-}
-
 /************************************************
 * analGloblocs(rc_anal_t **ppInst)              *
 * Glob all files of the location directories    *


ossp-pkg/rc/rc_anal.h 1.2 -> 1.3


CVSTrac 2.0.1