Lines Matching refs:new_attributes
59 static char *new_attributes;
141 static void change_attributes(char *path, afpvol_t *vol, const struct stat *st, struct adouble *ad, char *new_attributes)
149 if (strchr(new_attributes, 'W'))
151 if (strchr(new_attributes, 'w'))
154 if (strchr(new_attributes, 'O'))
156 if (strchr(new_attributes, 'o'))
160 if (strchr(new_attributes, 'Y'))
162 if (strchr(new_attributes, 'y'))
165 if (strchr(new_attributes, 'P'))
167 if (strchr(new_attributes, 'p'))
170 if (strchr(new_attributes, 'R'))
172 if (strchr(new_attributes, 'r'))
175 if (strchr(new_attributes, 'L'))
177 if (strchr(new_attributes, 'l'))
279 new_attributes = strdup(optarg);
320 if (new_attributes)
321 change_attributes(argv[optind], &vol, &st, &ad, new_attributes);