Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 262765 | Differences between
and this patch

Collapse All | Expand All

(-)nstx-1.1-beta6.orig/nstx_util.c (-8 lines)
Lines 44-57 Link Here
44
   return x;
44
   return x;
45
}
45
}
46
46
47
void dwrite (char *path, char *buf, int len) {
48
   int fd;
49
   
50
   fd = open(path, O_RDWR|O_CREAT|O_TRUNC, 0600);
51
   write(fd, buf, len);
52
   close(fd);
53
}
54
55
static int iface_addr(const char * name, in_addr_t * result) {
47
static int iface_addr(const char * name, in_addr_t * result) {
56
    int r, s;
48
    int r, s;
57
    struct ifreq ifr;
49
    struct ifreq ifr;

Return to bug 262765