show.c (84745) | show.c (84750) |
---|---|
1#ifndef lint 2static const char rcsid[] = | 1#ifndef lint 2static const char rcsid[] = |
3 "$FreeBSD: head/usr.sbin/pkg_install/info/show.c 84745 2001-10-10 06:58:42Z sobomax $"; | 3 "$FreeBSD: head/usr.sbin/pkg_install/info/show.c 84750 2001-10-10 08:21:41Z sobomax $"; |
4#endif 5 6/* 7 * FreeBSD install - a package for the installation and maintainance 8 * of non-core utilities. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions --- 290 unchanged lines hidden (view full) --- 302 if (!Quiet) 303 printf("%s%s", InfoPrefix, title); 304 for (p = plist->head; p != NULL; p = p->next) 305 if (p->type == PLIST_COMMENT && !strncmp(p->name, "ORIGIN:", 7)) { 306 printf("%s\n", p->name + 7); 307 break; 308 } 309} | 4#endif 5 6/* 7 * FreeBSD install - a package for the installation and maintainance 8 * of non-core utilities. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions --- 290 unchanged lines hidden (view full) --- 302 if (!Quiet) 303 printf("%s%s", InfoPrefix, title); 304 for (p = plist->head; p != NULL; p = p->next) 305 if (p->type == PLIST_COMMENT && !strncmp(p->name, "ORIGIN:", 7)) { 306 printf("%s\n", p->name + 7); 307 break; 308 } 309} |
310 311/* Show revision number of the packing list */ 312void 313show_fmtrev(const char *title, Package *plist) 314{ 315 if (!Quiet) 316 printf("%s%s", InfoPrefix, title); 317 printf("%d.%d\n", plist->fmtver_maj, plist->fmtver_mnr); 318} |
|