options.c (114583) | options.c (126643) |
---|---|
1/*- 2 * Copyright (c) 1992 Keith Muller. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 28 unchanged lines hidden (view full) --- 37 38#if 0 39#ifndef lint 40static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94"; 41#endif /* not lint */ 42#endif 43 44#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1992 Keith Muller. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 28 unchanged lines hidden (view full) --- 37 38#if 0 39#ifndef lint 40static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94"; 41#endif /* not lint */ 42#endif 43 44#include <sys/cdefs.h> |
45__FBSDID("$FreeBSD: head/bin/pax/options.c 114583 2003-05-03 16:39:34Z markm $"); | 45__FBSDID("$FreeBSD: head/bin/pax/options.c 126643 2004-03-05 08:10:19Z markm $"); |
46 47#include <sys/types.h> 48#include <sys/stat.h> 49#include <sys/mtio.h> 50#include <stdio.h> 51#include <string.h> 52#include <errno.h> 53#include <unistd.h> --- 1197 unchanged lines hidden (view full) --- 1251 case APPND: 1252 if (*argv != NULL) 1253 cpio_usage(); 1254 /* 1255 * no read errors allowed on updates/append operation! 1256 */ 1257 maxflt = 0; 1258 while ((str = getline(stdin)) != NULL) { | 46 47#include <sys/types.h> 48#include <sys/stat.h> 49#include <sys/mtio.h> 50#include <stdio.h> 51#include <string.h> 52#include <errno.h> 53#include <unistd.h> --- 1197 unchanged lines hidden (view full) --- 1251 case APPND: 1252 if (*argv != NULL) 1253 cpio_usage(); 1254 /* 1255 * no read errors allowed on updates/append operation! 1256 */ 1257 maxflt = 0; 1258 while ((str = getline(stdin)) != NULL) { |
1259 ftree_add(str, NULL); | 1259 ftree_add(str, 0); |
1260 } 1261 if (getline_error) { 1262 paxwarn(1, "Problem while reading stdin"); 1263 cpio_usage(); 1264 } 1265 break; 1266 default: 1267 cpio_usage(); --- 318 unchanged lines hidden --- | 1260 } 1261 if (getline_error) { 1262 paxwarn(1, "Problem while reading stdin"); 1263 cpio_usage(); 1264 } 1265 break; 1266 default: 1267 cpio_usage(); --- 318 unchanged lines hidden --- |