Changeset e5165d2 in rtems-tools for linkers/rtems-ld.cpp


Ignore:
Timestamp:
Aug 9, 2014, 12:32:50 PM (5 years ago)
Author:
Peng Fan <Peng.Fan@…>
Branches:
4.10, 4.11, master
Children:
40fd7a0
Parents:
097f1fd
git-author:
Peng Fan <Peng.Fan@…> (08/09/14 12:32:50)
git-committer:
Chris Johns <chrisj@…> (08/31/14 23:59:01)
Message:

Fix getopt_long usage

When passing shorhand options, getopt_long sometimes does not handle
them correctly.

Signed-off-by: Peng Fan <Peng.Fan@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/rtems-ld.cpp

    r097f1fd re5165d2  
    200200    while (true)
    201201    {
    202       int opt = ::getopt_long (argc, argv, "hvwVMnb:E:o:O:L:l:a:c:e:d:u:C:W:R:P", rld_opts, NULL);
     202      int opt = ::getopt_long (argc, argv, "hvwVMnsSb:E:o:O:L:l:a:c:e:d:u:C:W:R:P:", rld_opts, NULL);
    203203      if (opt < 0)
    204204        break;
Note: See TracChangeset for help on using the changeset viewer.