Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 233001
Collapse All | Expand All

(-)lib/util.c.orig (-2 / +2 lines)
Lines 931-938 Link Here
931
void
931
void
932
default_failure_notify(const char *message)
932
default_failure_notify(const char *message)
933
{
933
{
934
    write(2, message, strlen(message));
934
    if(write(2, message, strlen(message))) {}
935
    write(2, "\n", 1);
935
    if(write(2, "\n", 1)) {}
936
    abort();
936
    abort();
937
}
937
}
938
938
(-)src/StoreIOBuffer.h.orig (-2 / +2 lines)
Lines 68-75 Link Here
68
68
69
    void dump() const
69
    void dump() const
70
    {
70
    {
71
        fwrite(data, length, 1, stderr);
71
        if(fwrite(data, length, 1, stderr)) {}
72
        fwrite("\n", 1, 1, stderr);
72
        if(fwrite("\n", 1, 1, stderr)) {}
73
    }
73
    }
74
74
75
    struct
75
    struct
(-)src/comm.cc.orig (-1 / +1 lines)
Lines 2220-2226 Link Here
2220
void CommIO::Initialise() {
2220
void CommIO::Initialise() {
2221
    /* Initialize done pipe signal */
2221
    /* Initialize done pipe signal */
2222
    int DonePipe[2];
2222
    int DonePipe[2];
2223
    pipe(DonePipe);
2223
    if(pipe(DonePipe)) {}
2224
    DoneFD = DonePipe[1];
2224
    DoneFD = DonePipe[1];
2225
    DoneReadFD = DonePipe[0];
2225
    DoneReadFD = DonePipe[0];
2226
    fd_open(DoneReadFD, FD_PIPE, "async-io completetion event: main");
2226
    fd_open(DoneReadFD, FD_PIPE, "async-io completetion event: main");
(-)src/tools.cc.orig (-1 / +1 lines)
Lines 152-158 Link Here
152
152
153
    snprintf(command, 256, "%s %s < %s", Config.EmailProgram, Config.adminEmail, filename);
153
    snprintf(command, 256, "%s %s < %s", Config.EmailProgram, Config.adminEmail, filename);
154
154
155
    system(command);		/* XXX should avoid system(3) */
155
    if(system(command)) {}		/* XXX should avoid system(3) */
156
156
157
    unlink(filename);
157
    unlink(filename);
158
}
158
}

Return to bug 233001