Skip to content

Resolve paths before comparing input/output destination#2878

Merged
lovell merged 1 commit intolovell:masterfrom
rexxars:fix/improve-input-output-filename-matching
Sep 6, 2021
Merged

Resolve paths before comparing input/output destination#2878
lovell merged 1 commit intolovell:masterfrom
rexxars:fix/improve-input-output-filename-matching

Conversation

@rexxars
Copy link
Copy Markdown
Contributor

@rexxars rexxars commented Sep 6, 2021

This fixes an issue where if you try to write to the same destination as the input file but you are not using absolute (or the same relative path) for both the input and output, sharp/vips might produce errors such as:

someFile.jpg: unable to open for write
unix error: No such file or directory

Fixes #2873

This fixes an issue where if you try to write to the same destination as the
input file but you are not using absolute (or the same relative path) for both
the input and output, sharp/vips might produce errors such as:

```
someFile.jpg: unable to open for write
unix error: No such file or directory
```

Fixes #2873
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 71273ad on rexxars:fix/improve-input-output-filename-matching into afb2113 on lovell:master.

@lovell lovell merged commit 52307fa into lovell:master Sep 6, 2021
@lovell
Copy link
Copy Markdown
Owner

lovell commented Sep 6, 2021

Thank you!

@lovell lovell added this to the v0.29.1 milestone Sep 6, 2021
lovell added a commit that referenced this pull request Sep 6, 2021
@rexxars rexxars deleted the fix/improve-input-output-filename-matching branch September 7, 2021 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants