Improve file name conversion on extraction.

Patch by maximum entropy in pkg/13526.
This commit is contained in:
wiz 2001-07-21 19:53:49 +00:00
parent 32188bfde2
commit 06dc96b197
2 changed files with 14 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.2 2001/04/18 12:14:37 agc Exp $
$NetBSD: distinfo,v 1.3 2001/07/21 19:53:49 wiz Exp $
SHA1 (shorten-3.1.tar.gz) = 4f5b939614bc8a6c756f92a95909a39a499932f5
Size (shorten-3.1.tar.gz) = 162942 bytes
SHA1 (patch-aa) = eeb637249df8eb5a28018ada92a7e270c8c40ba7
SHA1 (patch-ab) = ed8ce4a276bf6250600cb6e5559400295d14ed7e
SHA1 (patch-ac) = c82529b4c1824a1be80834d018782b70dfa17f0d
SHA1 (patch-ad) = a7adfbfd24c4f214739e2a07f7df8f03ab026c2a

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ad,v 1.1 2001/07/21 19:53:49 wiz Exp $
--- shorten.c.orig Tue Oct 10 13:14:47 2000
+++ shorten.c Sat Jul 21 14:24:39 2001
@@ -669,7 +669,6 @@
if(strcasecmp(filenamei + newfilelen, WAVESUFFIX))
#endif
{
- tmpfilename[newfilelen] = '\0';
strcat(tmpfilename,".wav");
}
}