Line 1... |
Line 1... |
1 |
/* This file is part of the SvarCOM project and is published under the terms
|
1 |
/* This file is part of the SvarCOM project and is published under the terms
|
2 |
* of the MIT license.
|
2 |
* of the MIT license.
|
3 |
*
|
3 |
*
|
4 |
* Copyright (C) 2021-2022 Mateusz Viste
|
4 |
* Copyright (C) 2021-2024 Mateusz Viste
|
5 |
*
|
5 |
*
|
6 |
* Permission is hereby granted, free of charge, to any person obtaining a
|
6 |
* Permission is hereby granted, free of charge, to any person obtaining a
|
7 |
* copy of this software and associated documentation files (the "Software"),
|
7 |
* copy of this software and associated documentation files (the "Software"),
|
8 |
* to deal in the Software without restriction, including without limitation
|
8 |
* to deal in the Software without restriction, including without limitation
|
9 |
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
9 |
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
Line 113... |
Line 113... |
113 |
if (buff2[i] == '?') buff2[i] = buff1[i];
|
113 |
if (buff2[i] == '?') buff2[i] = buff1[i];
|
114 |
}
|
114 |
}
|
115 |
|
115 |
|
116 |
/* fill buff1 with the 8+3 found file and convert the one in buff2 to 8+3 as well */
|
116 |
/* fill buff1 with the 8+3 found file and convert the one in buff2 to 8+3 as well */
|
117 |
file_fcb2fname(buff1 + fnameoffset, buff2 + fnameoffset);
|
117 |
file_fcb2fname(buff1 + fnameoffset, buff2 + fnameoffset);
|
118 |
strcpy(buff2 + fnameoffset, buff1 + fnameoffset);
|
118 |
sv_strcpy(buff2 + fnameoffset, buff1 + fnameoffset);
|
119 |
strcpy(buff1 + fnameoffset, dta->fname);
|
119 |
sv_strcpy(buff1 + fnameoffset, dta->fname);
|
120 |
|
120 |
|
121 |
/* buff1 contains now a fully resolved source and buff2 a proper destination */
|
121 |
/* buff1 contains now a fully resolved source and buff2 a proper destination */
|
122 |
#if 0 /* DEBUG ("if 1" to enable) */
|
122 |
#if 0 /* DEBUG ("if 1" to enable) */
|
123 |
output(buff1);
|
123 |
output(buff1);
|
124 |
output(" -> ");
|
124 |
output(" -> ");
|