Home
last modified time | relevance | path

Searched refs:oldfile (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libsecdb/common/
H A Di.rbac520 while read newfile oldfile ; do
524 mkdir -m 755 -p ${oldfile}.d
525 rm -f ${oldfile}.d/"$PKGINST"
526 cp $newfile ${oldfile}.d/"$PKGINST"
529 chmod a-w,a+r ${oldfile}.d/"$PKGINST"
534 if [ ! -f $oldfile ]; then
535 cp $newfile $oldfile
538 set_type_and_outfile $oldfile
546 dbmerge $type $oldfile $newfile $outfile
548 echo "$0 : failed to merge $newfile with $oldfile"
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Derrlist.awk57 oldfile = "errlst.c"
59 print "#pragma weak _sys_errlist = sys_errlist\n" >oldfile
60 print "#include \"lint.h\"\n" >oldfile
64 print "#define\tC(x)\n" >oldfile
65 print "extern const char __sys_errs[];\n" >oldfile
66 print "const char *sys_errlist[] = {" >oldfile
98 >oldfile
110 print "};\n" >oldfile
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c354 char *oldfile, in delete_entry() argument
397 gettext(ERR_INT_UPDATE), oldfile); in delete_entry()
402 if ((fp = fopen(oldfile, "r")) == NULL) { in delete_entry()
461 oldfile); in delete_entry()
470 oldfile, line); in delete_entry()
482 oldfile); in delete_entry()
498 oldfile); in delete_entry()
509 oldfile); in delete_entry()
547 if (rename(newfile, oldfile) == -1) { in delete_entry()
1615 char *oldfile, in list_entry() argument
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dcommand.c488 char oldfile[PATHLEN + 1]; /* old file name */ in changestring() local
606 *oldfile = '\0'; in changestring()
615 if (strcmp(newfile, oldfile) != 0) { in changestring()
627 if (*oldfile != '\0') { in changestring()
632 (void) strcpy(oldfile, newfile); in changestring()
633 (void) fprintf(script, "e %s\n", oldfile); in changestring()
H A Dmain.c951 char *oldfile; /* file in old cross-reference */ in build() local
1097 oldfile = getoldfile(); in build()
1101 oldfile = NULL; in build()
1149 while (oldfile != NULL && strcmp(file, oldfile) > 0) { in build()
1150 oldfile = getoldfile(); in build()
1156 if (oldfile == NULL || strcmp(file, oldfile) < 0) { in build()
1173 oldfile = getoldfile(); in build()
1182 oldfile = getoldfile(); in build()
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c927 fetch(long *f, int a, int b, int filen, char *s, int oldfile) in fetch() argument
941 if (opt == D_IFDEF && oldfile) { in fetch()
961 oneflag && oldfile == 1 ? "!" : "", ifdef2); in fetch()
966 if (oldfile) in fetch()
973 endifname = oldfile ? ifdef1 : ifdef2; in fetch()
978 inifdef = 1 + oldfile; in fetch()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmdebug.c476 char *file, *oldfile; local
511 oldfile = DBFILE(addr);
522 dbsetinfo((Vmuchar_t*)addr,oldsize,oldfile,oldline);
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c516 char oldfile[MAXPATHLEN]; in zsd_enable_cpu_stats() local
542 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_enable_cpu_stats()
566 char oldfile[MAXPATHLEN]; in zsd_disable_cpu_stats() local
569 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_disable_cpu_stats()
570 if (ret == 0 && strcmp(oldfile, path) != 0) in zsd_disable_cpu_stats()
615 char oldfile[MAXPATHLEN]; in zsd_roll_exacct() local
618 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_roll_exacct()
619 if (ret == 0 && strcmp(oldfile, path) != 0) in zsd_roll_exacct()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dproto.c172 …r* newfile, const char* oldfile, int preserve), (newfile, oldfile, preserve)) __OTORP__(const char… in __OTORP__()
176 if (stat(oldfile, &st))
182 if (remove(oldfile) || rename(newfile, oldfile))
185 chmod(oldfile, st.st_mode);
190 preserve = utime(oldfile, ut);