FreeBSD Bugzilla – Attachment 5994 Details for
Bug 13900
[PATCH] sysinstall can get SIGPIPE if a distr. file is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.53 KB, created by
un1i
on 1999-09-22 20:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
un1i
Created:
1999-09-22 20:10:00 UTC
Size:
1.53 KB
patch
obsolete
>diff -ru sysinstall/dist.c sysinstall.new/dist.c >--- sysinstall/dist.c Mon Sep 20 10:55:35 1999 >+++ sysinstall.new/dist.c Wed Sep 22 20:47:26 1999 >@@ -717,7 +717,7 @@ > if (retval != n) { > fclose(fp); > dialog_clear_norefresh(); >- msgConfirm("Write failure on transfer! (wrote %d bytes of %d bytes)", retval, n); >+ msgConfirm("Write failure on transfer! (wrote %d bytes of %d bytes)\nMaybe one of the distribution files got damaged during transfer.", retval, n); > goto punt; > } > } >diff -ru sysinstall/main.c sysinstall.new/main.c >--- sysinstall/main.c Wed Sep 1 20:16:39 1999 >+++ sysinstall.new/main.c Wed Sep 22 20:34:01 1999 >@@ -56,6 +56,7 @@ > signal(SIGBUS, screech); > signal(SIGSEGV, screech); > } >+ signal(SIGPIPE, SIG_IGN); > > /* We don't work too well when running as non-root anymore */ > if (geteuid() != 0) { >Only in sysinstall.new: main.c.orig >diff -ru sysinstall/media.c sysinstall.new/media.c >--- sysinstall/media.c Thu Sep 2 14:13:06 1999 >+++ sysinstall.new/media.c Wed Sep 22 20:47:09 1999 >@@ -686,7 +686,7 @@ > break; > } > if (write(qfd[1], buf, i) != i) { >- msgConfirm("Write error on transfer to cpio process, try of %d bytes.", i); >+ msgConfirm("Write error on transfer to cpio process, try of %d bytes.\nMaybe one of the distribution files got damaged during transfer.", i); > break; > } > else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13900
: 5994