Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 44644 Details for
Bug 72359
rcp segmentation fault and not print error messages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
netkit-rsh-rcp-va_bug.patch (text/plain), 569 bytes, created by
Bash
on 2004-11-24 08:53:10 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Bash
Created:
2004-11-24 08:53:10 UTC
Size:
569 bytes
patch
obsolete
>--- netkit-rsh-0.17/rcp/rcp.c.org 2004-11-24 19:15:02.000000000 +0300 >+++ netkit-rsh-0.17/rcp/rcp.c 2004-11-24 19:22:47.000000000 +0300 >@@ -877,17 +877,22 @@ error(const char *fmt, ...) > static FILE *fp; > va_list ap; > >- va_start(ap, fmt); >- > ++errs; > if (!fp && !(fp = fdopen(rem, "w"))) > return; >+ >+ va_start(ap, fmt); > fprintf(fp, "%c", 0x01); > vfprintf(fp, fmt, ap); > fflush(fp); >- if (!iamremote) vfprintf(stderr, fmt, ap); >- > va_end(ap); >+ >+ if (!iamremote) { >+ va_start(ap, fmt); >+ vfprintf(stderr, fmt, ap); >+ va_end(ap); >+ } >+ > } > > static void
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 72359
: 44644