Browsing this Thread:
1 Anonymous Users
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
It's worse ![]() dir "ram:" " prints the content of the current directory. I'll open a ticket on the bug tracker.
Posted on: 2013/4/17 18:07
|
|||
|
AROS - Make code, not war :knuddel:
|
||||
|
||||
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
Surely mismatched quotes shouldn't be ignored (if that's still what were talking about).
Posted on: 2013/4/17 17:50
|
|||
|
||||
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
No problem Mazze, i'm not in a hurry
![]() I leave the topic for now then, until status becomes more clear. Since it's a minor issue (in the grand scheme of things) i thought perhaps it's not so important (and given your request for a bit more streamlining in the bug-forum). thank you for the input
Posted on: 2013/4/16 20:17
|
|||
|
||||
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Wait, maybe we can backport the Shell to ABIv0.
Posted on: 2013/4/16 19:46
|
|||
|
AROS - Make code, not war :knuddel:
|
||||
|
||||
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Quote:
mazze wrote: Although the silent treatment could be expected behaviour for AROS (i honestly can't tell), do i still need to expect classic behaviour ? (WB 40.42: "argument line invalid or too long") If the silent behaviour is expected, can i then assume there is no need for addressing it for v0 ? iow can i change the topic to solved or won't fix already ?
Posted on: 2013/4/16 18:59
|
|||
|
||||
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
It works under ABIv1 (no error message, the " is silently ignored)
Posted on: 2013/4/16 18:30
|
|||
|
AROS - Make code, not war :knuddel:
|
||||
|
||||
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Just some additional information
when doing: dir____| it shows (more or less) the correct error: ____r____|: argument line invalid or too long
Posted on: 2013/4/16 10:33
|
|||
|
||||
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Ah, always nice to see a debug log.
![]() it can tell so much more, although i have no idea what error 100 means in this context :S btw: there are more commands giving the same result. Maybe those conditions what are displayed by debuglog could be used to tell it's a "argument line invalid or too long" ? Forgive my ignorance on the subject if it is completly wrong. BTW: using a single quote also brings some interresting sideeffects ![]() - "Dir '" (without double qoutes), does more or less as expected, but list (space space space singlequote) does something wierd (object not found), so it seems that is not directly related to shell but an per command feature ? There must be more of thouse 'hidden' features ![]() thx again o1i, RED: hmz, interresting when people post at exactly the same time ![]() Indeed that stuff looks scary nice you were able to confirm what i more or less suspected, a faulty error print/formatting routine. I do hope that's all to it....
Posted on: 2013/4/16 10:06
|
|||
|
||||
|
Re: Parameter handling error
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Seems like just the wrong error message is printed, it calls
PrintFault(result, filtered.CS_Buffer); with a not valid buffer. Should just be: PutStr("argument line invalid or too long\n"); But I won't mess around with the shell code, this stuff looks scary ..
Posted on: 2013/4/16 10:06
|
|||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.







