1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Fixes warning in aliases_scan.l [1]

- Fixes warning in spool.c [2]

Reported by:	QAT
Submitted by:	Patrice Clement <patricec _at_ acm.org> (IRC) [1], me [2]
Approved by:	rene@ (mentor vacation)
This commit is contained in:
Baptiste Daroussin 2010-08-11 20:24:43 +00:00
parent da4e368744
commit 6b44f33d89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259116
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- ./aliases_scan.l.orig 2010-08-10 17:48:35.000000000 +0200
+++ ./aliases_scan.l 2010-08-11 19:54:44.877687647 +0200
@@ -3,8 +3,6 @@
#include <string.h>
#include "aliases_parse.h"
-#define YY_NO_INPUT
-
int yylex(void);
%}

View File

@ -1,5 +1,5 @@
--- ./dma.c.orig 2010-08-10 17:48:35.000000000 +0200
+++ ./dma.c 2010-08-11 08:02:15.966237154 +0200
+++ ./dma.c 2010-08-11 18:53:37.562144471 +0200
@@ -295,7 +295,7 @@
exit(1);
}

View File

@ -0,0 +1,11 @@
--- ./spool.c.orig 2010-08-10 17:48:35.000000000 +0200
+++ ./spool.c 2010-08-11 18:59:57.113889734 +0200
@@ -92,7 +92,7 @@
*/
if (fstat(fd, &st) != 0)
goto fail;
- if (asprintf(&queue->id, "%"PRIxMAX, st.st_ino) < 0)
+ if (asprintf(&queue->id, "%"PRIxMAX, (uintmax_t)st.st_ino) < 0)
goto fail;
queue->mailf = fdopen(fd, "r+");