Opened 12 years ago

Closed 12 years ago

#533 closed defect (fixed)

CommandLine parse(argc, argv) gives bus error if I I have no write privileges to the result directory

Reported by: Jari Häkkinen Owned by: Peter
Priority: major Milestone: yat 0.5.3
Component: utility Version: 0.5.2
Keywords: Cc:

Description

In the first example I try to create a file in a directory not owned by me, in the second example the result is written to stdout.

> yat-config --version
0.5.3pre
> qQN --assay-data assay.data --in-data qQN_in.data --out-data qQN_out2.data
Bus error
> qQN --assay-data assay.data --in-data qQN_in.data
 ... Ok, result printed to stdout ...

I am running mac os x 10.5.x

Change History (3)

comment:1 Changed 12 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newassigned

I assume "out-data" refers to an OptionFile. How do you construct that object?

comment:2 in reply to:  1 Changed 12 years ago by Jari Häkkinen

Replying to peter:

I assume "out-data" refers to an OptionFile. How do you construct that object?

See http://baseplugins.thep.lu.se/browser/plugins/base2/net.sf.basedb.normalizers/trunk/src/c%2B%2B/bin/qQN.cc#L54

comment:3 Changed 12 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1913]) fixes #533

Note: See TracTickets for help on using tickets.