Deleted Added
full compact
dbtest.c (165903) dbtest.c (176380)
1/*-
2 * Copyright (c) 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 23 unchanged lines hidden (view full) ---

32"@(#) Copyright (c) 1992, 1993, 1994\n\
33 The Regents of the University of California. All rights reserved.\n";
34#endif /* not lint */
35
36#if defined(LIBC_SCCS) && !defined(lint)
37static char sccsid[] = "@(#)dbtest.c 8.17 (Berkeley) 9/1/94";
38#endif /* LIBC_SCCS and not lint */
39#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 23 unchanged lines hidden (view full) ---

32"@(#) Copyright (c) 1992, 1993, 1994\n\
33 The Regents of the University of California. All rights reserved.\n";
34#endif /* not lint */
35
36#if defined(LIBC_SCCS) && !defined(lint)
37static char sccsid[] = "@(#)dbtest.c 8.17 (Berkeley) 9/1/94";
38#endif /* LIBC_SCCS and not lint */
39#include <sys/cdefs.h>
40__FBSDID("$FreeBSD: head/lib/libc/db/test/dbtest.c 165903 2007-01-09 00:28:16Z imp $");
40__FBSDID("$FreeBSD: head/lib/libc/db/test/dbtest.c 176380 2008-02-18 03:19:25Z kevlo $");
41
42#include <sys/param.h>
43#include <sys/stat.h>
44
45#include <ctype.h>
46#include <errno.h>
47#include <fcntl.h>
48#include <limits.h>

--- 45 unchanged lines hidden (view full) ---

94 size_t len;
95 int ch, oflags, sflag;
96 char *fname, *infoarg, *p, *t, buf[8 * 1024];
97
98 infoarg = NULL;
99 fname = NULL;
100 oflags = O_CREAT | O_RDWR;
101 sflag = 0;
41
42#include <sys/param.h>
43#include <sys/stat.h>
44
45#include <ctype.h>
46#include <errno.h>
47#include <fcntl.h>
48#include <limits.h>

--- 45 unchanged lines hidden (view full) ---

94 size_t len;
95 int ch, oflags, sflag;
96 char *fname, *infoarg, *p, *t, buf[8 * 1024];
97
98 infoarg = NULL;
99 fname = NULL;
100 oflags = O_CREAT | O_RDWR;
101 sflag = 0;
102 while ((ch = getopt(argc, argv, "f:i:lo:s")) != EOF)
102 while ((ch = getopt(argc, argv, "f:i:lo:s")) != -1)
103 switch (ch) {
104 case 'f':
105 fname = optarg;
106 break;
107 case 'i':
108 infoarg = optarg;
109 break;
110 case 'l':

--- 628 unchanged lines hidden ---
103 switch (ch) {
104 case 'f':
105 fname = optarg;
106 break;
107 case 'i':
108 infoarg = optarg;
109 break;
110 case 'l':

--- 628 unchanged lines hidden ---