Source-Changes-HG archive

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

[src/pkgviews]: src/usr.sbin/pkg_install/create (char *)NULL != "" (too lo...



details:   https://anonhg.NetBSD.org/src/rev/ec5b2fc570de
branches:  pkgviews
changeset: 534242:ec5b2fc570de
user:      jlam <jlam%NetBSD.org@localhost>
date:      Tue Jul 29 01:39:12 2003 +0000

description:
(char *)NULL != ""    (too long away from C...)

diffstat:

 usr.sbin/pkg_install/create/perform.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 9a6ad38ade07 -r ec5b2fc570de usr.sbin/pkg_install/create/perform.c
--- a/usr.sbin/pkg_install/create/perform.c     Tue Jul 29 01:37:44 2003 +0000
+++ b/usr.sbin/pkg_install/create/perform.c     Tue Jul 29 01:39:12 2003 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: perform.c,v 1.33.2.2 2003/07/25 11:54:01 jlam Exp $    */
+/*     $NetBSD: perform.c,v 1.33.2.3 2003/07/29 01:39:12 jlam Exp $    */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp";
 #else
-__RCSID("$NetBSD: perform.c,v 1.33.2.2 2003/07/25 11:54:01 jlam Exp $");
+__RCSID("$NetBSD: perform.c,v 1.33.2.3 2003/07/29 01:39:12 jlam Exp $");
 #endif
 #endif
 
@@ -394,7 +394,7 @@
                add_plist(&plist, PLIST_FILE, PRESERVE_FNAME);
        }
        if (create_views) {
-               write_file(VIEWS_FNAME, (char *)NULL);
+               write_file(VIEWS_FNAME, "");
                add_plist(&plist, PLIST_IGNORE, NULL);
                add_plist(&plist, PLIST_FILE, VIEWS_FNAME);
        }



Home | Main Index | Thread Index | Old Index