Changeset b4d6afd in rtems-libbsd


Ignore:
Timestamp:
Nov 12, 2013, 8:40:54 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 68e79b6d187fe09b0a6f3f1d22c69b4121a3f76e, freebsd-9.3, 33bfaee89aa71d2252eb48d6b9a9ec17183faced
Children:
b41556e
Parents:
760e894
git-author:
Sebastian Huber <sebastian.huber@…> (11/12/13 08:40:54)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/13/13 13:10:35)
Message:

commands: Use REQUIRE_ORDER option processing

Location:
freebsd
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sbin/ifconfig/ifconfig.c

    r760e894 rb4d6afd  
    215215
    216216        /* Parse leading line options */
     217#ifndef __rtems__
    217218        strlcpy(options, "adklmnuv", sizeof(options));
     219#else /* __rtems__ */
     220        strlcpy(options, "+adklmnuv", sizeof(options));
     221#endif /* __rtems__ */
    218222        for (p = opts; p != NULL; p = p->next)
    219223                strlcat(options, p->opt, sizeof(options));
  • freebsd/sbin/ping/ping.c

    r760e894 rb4d6afd  
    317317#define opterr getopt_data.opterr
    318318#define optopt getopt_data.optopt
    319 #define getopt(argc, argv, opt) getopt_r(argc, argv, opt, &getopt_data)
     319#define getopt(argc, argv, opt) getopt_r(argc, argv, "+" opt, &getopt_data)
    320320#endif /* __rtems__ */
    321321
  • freebsd/sbin/ping6/ping6.c

    r760e894 rb4d6afd  
    404404#define opterr getopt_data.opterr
    405405#define optopt getopt_data.optopt
    406 #define getopt(argc, argv, opt) getopt_r(argc, argv, opt, &getopt_data)
     406#define getopt(argc, argv, opt) getopt_r(argc, argv, "+" opt, &getopt_data)
    407407#endif /* __rtems__ */
    408408
  • freebsd/sbin/route/route.c

    r760e894 rb4d6afd  
    252252#define opterr getopt_data.opterr
    253253#define optopt getopt_data.optopt
    254 #define getopt(argc, argv, opt) getopt_r(argc, argv, opt, &getopt_data)
     254#define getopt(argc, argv, opt) getopt_r(argc, argv, "+" opt, &getopt_data)
    255255#endif /* __rtems__ */
    256256
  • freebsd/usr.bin/netstat/main.c

    r760e894 rb4d6afd  
    437437#define opterr getopt_data.opterr
    438438#define optopt getopt_data.optopt
    439 #define getopt(argc, argv, opt) getopt_r(argc, argv, opt, &getopt_data)
     439#define getopt(argc, argv, opt) getopt_r(argc, argv, "+" opt, &getopt_data)
    440440#endif /* __rtems__ */
    441441
Note: See TracChangeset for help on using the changeset viewer.