mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #994] [MERGED] [IMPROVEMENT] Don't add files with empty filename & show better msg for multiple input files. #1800
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/994
Author: @saurabhshri
Created: 7/17/2018
Status: ✅ Merged
Merged: 12/18/2018
Merged by: @cfsmp3
Base:
master← Head:blank-inp-filenames📝 Commits (1)
2dc5f4dDon't add files with empty filename. Also better message for multiple input files.📊 Changes
4 files changed (+6 additions, -3 deletions)
View changed files
📝
src/ccextractor.c(+1 -1)📝
src/lib_ccx/file_functions.c(+1 -1)📝
src/lib_ccx/params.c(+2 -0)📝
src/lib_ccx/params_dump.c(+2 -1)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
If CCExtractor is passed an empty argument, it tries to open it as a file. E.g.
ccextractor ""ORccextractor {file1} "" {file2}In case of multiple input files, if one or more failed to open, CCExtractor exists with the message
Failed to open input file: File does not exist.Since my second parameter was an empty filename""(came from an empty key in a script), I kept on thinking somehow "," is being appended to filename.It showed :
Input: filename,.With this PR:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.