main.c (85002) | main.c (85019) |
---|---|
1/* 2 * 3 * FreeBSD install - a package for the installation and maintainance 4 * of non-core utilities. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 11 unchanged lines hidden (view full) --- 20 */ 21 22#include "lib.h" 23#include "info.h" 24#include <err.h> 25 26#ifndef lint 27static const char rcsid[] = | 1/* 2 * 3 * FreeBSD install - a package for the installation and maintainance 4 * of non-core utilities. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 11 unchanged lines hidden (view full) --- 20 */ 21 22#include "lib.h" 23#include "info.h" 24#include <err.h> 25 26#ifndef lint 27static const char rcsid[] = |
28 "$FreeBSD: head/usr.sbin/pkg_install/info/main.c 85002 2001-10-15 18:21:08Z sobomax $"; | 28 "$FreeBSD: head/usr.sbin/pkg_install/info/main.c 85019 2001-10-16 03:04:15Z sobomax $"; |
29#endif 30 31static char Options[] = "acdDe:fgGhiIkl:LmopqrRst:vVW:x"; 32 33int Flags = 0; 34match_t MatchType = MATCH_GLOB; 35Boolean Quiet = FALSE; 36char *InfoPrefix = (char *)(uintptr_t)""; --- 105 unchanged lines hidden (view full) --- 142 InfoPrefix = optarg; 143 break; 144 145 case 'q': 146 Quiet = TRUE; 147 break; 148 149 case 't': | 29#endif 30 31static char Options[] = "acdDe:fgGhiIkl:LmopqrRst:vVW:x"; 32 33int Flags = 0; 34match_t MatchType = MATCH_GLOB; 35Boolean Quiet = FALSE; 36char *InfoPrefix = (char *)(uintptr_t)""; --- 105 unchanged lines hidden (view full) --- 142 InfoPrefix = optarg; 143 break; 144 145 case 'q': 146 Quiet = TRUE; 147 break; 148 149 case 't': |
150 strncpy(PlayPen, optarg, sizeof(PlayPen)); | 150 strlcpy(PlayPen, optarg, sizeof(PlayPen)); |
151 break; 152 153 case 'x': 154 MatchType = MATCH_REGEX; 155 break; 156 157 case 'e': 158 CheckPkg = optarg; --- 69 unchanged lines hidden --- | 151 break; 152 153 case 'x': 154 MatchType = MATCH_REGEX; 155 break; 156 157 case 'e': 158 CheckPkg = optarg; --- 69 unchanged lines hidden --- |