src/findlib/find.c
FF_PKT *init_find_files()
{
  FF_PKT *ff;

  ff = (FF_PKT *)bmalloc(sizeof(FF_PKT));
  memset(ff, 0, sizeof(FF_PKT));

  ff->sys_fname = get_pool_memory(PM_FNAME);

   /* Get system path and filename maximum lengths */
   path_max = pathconf(".", _PC_PATH_MAX);
   if (path_max < 2048) {
      path_max = 2048;
   }

   name_max = pathconf(".", _PC_NAME_MAX);
   if (name_max < 2048) {
      name_max = 2048;
   }
   path_max++;                        /* add for EOS */
   name_max++;                        /* add for EOS */

  Dmsg1(dbglvl, "init_find_files ff=%p\n", ff);
  return ff;
}
/*
 * Initialize the find files "global" variables
 */
Initialize the find files "global" variables
Initialize the find files " global " variables
FF_PKT *init_find_files()
{
  FF_PKT *ff;
  ff = (FF_PKT *)bmalloc(sizeof(FF_PKT));
  memset(ff, 0, sizeof(FF_PKT));
  ff->sys_fname = get_pool_memory(PM_FNAME);
   path_max = pathconf(".", _PC_PATH_MAX);
   if (path_max < 2048) {
      path_max = 2048;
   }
   name_max = pathconf(".", _PC_NAME_MAX);
   if (name_max < 2048) {
      name_max = 2048;
   }
   path_max++;                        
   name_max++;                        
  Dmsg1(dbglvl, "init_find_files ff=%p\n", ff);
  return ff;
}
FF_PKT * init_find_files ( ) { FF_PKT * ff ; ff = ( FF_PKT * ) bmalloc ( sizeof ( FF_PKT ) ) ; memset ( ff , 0 , sizeof ( FF_PKT ) ) ; ff -> sys_fname = get_pool_memory ( PM_FNAME ) ; path_max = pathconf ( " " , _PC_PATH_MAX ) ; if ( path_max < 2048 ) { path_max = 2048 ; } name_max = pathconf ( " " , _PC_NAME_MAX ) ; if ( name_max < 2048 ) { name_max = 2048 ; } path_max ++ ; name_max ++ ; Dmsg1 ( dbglvl , " \n " , ff ) ; return ff ; }
Initialize the find files "global" variables
Initialize the find files " global " variables
/* Get system path and filename maximum lengths */ /* add for EOS */ /* add for EOS */