Searched refs:new_pathname (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/usr.sbin/rpc.pcnfsd/ |
H A D | pcnfsd_print.c | 93 char new_pathname[MAXPATHLEN]; variable 280 (void) strlcpy(new_pathname, pathname, sizeof(new_pathname)); in pr_start2() 281 (void) strlcat(new_pathname, ".spl", sizeof(new_pathname)); in pr_start2() 290 if (!stat(new_pathname, &statbuf)) { in pr_start2() 291 (void) strlcpy(new_pathname, pathname, sizeof(new_pathname)); /* rebuild a new name */ in pr_start2() 293 (void) strlcat(new_pathname, snum, 4); in pr_start2() 294 (void) strlcat(new_pathname, ".spl", sizeof(new_pathname)); /* new spool file */ in pr_start2() 296 if (rename(pathname, new_pathname)) { in pr_start2() 304 pathname, new_pathname); in pr_start2() 317 (void) run_ps630(new_pathname, opts); in pr_start2() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | mmaptrace.c | 1561 char new_pathname[MAXPATHLEN]; in gprofng_dlopen() local 1575 new_pathname[0] = '\0'; in gprofng_dlopen() 1578 __collector_strlcpy (new_pathname, dl_info.dli_fname, in gprofng_dlopen() 1581 __collector_strlcat (new_pathname, pathname + origin_offset, in gprofng_dlopen() 1582 MAXPATHLEN - CALL_UTIL (strlen)(new_pathname)); in gprofng_dlopen() 1583 real_pathname = new_pathname; in gprofng_dlopen()
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
H A D | mmaptrace.c | 1589 char new_pathname[MAXPATHLEN]; in __collector_dlopen_symver() local 1607 new_pathname[0] = '\0'; in __collector_dlopen_symver() 1610 __collector_strlcpy (new_pathname, dl_info.dli_fname, in __collector_dlopen_symver() 1612 …__collector_strlcat (new_pathname, pathname + origin_offset, MAXPATHLEN - CALL_UTIL (strlen)(new_p… in __collector_dlopen_symver() 1613 real_pathname = new_pathname; in __collector_dlopen_symver()
|