Searched refs:dirnamelen (Results 1 - 1 of 1) sorted by relevance

/haiku-fatelf/src/bin/unzip/
H A Dbeos.c88 static int notfirstcall=FALSE, have_dirname, dirnamelen; variable
108 dirnamelen = 1;
113 dirnamelen = wildname - wildspec;
114 if ((dirname = (char *)malloc(dirnamelen+1)) == (char *)NULL) {
120 strncpy(dirname, wildspec, dirnamelen);
121 dirname[dirnamelen] = '\0'; /* terminate for strcpy below */
132 strcpy(matchname+dirnamelen, file->d_name);
167 strcpy(matchname+dirnamelen, file->d_name);

Completed in 42 milliseconds