1. join_path misbehaviour on Windows
- Posted by axtens_bruce in March
- 500 views
In the context of
Euphoria Interpreter v4.2.0 release 64-bit Windows, Using System Memory Revision Date: 2024-01-19 Id: f24f7211dcc0b65b7824f24188b86cc88fb0b05eI'm having an interesting time with join_path. I'm on Windows but the function is acting like it's on Linux.
sequence userprofile = getenv("USERPROFILE") puts(1, userprofile & "\n") sequence root = join_path({userprofile,".task"}) puts(1, root & "\n")
C:\Users\bugma \C:\Users\bugma\.taskSo what's with the leading backslash?
-Bruce
2. Re: join_path misbehaviour on Windows
- Posted by axtens_bruce in March
- 448 views
So I'm working around it with
sequence userprofile = {} ifdef WINDOWS then userprofile = getenv("USERPROFILE") elsedef userprofile = getenv("HOME") end ifdef sequence root = join_path({userprofile,".task"}) ifdef WINDOWS then root = trim_head(root, "\\") end ifdef
3. Re: join_path misbehaviour on Windows
- Posted by mitgedanken in March
- 404 views
Please file a bug report. (https://openeuphoria.org/ticket/index.wc).
4. Re: join_path misbehaviour on Windows
- Posted by axtens_bruce in March
- 404 views
Please file a bug report. (https://openeuphoria.org/ticket/index.wc).
What goes in the id field in the top right? I don't know what to put there and I get an error if I leave it blank.
-Bruce
5. Re: join_path misbehaviour on Windows
- Posted by mitgedanken in March
- 339 views
Please file a bug report. (https://openeuphoria.org/ticket/index.wc).
What goes in the id field in the top right? I don't know what to put there and I get an error if I leave it blank.
-Bruce
- That's not your fault.
- The ticket <form> is broken.
- Edit the hidden input field to 34 (ghaberek)
-
If it fails rename it from 'id' to 'assigned_to_id'
(I tried both and I don't know which is correct.)
-
- Edit the hidden input field to 34 (ghaberek)
Forked into: [Web:BUG] Ticket-Form is broken!
6. Re: join_path misbehaviour on Windows
- Posted by mitgedanken in March
- 335 views
What goes in the id field in the top right? I don't know what to put there and I get an error if I leave it blank.
-Bruce
I forgot to mention something: The input field on the right has nothing to do with the ticket form.