diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-09 22:14:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-09 22:14:32 +0000 |
commit | 7e3773a31a24b35c0551f352cf5fc95fc357d77f (patch) | |
tree | 16cf520a010091a16c124eadf7e4909cee7732bf /lang | |
parent | 8756625bb7ff28ea2549e72ef247a9ea03f361d1 (diff) | |
download | pkgsrc-7e3773a31a24b35c0551f352cf5fc95fc357d77f.tar.gz |
Use d_namlen as boundary for d_name, the printf still doesn't make much
sense, but who cares?
Diffstat (limited to 'lang')
-rw-r--r-- | lang/focal/distinfo | 3 | ||||
-rw-r--r-- | lang/focal/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/focal/distinfo b/lang/focal/distinfo index 43e672fab9d..b730684044f 100644 --- a/lang/focal/distinfo +++ b/lang/focal/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 09:03:06 agc Exp $ +$NetBSD: distinfo,v 1.3 2006/01/09 22:14:32 joerg Exp $ SHA1 (focal.tar.gz) = 704d1411365085fb47ff25c1a77ae1f8e7fa601e RMD160 (focal.tar.gz) = 6b06cc08b2761035c315ae13b80d64a5e7a6004b Size (focal.tar.gz) = 12561 bytes SHA1 (patch-aa) = f37f7271b0a7fe508bee1bf1630229096efb21d0 +SHA1 (patch-ab) = f42b9f219bfee5a0deaae5d030989a6bc4ae2e77 diff --git a/lang/focal/patches/patch-ab b/lang/focal/patches/patch-ab new file mode 100644 index 00000000000..73c196e45fa --- /dev/null +++ b/lang/focal/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2006/01/09 22:14:32 joerg Exp $ + +--- focal2.c.orig 2006-01-09 22:06:20.000000000 +0000 ++++ focal2.c +@@ -138,7 +138,7 @@ void library() + || strcmp(de->d_name, ".") == 0 + || strcmp(de->d_name, "..") == 0) + continue; +- printf("%.*s\n", de->d_reclen, de->d_name); ++ printf("%.*s\n", de->d_namlen, de->d_name); + } + closedir(dp); + #else |