• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/bash-94.1.2/bash-3.2/

Lines Matching +defs:temp +defs:file +defs:name

5 This file is part of GNU Bash, the Bourne Again SHell.
18 with Bash; see the file COPYING. If not, write to the Free Software
44 char *name;
60 /* Non-zero means warn if a mail file has been read since last checked. */
77 char *temp;
81 temp = get_string_value ("MAILCHECK");
85 if (temp == 0 || legal_number (temp, &seconds) == 0 || seconds < 0)
102 /* Locate a file in the list. Return index of
105 find_mail_file (file)
106 char *file;
111 if (STREQ (mailfiles[i]->name, file))
138 char *file;
141 file = mailfiles[i]->name;
142 if (mailstat (file, &finfo) == 0)
148 /* Add this file to the list of remembered files and return its index
151 add_mail_file (file, msg)
152 char *file, *msg;
158 filename = full_pathname (file);
174 mailfiles[i]->name = filename;
198 free (mailfiles[i]->name);
212 the cached mail file info. */
219 char *file;
221 file = mailfiles[i]->name;
224 if ((mailstat (file, &finfo) == 0) && (finfo.st_size > 0))
240 char *file;
242 file = mailfiles[i]->name;
245 if ((mailstat (file, &finfo) == 0) && (finfo.st_size > 0))
258 char *file;
260 file = mailfiles[i]->name;
263 return ((mailstat (file, &finfo) == 0) && (finfo.st_size > size));
268 message to be printed when the file contents change. */
312 no MAILPATH, by the file specified in MAIL. If neither exists, use a
354 file has been read, thus letting one know when someone else has logged
361 mail file has been accessed since the last time we remembered, then
368 char *dollar_underscore, *temp;
376 current_mail_file = mailfiles[i]->name;
400 mail file, then don't bother explaining that the mail
401 file has been manipulated. Since some systems don't change
403 the mail in the file is manipulated, check the size also. If
404 the file has not grown, continue. */
408 /* If the mod time is later than the access time and the file
415 if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
417 puts (temp);
418 free (temp);