This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 152631 - NBI windows native launcher does not correctly create tempdir on UNC path
Summary: NBI windows native launcher does not correctly create tempdir on UNC path
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 09:15 UTC by dlipin
Modified: 2009-02-19 22:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dlipin 2008-11-07 09:16:41 UTC
To reproduce it pass tempdir via --tempdir \\<current-ip>\C$\temp

The issue is likely in line 227 of
http://hg.netbeans.org/main/file/tip/nbi/engine/native/launcher/windows/src/FileUtils.c

Most probably it should be changed to
if(ptr1==NULL && ptr2==NULL && dir!=wcsstr(dir, L"\\\\")) { //relative path
Comment 2 Quality Engineering 2008-11-08 04:29:58 UTC
Integrated into 'main-golden', will be available in build *200811080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9db65840a0d1
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #152631 NBI windows native launcher does not correctly create tempdir on UNC path