Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 06:40:49 -0800 (PST)
From:      Robert Drehmel <robert@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/pkg_install/version perform.c
Message-ID:  <200304041440.h34Eenq6008187@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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