#11582: BRoster::Launch() mistakenly returns B_OK
------------------------------------+----------------------------
Reporter: ttcoder | Owner: axeld
Type: bug | Status: closed
Priority: normal | Milestone: R1
Component: Kits/Application Kit | Version: R1/Development
Resolution: not reproducible | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
------------------------------------+----------------------------
Changes (by ttcoder):
* status: new => closed
* resolution: => not reproducible
Comment:
I'm seeing the same thing in hrev52750 (so before the putative fix/tweak I
mentionned), which is odd -- maybe I was using a very very old hrev to
reproduce that bug, or is there something else at play.
Anyway that makes this ticket "not reproducible" I'd say.
{{{
/boot/system/cache/tmp/Nouveau dossier> gcc prog.cpp
prog.cpp: In function 'int main(int, char**)':
prog.cpp:9:17: error: 'strerror' was not declared in this scope
printf("%s\n", strerror(be_roster->Launch(&ref)));
^~~~~~~~
prog.cpp:9:17: note: suggested alternative: 'perror'
printf("%s\n", strerror(be_roster->Launch(&ref)));
^~~~~~~~
perror
/boot/system/cache/tmp/Nouveau dossier> uname -a
Haiku shredder 1 hrev52750 Jan 12 2019 05:04:08 x86_64 x86_64 Haiku
/boot/system/cache/tmp/Nouveau dossier> gcc -lbe prog.cpp
/boot/system/cache/tmp/Nouveau dossier> ./a.out
No such file or directory
No such file or directory
No such file or directory
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/11582#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.