pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/create Don't chdir back to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3906ff1c65ba
branches:  trunk
changeset: 553981:3906ff1c65ba
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 05 16:06:55 2009 +0000

description:
Don't chdir back to the original directory at the end of make_dist,
pkg_create is about to exit() anyway.

diffstat:

 pkgtools/pkg_install/files/create/build.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 8314f68c24f0 -r 3906ff1c65ba pkgtools/pkg_install/files/create/build.c
--- a/pkgtools/pkg_install/files/create/build.c Thu Feb 05 15:37:01 2009 +0000
+++ b/pkgtools/pkg_install/files/create/build.c Thu Feb 05 16:06:55 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: build.c,v 1.9 2009/02/02 12:35:01 joerg Exp $  */
+/*     $NetBSD: build.c,v 1.10 2009/02/05 16:06:55 joerg Exp $ */
 
 #if HAVE_CONFIG_H
 #include "config.h"
@@ -7,7 +7,7 @@
 #if HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
-__RCSID("$NetBSD: build.c,v 1.9 2009/02/02 12:35:01 joerg Exp $");
+__RCSID("$NetBSD: build.c,v 1.10 2009/02/05 16:06:55 joerg Exp $");
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -320,7 +320,6 @@
                errx(2, "cannot finish archive: %s", archive_error_string(archive));
        archive_write_finish(archive);
 
-       chdir(initial_cwd);
        free(initial_cwd);
 }
 



Home | Main Index | Thread Index | Old Index