pkgsrc/net/udpcast/patches/patch-aa
wiz 12df14fbd1 Initial import of udpcast-20060619, requested in PR 34171:
UDPcast is a file transfer tool that can send data simultaneously
to many destinations on a LAN. This can for instance be used to
install entire classrooms of PC's at once. The advantage of UDPcast
over using other methods (nfs, ftp, whatever) is that UDPcast uses
Ethernet's multicast abilities: it won't take longer to install 15
machines than it would to install just 2.
2006-08-09 10:04:12 +00:00

13 lines
395 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2006/08/09 10:04:12 wiz Exp $
--- statistics.c.orig 2005-12-22 22:59:18.000000000 +0000
+++ statistics.c
@@ -37,7 +37,7 @@ void receiverStatsStartTimer(receiver_st
static void printFilePosition(int fd) {
#ifndef WINDOWS
if(fd != -1) {
- loff_t offset = lseek64(fd, 0, SEEK_CUR);
+ off_t offset = lseek(fd, 0, SEEK_CUR);
printLongNum(offset);
}
#endif