代码输出的patch文件无法合并

Open
#7 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, node.js
Domain
cli, tooling

Research direction

Reproduce the report with node-bsdiff using the stated Node v12.14.1 and bsdiff 4.3 environment, then compare its generated patch with one produced by the bsdiff command-line tool. Check the bsdiff/bspatch integration and confirm that the generated patch can be applied without the “Corrupt patch” error.

Written by the indexing model from the issue text.

Description

bsdiff: stable 4.3 (bottled)
node : v12.14.1

通过node-bsdiff包生成的buf,存储到path文件
通过 bsdiff命令行无法合并,报错为

bspatch: Corrupt patch

通过bsdiff命令行跟代码生成的patch大小一致。

Dominant language
C
Stars
9
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reactnativecn/node-bsdiff

All issues in reactnativecn/node-bsdiff

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.