diff options
Diffstat (limited to 'archivers/ha/patches/patch-ac')
-rw-r--r-- | archivers/ha/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/ha/patches/patch-ac b/archivers/ha/patches/patch-ac new file mode 100644 index 00000000000..882c1d0fff2 --- /dev/null +++ b/archivers/ha/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2001/07/15 11:49:42 jlam Exp $ + +--- nix/machine.c.orig Thu Jan 12 01:53:00 1995 ++++ nix/machine.c +@@ -417,7 +417,7 @@ + if (plainname!=NULL) free(plainname),plainname=NULL; + if ((plainname=malloc(strlen(mdfullpath)+1))==NULL) + error(1,ERR_MEM,"md_stripname()"); +- for (i=strlen(mdfullpath)-1;i>0;i--) { ++ for (i=strlen(mdfullpath)-1;i>=0;i--) { + if (mdfullpath[i]=='/') { + i++; + break; |