First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 11728
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Schlemmer (RETIRED) <azarah@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ian Brandt <ian@ianbrandt.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sdiff.c.diff patch to sdiff.c, removes waitpid() call after pclose() on piped diff stream patch D Wollmann 2003-01-08 03:27 0000 485 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 11728 depends on: Show dependency tree
Show dependency graph
Bug 11728 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-12-07 11:29 0000
Whenever I finish the last diff in an interactive merge during etc-update it 
prints

%r
sdiff: subsidiary program `/usr/bin/nano' failed
1) Replace /etc/make.conf with merged file

This doesn't seem to actually effect anything, and I can run /usr/bin/nano just 
fine.

------- Comment #1 From joseph 2002-12-10 23:58:12 0000 -------
I am having the same error:
  
 1. I re-installed nano, still the same outcome
 2. changed EDITOR=/bin/nano, outcome is the same.
 3. re-install lintool, same outcome

All this after a rsync and emerge -u world. 

------- Comment #2 From D Wollmann 2003-01-08 03:27:29 0000 -------
Created an attachment (id=7084) [edit]
patch to sdiff.c, removes waitpid() call after pclose() on piped diff stream

sdiff calls waitpid() after pclose() on the piped diff process stream. As I
read the pclose() documentation, pclose() waits for the child, so an explicit
waitpid() call after pclose() is probably returning -1 and setting errno to
ECHILD (just a guess).

------- Comment #3 From Voicu Liviu 2003-01-10 04:43:02 0000 -------
Worked, I suggest to gentoo team to add the patch to the diffutils :-)
This made my day.
Liviu ( D`Artagnan )

------- Comment #4 From Martin Holzer (RETIRED) 2003-01-18 07:50:59 0000 -------
azarah: please add this patch into diffutils

------- Comment #5 From Martin Schlemmer (RETIRED) 2003-01-19 18:47:11 0000 -------
Added to 2.8.4-r2, thanks.

------- Comment #6 From Martin Holzer (RETIRED) 2003-01-20 15:26:53 0000 -------
works fine

no more error

thx azarah

First Last Prev Next    No search results available      Search page      Enter new bug