cvs commit: src/usr.sbin/pkg_install/version perform.c

[ Available lists | Index of cvs-all | Month of Apr 2003 | Week of 4 Apr 2003 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Robert Drehmel <robert@FreeBSD.org>
Date
4 Apr 2003 06:40:50
Subject
cvs commit: src/usr.sbin/pkg_install/version perform.c
Message-ID
200304041440.h34Eenq6008187@repoman.freebsd.org


[ Hide this part ]
robert      2003/04/04 06:40:49 PST

FreeBSD src repository

Modified files:
usr.sbin/pkg_install/version perform.c
Log:
- Print out an error message instead of dereferencing a NULL pointer
if matchinstalled() found no packages, which happens to be the
case after fresh installations.
- Instead of using strstr(3) to match the package name, depend on
matchinstalled()'s MATCH_REGEX package matching.

PR: bin/50384
MFC after: 2 weeks

Revision Changes Path
1.6 +29 -7 src/usr.sbin/pkg_install/version/perform.c


Elapsed time: 0.086 seconds