Bug report

Fernando Sáenz Pérez <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
Dear Daniel.

I think the following is a bug (both in versions 1.3.0 and 1.2.16):

- The type of machine you are using (use uname -a under Unix).

Pentium IV

- GNU Prolog version (use gprolog --version).

1.3.0 and 1.2.16

- The operands given to the `configure' and the output of the
configuration if the bug concerns the compilation/installation phase.

Not applies.

- The complete text of any files needed to reproduce the bug. Try
to obtain a minimal example showing the bug.

Not needed.

- The precise commands we need to type to reproduce the bug.

| ?- working_directory(X), decompose_file_name(X,D,P,S).

D = ''

P = 'C:\\fernan\\research\\BDDEDUC\\DES\\DES1.2'

S = '.0'

X = 'C:\\fernan\\research\\BDDEDUC\\DES\\DES1.2.0'

yes

- A description of what behavior you observe that you believe is
incorrect.

The correct behaviour should be:

D = 'C:\\fernan\\research\\BDDEDUC\\DES'

P = 'DES1.2'

S = '.0'

X = 'C:\\fernan\\research\\BDDEDUC\\DES\\DES1.2.0'

- If you wish to mention something in the GNU Prolog source, show
the line of code with a few lines of context. Do not just give a line
number.

Not applies.

I guess the unexpected behaviour is because Windows uses '\' instead of
'/'.

Kind regards.
Fernando

==============================================================
Fernando Sáenz Pérez
Profesor Titular de Universidad / Associate Professor
Home Page: http://www.ucm.es/info/dsip/directorio/FSP/
Tel: + 34 913947642. Fax: + 34 913947529
Despacho / Office: 435 (4ª planta / 4th floor)
Dept. Ingeniería del Software e Inteligencia Artificial /
Department of Software Engineering and Artificial Intelligence
Universidad Complutense de Madrid
Facultad de Informática
C/Profesor José García Santesmases, s/n
E - 28040 Madrid. Spain
==============================================================

_______________________________________________
Bug-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.