Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

馃崉 com.livecode.file: Add "command argument _ parsed as file" #3318

Open
wants to merge 7 commits into
base: develop
Choose a base branch
Loading
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[emscripten] Use MCSFileGetCurrentDirectory() in GetCurrentFolder().
Remove lots of unnecessary code.
  • Loading branch information
peter-b committed Nov 19, 2015
commit e35076882f78041659c554f23e8c2e5bc87184b3
4 changes: 4 additions & 0 deletions 4 engine/src/em-system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */

#include "osspec.h"

#include <foundation-system.h>

#include <fcntl.h>
#include <dirent.h>
#include <sys/stat.h>
Expand Down Expand Up @@ -351,6 +353,8 @@ MCEmscriptenSystem::ResolveAlias(MCStringRef p_target,
bool
MCEmscriptenSystem::GetCurrentFolder(MCStringRef & r_path)
{
return MCSFileGetCurrentDirectory(r_path);

/* FIXME use get_current_dir_name() once it's available in Emscripten's
* libc. */

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.