Menu

#292 Listing files path incorrect on Linux

v211
open
japheth
None
5
2013-11-20
2013-11-11
No

It looks like jwasm incorrectly adjusts file path for listing file name generation:

$ ls -l ../src/pmm1.asm
-rw-r--r--. 1 tomek tomek 1284 08-02 14:37 ../src/pmm1.asm
$ jwasm -I../include -WX -Zne -Sa -Fl -Fopmm1.obj ../src/pmm1.asm
JWasm v2.11, Oct 20 2013, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

Error A2106: Cannot open file: "/pmm1.err" [13]
Fatal error A1106: Cannot open file: "/pmm1.lst" [13]

Note the '/' in listing and error file names.

The above command used to work in jwasm 2.10.

This happend under Scientific Linux 6.4 on x86_64.

Discussion

  • japheth

    japheth - 2013-11-15

    Confirmed. It's a bug in function _splitpath() in file apiemu.c.

    A modified version of this file is attached.

    If there're no further errors, I'll release a v2.11a - with this new version of apiemu.c.

     

    Last edit: japheth 2013-11-15
  • Tomasz Kępczyński

    JWasm211as.zip seems to fix the issue. Checked on ScientificLinux 6.4, compiled with Linux OpenWatcom 1.9.

     

Log in to post a comment.