14 Star 0 Fork 12

src-openEuler/diffutils

三个文件内容不同时,diff3 -X 和diff -x 输出结果一致,不符合预期

已完成
缺陷
创建于  
2022-02-26 09:22

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
三个文件内容不同时,diff3 -X 和diff -x 输出结果一致,不符合预期
【环境信息】
虚拟机
输入图片说明
【问题复现步骤】
执行如下代码复现

 echo '12345' > test1
 echo '!!!!' > test2
 echo 'asdzxr' > test3
 ls
 diff3 test1 test2 test3 -X
 diff3 test1 test2 test3 -x
 cat test*

【预期结果】
输入图片说明
【实际结果】
输入图片说明
【附件信息】

评论 (5)

likechiguoguo 创建了缺陷 3年前

Hi likechiguoguo, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @yanan-rock , @miao_kaibo , @openeuler-basic , @overweight , @xiezhipeng1 , @zhuchunyi , @zhujianwei001 , @pecs , @licihua , @hanxinke

openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
ltx 里程碑设置为openEuler-22.03-LTS-round-2 3年前
ltx 负责人设置为陈亚强 3年前
  1. 调查分析,高版本存在代码重构,并修复数据溢出问题
    https://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=4c92a42eb832cecaa1fa27946ca28e896e0fa1d6
  2. 由于上述补丁社区在高版本的引入导致了本地问题的发生,评估溢出问题带来影响较大,因此对该补丁暂不进行回退
  3. 缓解方案: 目前高版本使用diff3 -X 可以使用 diff3 -E 进行替换使用
Linux_zhang 任务状态待办的 修改为已挂起 3年前

非阻塞问题,同意当前挂起,330出口前需要解决

DisNight 任务状态已挂起 修改为修复中 3年前

请在2203 版本中持续跟进

陈亚强 添加协作者陈亚强 3年前
陈亚强 负责人陈亚强 修改为Mingtai 3年前
Mingtai 添加协作者Mingtai 3年前
Mingtai 负责人Mingtai 修改为Linux_zhang 3年前
Mingtai 取消协作者Mingtai 3年前
陈亚强 任务状态修复中 修改为已挂起 3年前

登录 后才可以发表评论

状态
负责人
项目
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
里程碑
分支
参与者(7)
5329419 openeuler ci bot 1632792936 Linux_zhang-Linux_zhang2024 Apricity-zengwefeng 7855185 disnight 1610595684 Monday-licihua likechiguoguo-likechiguoguo 5603730 yaqiangchen 1607954772
1
https://gitee.com/src-openeuler/diffutils.git
git@gitee.com:src-openeuler/diffutils.git
src-openeuler
diffutils
diffutils

搜索帮助