~vcs-imports/busybox/trunk

  • Committer: Denys Vlasenko
  • Author(s): Ron Yorston
  • Date: 2024-09-27 19:29:05 UTC
  • Revision ID: git-v1:24aa93d5382f2365c35d6e804b748e0a1febf2f6
ash: reject unknown long options

Commit 64f70cc755 (Add --login support) added code in options()
to handle the bash-compatible '--login' option.  In doing so it
committed BusyBox ash to silently accepting all other long
options.

Restore compatibility with other ash variants by rejecting unknown
long options.

function                                             old     new   delta
options                                              589     624     +35

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Filename Latest Rev Last Changed Committer Comment Size
..
i386 6385 18 years ago Denis Vlasenko build system: fix for non-i386 builds Diff
sparc 14767 7 years ago Denys Vlasenko sparc: needs -fPIC Pinted out by Thomas Petazzoni Diff
sparc64 14767 7 years ago Denys Vlasenko sparc: needs -fPIC Pinted out by Thomas Petazzoni Diff
x86_64 16685 4 years ago Denys Vlasenko build system: combat gcc zealotry in data alignmen Diff