Home | History | Annotate | Download | only in minizip

Lines Matching refs:buffer

141   char *buffer ;
148 buffer = (char*)malloc(len+1);
149 if (buffer==NULL)
154 strcpy(buffer,newdir);
156 if (buffer[len-1] == '/') {
157 buffer[len-1] = '\0';
159 if (mymkdir(buffer) == 0)
161 free(buffer);
165 p = buffer+1;
174 if ((mymkdir(buffer) == -1) && (errno == ENOENT))
176 printf("couldn't create directory %s\n",buffer);
177 free(buffer);
184 free(buffer);