Definition at line 86 of file XrdWait41.cc.
◆ Expand()
Definition at line 178 of file XrdWait41.cc.
179{
180 struct dirent *dp;
182 const char *eText;
183 char buff[1024], *sfxDir;
184 DIR *DFD;
185
188 std::cerr <<
"wait41: " <<eText <<
" opening directory" <<
Path <<std::endl;
189 return ptl;
190 }
191
192 strcpy(buff,
Path); sfxDir = buff + strlen(
Path);
193 if (*(sfxDir-1) != '/') *sfxDir++ = '/';
194
195 errno = 0;
197 {if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, "..")) continue;
198 strcpy(sfxDir, dp->d_name);
201 std::cerr <<"wait41: " <<eText <<" processing " <<buff <<std::endl;
202 continue;
203 }
205 errno = 0;
206 }
207
208 if (errno)
210 std::cerr <<
"wait41: " <<eText <<
" reading directory" <<
Path <<std::endl;
211 }
212
214 return ptl;
215}
const char * XrdSysE2T(int errcode)
References closedir, opendir, Path, readdir, Stat, stat, and XrdSysE2T().
Referenced by main().
The documentation for this class was generated from the following file: