summaryrefslogtreecommitdiffstats
path: root/src/core/getopt.c
Commit message (Collapse)AuthorAgeFilesLines
* [legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown2015-03-021-1/+5
| | | | | | | | | | | | | | | Relicence files with kind permission from the following contributors: Alex Williamson <alex.williamson@redhat.com> Eduardo Habkost <ehabkost@redhat.com> Greg Jednaszewski <jednaszewski@gmail.com> H. Peter Anvin <hpa@zytor.com> Marin Hannache <git@mareo.fr> Robin Smidsrød <robin@smidsrod.no> Shao Miller <sha0.miller@gmail.com> Thomas Horsten <thomas@horsten.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Update FSF mailing address in GPL licence textsMichael Brown2012-07-201-1/+2
| | | | | Suggested-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [getopt] Accept "--" as an end-of-options markerMarin Hannache2011-11-021-0/+5
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-191-1/+1
|
* Do not go past the end of the argv[] array.Michael Brown2007-01-141-0/+4
| | | | This bug found by setting read and write watchpoints at NULL in bochs.
* Use common symbols to avoid dragging in getopt.o unless a getopt-usingMichael Brown2006-12-191-18/+5Star
| | | | command is linked in.
* Added a functional version of getopt() and getopt_long(), ready for useMichael Brown2006-12-071-0/+280
in our commands.