biff.c (9b50d9027575220cb6dd09b3e62f03f511e908b8) | biff.c (1c8af8787354e20c2b38cab5801698133ff8b403) |
---|---|
1/* 2 * Copyright (c) 1980, 1993 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 --- 47 unchanged lines hidden (view full) --- 56 int argc; 57 char *argv[]; 58{ 59 struct stat sb; 60 int ch; 61 char *name; 62 63 | 1/* 2 * Copyright (c) 1980, 1993 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 --- 47 unchanged lines hidden (view full) --- 56 int argc; 57 char *argv[]; 58{ 59 struct stat sb; 60 int ch; 61 char *name; 62 63 |
64 while ((ch = getopt(argc, argv, "")) != EOF) | 64 while ((ch = getopt(argc, argv, "")) != -1) |
65 switch(ch) { 66 case '?': 67 default: 68 usage(); 69 } 70 argc -= optind; 71 argv += optind; 72 --- 42 unchanged lines hidden --- | 65 switch(ch) { 66 case '?': 67 default: 68 usage(); 69 } 70 argc -= optind; 71 argv += optind; 72 --- 42 unchanged lines hidden --- |