Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 23:30:27 +0000 (UTC)
From:      David Thiel <lx@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341793 - head/www/publicfile/files
Message-ID:  <201401292330.s0TNURjI002736@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lx
Date: Wed Jan 29 23:30:26 2014
New Revision: 341793
URL: http://svnweb.freebsd.org/changeset/ports/341793
QAT: https://qat.redports.org/buildarchive/r341793/

Log:
  Bugfix for clang.
  
  Submitted by:	pkg-fallout

Added:
  head/www/publicfile/files/patch-fetch.c   (contents, props changed)

Added: head/www/publicfile/files/patch-fetch.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/publicfile/files/patch-fetch.c	Wed Jan 29 23:30:26 2014	(r341793)
@@ -0,0 +1,20 @@
+--- fetch.c.orig	1999-11-08 23:23:46.000000000 -0800
++++ fetch.c	2014-01-29 15:19:43.000000000 -0800
+@@ -82,7 +82,7 @@
+   substdio_puts(&ss,"\r\n");
+ }
+ 
+-static int doit(char *fn,int fddata,int fdfile,int how)
++static void doit(char *fn,int fddata,int fdfile,int how)
+ {
+   DIR *dir;
+   direntry *d;
+@@ -122,7 +122,7 @@
+       for (;;) {
+ 	r = read(fdfile,inbuf,sizeof inbuf);
+ 	if (r == -1) {
+-	  if (errno = error_intr) continue;
++	  if (errno == error_intr) continue;
+ 	  _exit(23);
+ 	}
+ 	if (r == 0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401292330.s0TNURjI002736>