Date: Wed Nov 6 04:21:00 CET 2002
User: Dan Kalowsky
Directory: srm/main
Log Message:
[0.01]
- Changing getopt from EOF to -1
#- According to the man pages, EOF is deprecated, and should be using the
#- -1 notation. Just keeping us consistent with the function
Modified files:
srm/main/main.c (version: 1.62)
[FILE: /srm/main/main.c]
--- srm/main/main.c:1.61 Sat Oct 19 10:30:01 2002 GMT
+++ srm/main/main.c Wed Nov 06 02:20:59 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.61 2002/10/19 12:30:01 derick Exp $ */
+/* $Id: cvstemp,v 1.62 2002/11/06 03:20:59 kalowsky Exp $ */
/* The contents of this file are subject to the Vulcan Logic Public
* License Version 1.1 (the "License"); you may not use this file
@@ -91,7 +91,7 @@
{
int arg;
- while ((arg = getopt (argc, argv, "hLSVX")) != EOF) {
+ while ((arg = getopt (argc, argv, "hLSVX")) != -1) {
switch (arg) {
case 'h':
srm_show_usage();
Received on Wed Nov 6 04:21:06 2002
This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 07:00:03 CET