mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-27 07:44:09 +02:00
Change // to /* comments for Turbo C compatibility.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1565 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
0760d51339
commit
e7a2632158
@ -626,9 +626,9 @@ void initOptions(int argc, char *argv[], SYSOptions *opts)
|
|||||||
if both 1st arg and 2nd are not drives then invalid arguments
|
if both 1st arg and 2nd are not drives then invalid arguments
|
||||||
if both 1st arg and 2nd are drives then assume [source] dest form (use ./X form is single letter used)
|
if both 1st arg and 2nd are drives then assume [source] dest form (use ./X form is single letter used)
|
||||||
*/
|
*/
|
||||||
if (!argv[drivearg][1] || (argv[drivearg][1]==':' && !argv[drivearg][2])) // if 1st arg drive
|
if (!argv[drivearg][1] || (argv[drivearg][1]==':' && !argv[drivearg][2])) /* if 1st arg drive */
|
||||||
{
|
{
|
||||||
if (!argv[argno][1] || (argv[argno][1]==':' && !argv[argno][2])) // if 2nd arg drive
|
if (!argv[argno][1] || (argv[argno][1]==':' && !argv[argno][2])) /* if 2nd arg drive */
|
||||||
{
|
{
|
||||||
srcarg = drivearg; /* set source path */
|
srcarg = drivearg; /* set source path */
|
||||||
drivearg = argno; /* set destination drive */
|
drivearg = argno; /* set destination drive */
|
||||||
@ -640,7 +640,7 @@ void initOptions(int argc, char *argv[], SYSOptions *opts)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!argv[argno][1] || (argv[argno][1]==':' && !argv[argno][2])) // if 2nd arg drive
|
if (!argv[argno][1] || (argv[argno][1]==':' && !argv[argno][2])) /* if 2nd arg drive */
|
||||||
{
|
{
|
||||||
srcarg = drivearg; /* set source path */
|
srcarg = drivearg; /* set source path */
|
||||||
drivearg = argno; /* set destination drive */
|
drivearg = argno; /* set destination drive */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user