From 59ef216bedc2fa51562aff93b09a6d415eaab89b Mon Sep 17 00:00:00 2001 From: Gary Jennejohn Date: Tue, 27 Aug 2002 09:18:36 +0000 Subject: Add patch-file.c to fix an error in checking the return value from mkdtemp. Bump PORTREVISION to reflect the fix. --- editors/vile/Makefile | 1 + editors/vile/files/patch-file.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 editors/vile/files/patch-file.c (limited to 'editors/vile') diff --git a/editors/vile/Makefile b/editors/vile/Makefile index f9478ff2ac0c..176fa87e7aff 100644 --- a/editors/vile/Makefile +++ b/editors/vile/Makefile @@ -7,6 +7,7 @@ PORTNAME= vile PORTVERSION= 9.3c +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= ftp://ftp.phred.org/pub/vile/ \ ftp://dickey.his.com/vile/ diff --git a/editors/vile/files/patch-file.c b/editors/vile/files/patch-file.c new file mode 100644 index 000000000000..ba624d2b6137 --- /dev/null +++ b/editors/vile/files/patch-file.c @@ -0,0 +1,11 @@ +--- file.c.orig Tue Aug 27 10:14:57 2002 ++++ file.c Tue Aug 27 10:15:35 2002 +@@ -2351,7 +2351,7 @@ + + /* on failure, keep going */ + #if defined(HAVE_MKSTEMP) && defined(HAVE_MKDTEMP) +- result = (vl_mkdtemp(dirnam) == 0); ++ result = (vl_mkdtemp(dirnam) != 0); + #else + result = (vl_mkdir(dirnam, 0700) == 0); + #endif -- cgit v1.2.3