DragonFly BSD
DragonFly users List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How to make INSTALLS_DEPENDS?


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 5 Apr 2005 09:09:55 +0200
Mail-followup-to: users@crater.dragonflybsd.org

On Tue, Apr 05, 2005 at 11:17:10AM +0900, YONETANI Tomokazu wrote:
> What's affected in make command is at the tail of the function
> MainParseArgs(). When it sees a flag in the "rest of the arguments",
> it sets optind to 0 and re-enter the getopt() loop. After that commit,
> setting optind to 0 is no different than setting it to 1 because getopt()
> sets it to 1 anyway.

Good goddess, WTF ?! That's the most stupid abuse of getopt I've ever seen.
I'll think about a correct fix for this.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]