Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2009 05:19:36 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189513 - head/usr.bin/tar/test
Message-ID:  <200903080519.n285JaeQ072885@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kientzle
Date: Sun Mar  8 05:19:36 2009
New Revision: 189513
URL: http://svn.freebsd.org/changeset/base/189513

Log:
  Merge r374 from libarchive.googlecode.com: Stupid typo in open() call. <sigh>

Modified:
  head/usr.bin/tar/test/test_strip_components.c

Modified: head/usr.bin/tar/test/test_strip_components.c
==============================================================================
--- head/usr.bin/tar/test/test_strip_components.c	Sun Mar  8 05:17:58 2009	(r189512)
+++ head/usr.bin/tar/test/test_strip_components.c	Sun Mar  8 05:19:36 2009	(r189513)
@@ -28,7 +28,7 @@ __FBSDID("$FreeBSD$");
 static int
 touch(const char *fn)
 {
-	int fd = open(fn, O_RDWR | O_CREAT | 0644);
+	int fd = open(fn, O_RDWR | O_CREAT, 0644);
 	failure("Couldn't create file '%s', fd=%d, errno=%d (%s)\n",
 	    fn, fd, errno, strerror(errno));
 	if (!assert(fd > 0))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903080519.n285JaeQ072885>