Issue 27914 - rsc.exe doesn't evaluate @file correctly
Summary: rsc.exe doesn't evaluate @file correctly
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 1.1.3
Assignee: hjs
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks: 24075
  Show dependency tree
 
Reported: 2004-04-17 02:18 UTC by quetschke
Modified: 2004-07-12 11:23 UTC (History)
2 users (show)

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


Attachments
Parameterfile (905 bytes, text/plain)
2004-04-17 02:24 UTC, quetschke
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2004-04-17 02:18:33 UTC
rsc fails to parse the (@file) parameterfile correctly when there are parameter
with spaces in it. See issue 24075.

The following attachment is the "rescued" tempfile from
Making: ../../../wntmsci9.pro/srs/iso.srs in offmgr/source/offapp/intro.

It is quite common that $USER or $USERNAME containes spaces, this breaks
rsc like this:

[admin@boxy2]/cygdrive/d/v1/cws_srx645_ooo112fix1/offmgr:{520}:
$ rsc @../rsc_atfile 
c:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\3: No such file or directory
cpp: line 0, Error: Can't open input file "c:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\3"
VCL Resource Compiler 3.0
Preprocessor commandline:  rscpp -I. -I. -I. -I..\inc -I..\..\..\inc
-I..\..\..\WIN\inc -I..\..\..\wntmsci8.pro\inc -I.
-Id:\v1\cws_srx645_ooo112fix1\solver\645\wntmsci8.pro\inc\stl
-Id:\v1\cws_srx645_ooo112fix1\solver\645\wntmsci8.pro\inc\external
-Id:\v1\cws_srx645_ooo112fix1\solver\645\wntmsci8.pro\inc
-Id:\v1\cws_srx645_ooo112fix1\solenv\wntmsci8\inc
-Id:\v1\cws_srx645_ooo112fix1\solenv\inc -Id:\v1\cws_srx645_ooo112fix1\res
-Id:\v1\cws_srx645_ooo112fix1\solver\645\wntmsci8.pro\inc\stl
-Ic:\j2sdk1.4.1_02\include\win32 -Ic:\j2sdk1.4.1_02\include
-Ic:\PROGRA~1\MICROS~2\include -Ic:\PROGRA~1\MICROS~1.NET\Vc7\include -I.
-I..\..\..\res -I. -DWNT -DNT351 -DMSC -DM1300 -DSUPD=645 -DSOLAR_JAVA
-DFULL_DESK -DPRODUCT -DPRODUCT_FULL -DNDEBUG -DOSL_DEBUG_LEVEL=0
-DOOO_VENDOR="adminad -DOOO_LICENSE="LGPL" -DUPDVER="645m37(Build;8769)"
-DUPDVER="645m37(Build;8769)" min" c:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\3
Error starting preprocessor
[admin@boxy2]/cygdrive/d/v1/cws_srx645_ooo112fix1/offmgr:{521}:
$ which rsc
/cygdrive/d/v1/cws_srx645_ooo112fix1/solver/645/wntmsci8.pro/bin/rsc
[admin@boxy2]/cygdrive/d/v1/cws_srx645_ooo112fix1/offmgr:{522}:


The error comes from -DOOO_VENDOR="adminad min"
Comment 1 quetschke 2004-04-17 02:24:32 UTC
Created attachment 14570 [details]
Parameterfile
Comment 2 christof.pintaske 2004-04-19 14:10:09 UTC
cp->pl: please have a look, it seems to create a lot of problems that are not so
trivial to track down
Comment 3 philipp.lohmann 2004-04-21 17:44:28 UTC
fixed in CWS vclppbugs4
Comment 4 philipp.lohmann 2004-04-21 17:45:16 UTC
adjusted platform, OS
Comment 5 philipp.lohmann 2004-04-21 17:47:53 UTC
pl->hjs: please verify in CWS vclppbugs4
Comment 6 philipp.lohmann 2004-04-23 12:59:01 UTC
fix merged in CWS vcl21 (for 2.0 tree)
Comment 7 hjs 2004-04-23 14:05:13 UTC
required to set verified...
Comment 8 hjs 2004-04-23 14:05:52 UTC
works fine here
Comment 9 philipp.lohmann 2004-04-30 16:02:17 UTC
target
Comment 10 hjs 2004-07-12 11:23:15 UTC
.