@@ -60,12 +60,12 @@ protected void addStack(int stack, Vector args) {
60
60
protected void addEntry (String entry , Vector args ) {
61
61
}
62
62
63
- protected String getCommandFileSwitch (String cmdFile ) {
64
- //
65
- // tlib requires quotes around paths containing -
66
- // ilink32 doesn't like them
67
- StringBuffer buf = new StringBuffer ("@" );
68
- BorlandProcessor .quoteFile (buf , cmdFile );
63
+ protected String getCommandFileSwitch (String cmdFile ) {
64
+ //
65
+ // tlib requires quotes around paths containing -
66
+ // ilink32 doesn't like them
67
+ StringBuffer buf = new StringBuffer ("@" );
68
+ BorlandProcessor .quoteFile (buf , cmdFile );
69
69
return buf .toString ();
70
70
}
71
71
public File [] getLibraryPath () {
@@ -100,12 +100,12 @@ public String getIdentifier() {
100
100
/**
101
101
* Prepares argument list for exec command.
102
102
*
103
- * @param outputFile
104
- * linker output file
103
+ * @param outputDir linker output directory
104
+ * @param outputName linker output name
105
105
* @param sourceFiles
106
106
* linker input files (.obj, .o, .res)
107
- * @param args
108
- * linker arguments
107
+ * @param config
108
+ * linker configuration
109
109
* @return arguments for runTask
110
110
*/
111
111
protected String [] prepareArguments (
@@ -182,8 +182,8 @@ protected String[] prepareArguments(
182
182
protected String [] prepareResponseFile (File outputFile , String [] args )
183
183
throws IOException {
184
184
String [] cmdargs = BorlandProcessor .prepareResponseFile (outputFile , args , " & \n " );
185
- cmdargs [cmdargs .length - 1 ] = getCommandFileSwitch (cmdargs [cmdargs .length -1 ]);
186
- return cmdargs ;
185
+ cmdargs [cmdargs .length - 1 ] = getCommandFileSwitch (cmdargs [cmdargs .length -1 ]);
186
+ return cmdargs ;
187
187
}
188
188
189
189
/**
@@ -203,17 +203,17 @@ public void link(CCTask task,
203
203
// build a new library
204
204
super .link (task , outputFile , sourceFiles , config );
205
205
}
206
-
207
- /**
208
- * Encloses problematic file names within quotes.
209
- * @param buf string buffer
210
- * @param filename source file name
211
- * @returns filename potentially enclosed in quotes.
212
- */
213
- protected String quoteFilename (StringBuffer buf ,String filename ) {
214
- buf .setLength (0 );
215
- BorlandProcessor .quoteFile (buf , filename );
216
- return buf .toString ();
217
- }
206
+
207
+ /**
208
+ * Encloses problematic file names within quotes.
209
+ * @param buf string buffer
210
+ * @param filename source file name
211
+ * @return filename potentially enclosed in quotes.
212
+ */
213
+ protected String quoteFilename (StringBuffer buf ,String filename ) {
214
+ buf .setLength (0 );
215
+ BorlandProcessor .quoteFile (buf , filename );
216
+ return buf .toString ();
217
+ }
218
218
219
219
}
0 commit comments