Home
last modified time | relevance | path

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

/titanic_52/usr/src/lib/libc/port/gen/
H A Derrlist.awk57 oldfile = "errlst.c"
59 print "#pragma ident\t\"%Z%%M%\t%I%\t%E% SMI\"\n" >oldfile
60 print "#pragma weak _sys_errlist = sys_errlist\n" >oldfile
61 print "#include \"lint.h\"\n" >oldfile
65 print "#define\tC(x)\n" >oldfile
66 print "extern const char __sys_errs[];\n" >oldfile
67 print "const char *sys_errlist[] = {" >oldfile
98 >oldfile
110 print "};\n" >oldfile
/titanic_52/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...]
/titanic_52/usr/src/cmd/modload/
H A Ddrvsubr.c342 char *oldfile, in delete_entry() argument
385 gettext(ERR_INT_UPDATE), oldfile); in delete_entry()
390 if ((fp = fopen(oldfile, "r")) == NULL) { in delete_entry()
392 (void) fprintf(stderr, gettext(ERR_CANT_ACCESS_FILE), oldfile); in delete_entry()
404 (void) snprintf(newfile, sizeof (newfile), "%s%s", oldfile, ".hold"); in delete_entry()
438 (void) fprintf(stderr, gettext(ERR_UPDATE), oldfile); in delete_entry()
449 oldfile); in delete_entry()
458 oldfile, line); in delete_entry()
470 oldfile); in delete_entry()
477 if ((strcmp(oldfile, minor_per in delete_entry()
1595 list_entry(char * oldfile,char * driver_name,char * marker) list_entry() argument
[all...]
/titanic_52/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.c953 char *oldfile; /* file in old cross-reference */ in build() local
1099 oldfile = getoldfile(); in build()
1103 oldfile = NULL; in build()
1151 while (oldfile != NULL && strcmp(file, oldfile) > 0) { in build()
1152 oldfile = getoldfile(); in build()
1158 if (oldfile == NULL || strcmp(file, oldfile) < 0) { in build()
1175 oldfile = getoldfile(); in build()
1184 oldfile in build()
[all...]
/titanic_52/usr/src/cmd/diff/
H A Ddiff.c916 fetch(long *f, int a, int b, int filen, char *s, int oldfile) in fetch() argument
930 if (opt == D_IFDEF && oldfile) { in fetch()
950 oneflag && oldfile == 1 ? "!" : "", ifdef2); in fetch()
955 if (oldfile) in fetch()
962 endifname = oldfile ? ifdef1 : ifdef2; in fetch()
967 inifdef = 1 + oldfile; in fetch()
/titanic_52/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);
/titanic_52/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c518 char oldfile[MAXPATHLEN]; in zsd_enable_cpu_stats() local
544 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_enable_cpu_stats()
568 char oldfile[MAXPATHLEN]; in zsd_disable_cpu_stats() local
571 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_disable_cpu_stats()
572 if (ret == 0 && strcmp(oldfile, path) != 0) in zsd_disable_cpu_stats()
617 char oldfile[MAXPATHLEN]; in zsd_roll_exacct() local
620 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_roll_exacct()
[all...]
/titanic_52/usr/src/contrib/ast/src/cmd/INIT/
H A Dproto.c172 replace __PARAM__((const char* newfile, const char* oldfile, int preserve), (newfile, oldfile, preserve)) __OTORP__(const char* newfile; const char* oldfile; int preserve;){ 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);