Searched refs:oldpath (Results 1 - 13 of 13) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.bin/locate/bigram/
H A Dlocate.bigram.c98 char *oldpath = buf1, *path = buf2; local
112 for ( cp = path; *cp == *oldpath; cp++, oldpath++ )
113 if ( *oldpath == '\0' )
123 path = buf2, oldpath = buf1;
125 path = buf1, oldpath = buf2;
/netbsd-6-1-5-RELEASE/usr.bin/locate/code/
H A Dlocate.code.c106 char *cp, *oldpath, *path; local
126 oldpath = buf1;
143 for (cp = path; *cp == *oldpath; cp++, oldpath++)
144 if (*oldpath == '\0')
176 oldpath = buf1;
179 oldpath = buf2;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/zkt/
H A Dzkt.c67 static void printkeyinfo (const dki_t *dkp, const char *oldpath);
69 static void printkeyinfo (const dki_t *dkp, const char *oldpath) argument
96 /* if ( pathflag && dkp->dname && strcmp (oldpath, dkp->dname) != 0 ) */
97 if ( pathflag && strcmp (oldpath, dkp->dname) != 0 )
154 static const char *oldpath = ""; local
166 printkeyinfo (dkp, oldpath); /* print entry */
167 oldpath = dkp->dname;
178 const char *oldpath; local
187 oldpath = "";
191 printkeyinfo (dkp, oldpath); /* prin
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/utoppya/
H A Dutoppya.c277 char *oldpath, *newpath, *o, *n; local
282 o = oldpath = argv[1];
285 for (o = oldpath; *o != '\0'; o++)
292 for (o = oldpath; *o && *o == '\\'; o++)
299 oldpath, newpath);
301 if (find_toppy_dirent(oldpath, &ud) == 0)
302 errx(EX_DATAERR, "'%s' does not exist on the Toppy", oldpath);
305 errx(EX_DATAERR, "%s: not a regular file", oldpath);
314 err(EX_OSERR, "ioctl(UTOPPYIORENAME, %s, %s)", oldpath,
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dsftp-server.c1046 char *oldpath, *newpath; local
1051 oldpath = get_string(NULL);
1054 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1058 else if (lstat(oldpath, &sb) == -1)
1062 if (link(oldpath, newpath) == -1) {
1071 if (rename(oldpath, newpath) == -1)
1080 } else if (unlink(oldpath) == -1) {
1087 if (rename(oldpath, newpath) == -1)
1093 xfree(oldpath);
1126 char *oldpath, *newpat local
1149 char *oldpath, *newpath; local
1206 char *oldpath, *newpath; local
[all...]
H A Dsftp-client.c765 do_rename(struct sftp_conn *conn, char *oldpath, char *newpath) argument
782 buffer_put_cstring(&msg, oldpath);
787 "SSH2_FXP_RENAME", oldpath, newpath);
792 error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath,
799 do_hardlink(struct sftp_conn *conn, char *oldpath, char *newpath) argument
816 buffer_put_cstring(&msg, oldpath);
820 oldpath, newpath);
825 error("Couldn't link file \"%s\" to \"%s\": %s", oldpath,
832 do_symlink(struct sftp_conn *conn, char *oldpath, char *newpath) argument
848 buffer_put_cstring(&msg, oldpath);
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/libdm/
H A Dlibdm-common.c554 char oldpath[PATH_MAX]; local
594 _build_dev_path(oldpath, sizeof(oldpath), old_name);
604 if (stat(oldpath, &info) < 0 &&
612 oldpath, newpath);
631 oldpath, newpath);
633 if (rename(oldpath, newpath) < 0) {
639 log_debug("Renamed %s to %s", oldpath, newpath);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/device/
H A Ddev-cache.c244 const char *oldpath; local
262 oldpath = dm_list_item(dev->aliases.n, struct str_list)->str;
263 prefer_old = _compare_paths(path, oldpath);
265 path, oldpath, prefer_old ? "" : " (preferred name)");
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dremote-fileio.c951 char *oldpath, *newpath; local
955 /* 1. Parameter: Ptr to oldpath / length incl. trailing zero */
969 /* Request oldpath using 'm' packet */
970 oldpath = alloca (old_len);
971 if (target_read_memory (old_ptr, (gdb_byte *) oldpath, old_len) != 0)
986 of = stat (oldpath, &ost);
996 ret = rename (oldpath, newpath);
1019 cygwin_conv_path (CCP_WIN_A_TO_POSIX, oldpath, oldfullpath,
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-ldif/
H A Dldif.c1397 struct berval *oldpath,
1407 newpath = *oldpath;
1418 trash = oldpath->bv_val; /* will be .ldif file to delete */
1420 ldif2dir_len( *oldpath );
1425 ldif2dir_name( *oldpath );
1426 rename_res = move_dir( oldpath->bv_val, newpath.bv_val );
1436 dir2ldif_name( *oldpath );
1448 ldif2dir_name( *oldpath );
1449 if ( move_dir( newpath.bv_val, oldpath->bv_val ) == 0 )
1393 ldif_move_entry( Operation *op, Entry *entry, int same_ndn, struct berval *oldpath, const char **text ) argument
/netbsd-6-1-5-RELEASE/lib/libukfs/
H A Dukfs.c1027 char *newpath, *oldpath; local
1041 oldpath = ukfs->ukfs_cwd;
1044 free(oldpath);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/v850/
H A Dsimops.c1852 char *oldpath = fetch_str (simulator, PARM1);
1854 RETVAL = sim_io_rename (simulator, oldpath, newpath);
1855 free (oldpath);
1849 char *oldpath = fetch_str (simulator, PARM1); local
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c2391 char oldpath[MAXPATHLEN], newpath[MAXPATHLEN]; local
2446 (void) strcpy(oldpath, oldvd->vdev_path);
2458 fatal(0, "detach (%s) returned %d", oldpath, error);
2548 oldpath, (longlong_t)oldsize, newpath,

Completed in 241 milliseconds