opnsense-ports/devel/ftjam/files/patch-pathunix.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
447 B
C

--- pathunix.c.orig 2006-06-05 12:52:12.000000000 +0200
+++ pathunix.c 2014-08-07 15:41:24.000000000 +0200
@@ -110,7 +110,7 @@
p = 0;
q = file;
- while( q = (char *)memchr( q, '.', end - q ) )
+ while( ( q = (char *)memchr( q, '.', end - q ) ) )
p = q++;
if( p )
@@ -136,6 +136,7 @@
char *file,
int binding )
{
+ (void)binding;
/* Start with the grist. If the current grist isn't */
/* surrounded by <>'s, add them. */