Issue 19849 - setup returns 0 if it fails...
Summary: setup returns 0 if it fails...
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-20 21:34 UTC by rene
Modified: 2004-01-28 09:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rene 2003-09-20 21:34:06 UTC
Hi,

while looking while setup does not work after building openoffice.org
in a chroot on a Debian machine I found the following in
setup2/mow/source/loader/loader.c:

    if( !__getFullPath(progname, strAbsBinaryName, __MAX_PATH) )
    {
        fprintf( stderr, "%s: absolute programpath cannot be found.\n", progname );
        exit(0);
    }

This is an error, so it should not return 0 which is a signal for being
successful...
Comment 1 Olaf Felka 2003-09-22 08:49:30 UTC
Hi Dirk,
please have a look.
Comment 2 dirk.voelzke 2003-09-22 10:31:06 UTC
I'll have a look.
Comment 3 dirk.voelzke 2003-09-22 12:08:41 UTC
.
Comment 4 dirk.voelzke 2003-10-22 11:58:04 UTC
fixed in CWS SRX645 setuppp01
Comment 5 dirk.voelzke 2003-10-27 15:33:55 UTC
Please verify.
Comment 6 Olaf Felka 2003-10-28 11:41:20 UTC
The fix is in loader.c.
Comment 7 Olaf Felka 2003-10-28 11:41:59 UTC
Verified in CWS SRX645 setuppp01.
Comment 8 Olaf Felka 2004-01-28 09:43:57 UTC
Ok in srx45m27.