Skip to content

Windows path reports false success #165

Description

@DiyunZ

When CMOD receives a normal Windows absolute path using backslashes, it may fail to create the audio file but still print Build complete and exit with code 0.

This gives LASSIE and the user a false success result.

There are two separate defects:
CMOD/src/Main.cpp:79 searches only for /, not \.
CMOD/src/Piece-experimental.cpp:398 ignores the return value of AuWriter::write().
Fixing only the path handling is not enough: permission errors, invalid directories or disk failures could still be reported as successful builds.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions