Lines Matching refs:file

4   See the accompanying file LICENSE, version 2000-Apr-09 or later
44 /* For the new post-DR8 file attributes */
89 struct dirent *file;
126 while ((file = readdir(wild_dir)) != (struct dirent *)NULL) {
127 if (file->d_name[0] == '.' && wildname[0] != '.')
129 if (match(file->d_name, wildname, 0)) { /* 0 == case sens. */
132 strcpy(matchname+dirnamelen, file->d_name);
134 strcpy(matchname, file->d_name);
144 * searchable, but filespec was not wild and file is readable) */
161 while ((file = readdir(wild_dir)) != (struct dirent *)NULL) {
162 if (file->d_name[0] == '.' && wildname[0] != '.')
164 if (match(file->d_name, wildname, 0)) { /* 0 == don't ignore case */
167 strcpy(matchname+dirnamelen, file->d_name);
169 strcpy(matchname, file->d_name);
224 store file permission attributes in some extra field.
444 Report if directory was created (and no file to create: filename ended
506 /* file *must* have a RISC OS extra field */
556 static char *buildpath; /* full path (so far) to extracted file */
682 INIT: allocate and initialize buffer space for the file currently being
683 extracted. If file was renamed with an absolute path, don't prepend the
744 /* skip (or treat as stored file) */
756 /* file exists, or 2+ subdir levels required */
818 fclose(G.outfile); /* close "data" file... */
829 fclose(G.outfile); /* close "data" file for good... */
869 Change the file permissions from default ones to those stored in the
875 perror("chmod (file attributes) error");
926 /* set the file's access and modification times */
978 /* perror("chmod (file attributes) error"); */
1089 Set a file/directory's attributes to the attributes passed in.
1215 /* Find the BeOS file attribute data. */
1225 "Can't allocate memory to uncompress file attributes.\n"));
1233 "Error uncompressing file attributes.\n"));
1238 /* for this file... there's no way to detect what attrs */
1245 /* Now attempt to set the file attributes on the extracted file. */
1249 "Error writing file attributes.\n"));
1315 static void assign_MIME( const char *file )
1321 if( file[0] == '/' ) {
1322 fullname = (char *)file;
1324 sprintf( buff, "%s/%s", getcwd( cwd_buff, PATH_MAX ), file );