pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45866: dbench patch-aa seems bogus

>Number:         45866
>Category:       pkg
>Synopsis:       dbench patch-aa seems bogus
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 23 06:40:01 +0000 2012
>Originator:     YAMAMOTO Takashi
>Release:        latest
        the following part of patch-aa seems bogus.  while the code in
        question might not do anything "useful", benchmark programs like
        this are not expected to do anything useful in that sense.
 void nb_qfsinfo(struct child_struct *child, int level, const char *status)
+#if 0 /* does this code do anything useful? */
        struct statvfs st;
        statvfs(child->directory, &st);

        code inspection.


Home | Main Index | Thread Index | Old Index