Consultor Eletrônico



Kbase P141745: FILE-INFO:PATHNAME returning root directory instead of pathname in OpenEdge 10.1C02
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/1/2009
Status: Verified

SYMPTOM(s):

FILE-INFO:PATHNAME returning root directory instead of pathname in OpenEdge 10.1C02

FILE-INFO:FULL-PATHNAME returning root directory instead of full pathname in OpenEdge 10.1C02

FACT(s) (Environment):

Correct path to file is determined by searching PROPATH.
Correct path to file is specified in PROPATH using an absolute path specification.
Same code works correctly in OpenEdge 10.1C01 or earlier.
Same code works if the path is specified in PROPATH as relative to "." (the OpenEdge working directory).
File name is exactly two characters long.
Windows
OpenEdge 10.1C02 Service Pack

CAUSE:

Bug# OE00181523

CAUSE:

A null terminator is added to a two-character input string in the wrong location.

FIX:

Upgrade to OpenEdge 10.1C04 or 10.2A02.

If an upgrade is not possible, and if the application allows, use one of the following workarounds:

Choose a name for the file contains only one character, or three or more characters.
Place the file in the OpenEdge working directory or a descendent directory.
Specify an absolute path for the file when setting FILE-INFO:FILE-NAME in order to avoid searching PROPATH.