logname.c (9b50d9027575220cb6dd09b3e62f03f511e908b8) logname.c (1c8af8787354e20c2b38cab5801698133ff8b403)
1/*-
2 * Copyright (c) 1991, 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

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

53int
54main(argc, argv)
55 int argc;
56 char *argv[];
57{
58 int ch;
59 char *p;
60
1/*-
2 * Copyright (c) 1991, 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

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

53int
54main(argc, argv)
55 int argc;
56 char *argv[];
57{
58 int ch;
59 char *p;
60
61 while ((ch = getopt(argc, argv, "")) != EOF)
61 while ((ch = getopt(argc, argv, "")) != -1)
62 switch (ch) {
63 case '?':
64 default:
65 usage();
66 }
67 argc -= optind;
68 argv += optind;
69

--- 12 unchanged lines hidden ---
62 switch (ch) {
63 case '?':
64 default:
65 usage();
66 }
67 argc -= optind;
68 argv += optind;
69

--- 12 unchanged lines hidden ---