search for: redirectee_word

Displaying 1 result from an estimated 1 matches for "redirectee_word".

1999 Feb 10
1
When a shell says no (clobber) it means maybe.
...: 1294 flags = O_WRONLY | O_CREAT | O_TRUNC; 1295 if (Flag(FNOCLOBBER) && !(iop->flag & IOCLOB) 1296 && (stat(cp, &statb) < 0 || S_ISREG(statb.st_mode))) 1297 flags |= O_EXCL; 1298 break; execute_cmd.c from bash-1.14.7 2834 stat_result = stat (redirectee_word, &finfo); 2835 2836 if ((stat_result == 0) && (S_ISREG (finfo.st_mode))) 2837 { 2838 free (redirectee_word); 2839 return (NOCLOBBER_REDIRECT); 2840 } 2841 2842 /* If the file was not present, make sure we open it exclusively 2843 so that if it i...