unixclient does not honor standard options

Bug #1899279 reported by Ben Franksen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ucspi-unix (Ubuntu)
New
Undecided
Unassigned

Bug Description

The help and man page say, and the UCSPI standard mandates, that the options -q. -Q, and -v should be supported. This is not the case: options are treated as normal arguments. This means that if you pass any options the program doesn't work as it should.

A patch that fixes this bug is attached. It also fixes the help output which wrongly lists the -c option (which is also not honored and doesn't make sense for a client anyway).

Tags: patch
Revision history for this message
Ben Franksen (bfrk) wrote :
Revision history for this message
Ben Franksen (bfrk) wrote :

Here is an amended patch that suppresses error messages when the -q option is in effect, as mandated by the UCSPI standard.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fix1.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Ben Franksen (bfrk) wrote :

Yet another update of my patch. It now also removes description of the defunct -c option from the man page for unixclient.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers