|
|
| version 1.12, 2025/03/24 20:13:34 | version 1.13, 2025/03/24 20:15:09 |
|---|---|
| Line 24 | Line 24 |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | * $Log$ |
| * Revision 1.13 2025/03/24 20:15:09 snw | |
| * Set file permissions on freemd.exe on OS/2 in fmadm configure | |
| * | |
| * Revision 1.12 2025/03/24 20:13:34 snw | * Revision 1.12 2025/03/24 20:13:34 snw |
| * Set file permissions on freemd.exe on OS/2 in fmadm configure | * Set file permissions on freemd.exe on OS/2 in fmadm configure |
| * | * |
| Line 1160 void fm_configure (void) | Line 1163 void fm_configure (void) |
| unlink (dstfile); | unlink (dstfile); |
| fprintf (stderr, "fmadm: running on OS/2; will copy %s to %s\n", srcfile, dstfile); | fprintf (stderr, "fmadm: running on OS/2; will copy %s to %s\n", srcfile, dstfile); |
| chmod (dstfile, 0755); | |
| if (cp (dstfile, srcfile) != 0) { | if (cp (dstfile, srcfile) != 0) { |
| fprintf (stderr, "fmadm: fatal error copying %s to %s\n", srcfile, dstfile); | fprintf (stderr, "fmadm: fatal error copying %s to %s\n", srcfile, dstfile); |
| exit (1); | exit (1); |
| } | } |
| chmod (dstfile, 0755); | |
| } | } |
| #else | #else |
| fprintf (stderr, "fmadm: not running on OS/2\n"); | fprintf (stderr, "fmadm: not running on OS/2\n"); |