pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/pico Don't define errno after using it already...
details: https://anonhg.NetBSD.org/pkgsrc/rev/560d369e0834
branches: trunk
changeset: 504351:560d369e0834
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Dec 09 16:19:46 2005 +0000
description:
Don't define errno after using it already for a dozen times.
diffstat:
editors/pico/distinfo | 3 ++-
editors/pico/patches/patch-ai | 12 ++++++++++++
2 files changed, 14 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 817c640d1a5c -r 560d369e0834 editors/pico/distinfo
--- a/editors/pico/distinfo Fri Dec 09 16:18:03 2005 +0000
+++ b/editors/pico/distinfo Fri Dec 09 16:19:46 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2005/08/12 20:21:29 tv Exp $
+$NetBSD: distinfo,v 1.22 2005/12/09 16:19:46 joerg Exp $
SHA1 (pine4.63.tar.bz2) = ad235c1fad7cc8adfff5c69cea8eb267afa648c9
RMD160 (pine4.63.tar.bz2) = b04a6f5134aeae6b0a5663acbfa4e812c3fc7762
@@ -11,3 +11,4 @@
SHA1 (patch-af) = 50559e76706fd1107b96979b2aedcb760abf9f88
SHA1 (patch-ag) = 88a8a8ca456355165726425de7cf18a13435a3a2
SHA1 (patch-ah) = 2c18b4fb1b57a0bdd1e164c7eefe0bd684f26764
+SHA1 (patch-ai) = 7e2a70ee4322aa85de80089c2e4470ec12bfe110
diff -r 817c640d1a5c -r 560d369e0834 editors/pico/patches/patch-ai
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/pico/patches/patch-ai Fri Dec 09 16:19:46 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ai,v 1.1 2005/12/09 16:19:46 joerg Exp $
+
+--- pico/osdep/unix.orig 2005-12-09 16:13:11.000000000 +0000
++++ pico/osdep/unix
+@@ -3376,7 +3376,6 @@ char *a, *b;
+ int in, out, n, rv = 0;
+ char *cb;
+ struct stat tsb, fsb;
+- extern int errno;
+
+ if(stat(a, &fsb) < 0){ /* get source file info */
+ emlwrite("Can't Copy: %s", errstr(errno));
Home |
Main Index |
Thread Index |
Old Index