emscripten-core/emscripten

exception not thrown when truncating filenames longer than 255 char

Open

#12,076 opened on Aug 28, 2020

View on GitHub
 (8 comments) (0 reactions) (0 assignees)C++ (3,519 forks)batch import
filesystemgood first bughelp wanted

Repository metrics

Stars
 (27,361 stars)
PR merge metrics
 (Avg merge 19d 10h) (147 merged PRs in 30d)

Description

When files with a filename greater than 255 characters is being created, it is truncated, but does not throw an exception that other systems throw.

Expectation: File is truncated and created with an exception thrown.

Contributor guide