From 7f0a3d2213a29266ce48cbe2aae7f3533468487c Mon Sep 17 00:00:00 2001 From: SCPCD Date: Tue, 27 Dec 2011 14:39:05 +0000 Subject: [PATCH] In "doobject" : - strcpy(obj_fname[obj_index], fname); + strcpy(obj_fname[obj_index], path_tail(fname)); // SCPCD : get the name of the file instead of all pathname --- rln.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rln.c b/rln.c index 7eebe68..50d0e6a 100644 --- a/rln.c +++ b/rln.c @@ -1861,7 +1861,7 @@ int doobject(char *fname, int fd, char *ptr) { return(1); } - strcpy(obj_fname[obj_index], fname); + strcpy(obj_fname[obj_index], path_tail(fname)); // SCPCD : get the name of the file instead of all pathname obj_segsize[obj_index][0] = (getlong(ptr + 4) + secalign) & ~secalign; obj_segsize[obj_index][1] = (getlong(ptr + 8) + secalign) & ~secalign; obj_segsize[obj_index][2] = (getlong(ptr + 12) + secalign) & ~secalign; -- 2.37.2