Opened 15 years ago

Closed 15 years ago

#16 closed enhancement (fixed)

Allows dot as valid char for dll names

Reported by: Yuri Dario Owned by: bird
Priority: normal Milestone: libc-0.6
Component: emx Version: 0.6
Severity: normal Keywords: def emxbind weakld


The .def library parser doesn't allow dots inside names for DLL.

This patch will enable it:

Index: moddef2.c
RCS file: /netlabs.cvs/libc/src/emx/src/libmoddef/moddef2.c,v
retrieving revision
diff -r1.1.1.2 moddef2.c
>       if (token == _MD_dot)
>         {
>           _strcat(, ".");
>           token = _md_next_token (md);
>           _strcat (, _md_get_string (md));
>           token = _md_next_token (md);
>         }

Change History (3)

comment:1 Changed 15 years ago by bird

The patch is not addressing the problem correctly. What if you have more than one '.' in the name?

comment:2 Changed 15 years ago by bird

Component: libcemx
Keywords: def emxbind weakld added
Milestone: libc-0.6
Severity: normalenhancement
Version: 0.6

I've made an attempt to fix this properly ( Btw. you could simply have quoted the name...

comment:3 Changed 15 years ago by bird

Resolution: fixed
Status: newclosed

This works fine with emxomfld. In the a.out world, the .def-file is not respected and the -o argument is used to determin the internal name.

Note: See TracTickets for help on using tickets.