Silly question, but is HTTP_DEBUG_FILE defined as a fixed-length character field or a varying field? Based on what I see, it should be varying.

On 12/1/2019 4:36 PM, Don Brown via MIDRANGE-L wrote:
I just ran the process in debug and verified the unlink process was being
executed and the path/filename were correct but the file still existed
after that.

Since then I have now run from IFSEBOOK CH3RENDEL which did successfully
delete the file and it uses exactly the same method.

I am really confused now.

In httpapi the file name is trimmed into the variable passed to unlink eg

eval HTTP_DEBUG_FILE = %trimr(peFilename)
callp unlink(HTTP_DEBUG_FILE)

Whereas in CH3RENDEL

unlink(%trimr(path)) < 0

But that should not make any difference ?

I am obviously missing something :-(

Thanks


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.