cvs commit: src/usr.sbin/pkg_install/version perform.c
    Robert Drehmel 
    robert at FreeBSD.org
       
    Fri Apr  4 06:40:50 PST 2003
    
    
  
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
    
    
More information about the cvs-all
mailing list