Lines Matching defs:mode
52 "[b:binary?Read files in binary mode. This is the default.]"
61 " then the file mode, user and group are also checked. Empty lines,"
74 " mode, user and group between the checksum and path. User and group"
76 " specified then the mode, user and group for each path in \afile\a"
88 "[T:text?Read files in text mode (i.e., treat \b\\r\\n\b as \b\\n\b).]"
128 int permissions; /* include mode,uer,group */
145 * open path for read mode
149 openfile(const char* path, const char* mode)
156 sfopen(sp, NiL, mode);
158 else if (!(sp = sfopen(NiL, path, mode)))
264 int mode;
278 if ((mode = strtol(file, &e, 8)) && *e == ' ' && (e - file) == 4)
280 mode = modei(mode);
368 if ((st.st_mode & S_IPERM) ^ mode)
372 if (chmod(file, mode) < 0)
373 error(ERROR_SYSTEM|2, "%s: cannot change mode to %s", file, fmtmode(mode, 0));
375 error(ERROR_SYSTEM|1, "%s: changed mode to %s", file, fmtmode(mode, 0));
380 error(2, "%s: mode should be %s", file, fmtmode(mode, 0));