Changeset 3b295e in git for Singular/fegetopt.c
- Timestamp:
- Sep 22, 1999, 5:42:13 PM (24 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 824241e0feb57039b89a14bd31a86a23e5a87032
- Parents:
- 2bb771a6d877e2842019e777594b5edfacafda1b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/fegetopt.c
r2bb771 r3b295e 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: fegetopt.c,v 1. 2 1999-09-22 10:19:04Singular Exp $ */4 /* $Id: fegetopt.c,v 1.3 1999-09-22 15:42:13 Singular Exp $ */ 5 5 6 6 /* Getopt for GNU. … … 306 306 argument, it follows the option name in the same ARGV-element, separated 307 307 from the option name by a `=', or else the in next ARGV-element. 308 When `getopt' finds a long-named option, it returns 0 if that option's 309 `flag' field is nonzero, the value of the option's `val' field 310 if the `flag' field is zero. 308 When `getopt' finds a long-named option, it returns 309 the value of the option's `val' field. 311 310 312 311 The elements of ARGV aren't really const, because we permute them. … … 541 540 if (longind != NULL) 542 541 *longind = option_index; 543 if (pfound->flag)544 {545 *(pfound->flag) = pfound->val;546 return 0;547 }548 542 return pfound->val; 549 543 }
Note: See TracChangeset
for help on using the changeset viewer.