mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
Include assert.h
Reported by: bento
This commit is contained in:
parent
5a0804685b
commit
22d0b2de76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85067
@ -1,6 +1,14 @@
|
||||
--- src/binaryio.cc.orig Thu Sep 26 19:38:01 2002
|
||||
+++ src/binaryio.cc Thu Sep 26 19:47:54 2002
|
||||
@@ -37,7 +37,7 @@
|
||||
--- src/binaryio.cc.orig Mon May 13 22:48:06 2002
|
||||
+++ src/binaryio.cc Thu Jul 17 14:27:14 2003
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sstream>
|
||||
+#include <assert.h>
|
||||
|
||||
#include <libintl.h>
|
||||
#define _(S) gettext (S)
|
||||
@@ -37,7 +38,7 @@
|
||||
set_open (false) ;
|
||||
}
|
||||
|
||||
@ -9,7 +17,7 @@
|
||||
{
|
||||
BinaryIO () ;
|
||||
open (fn, m) ;
|
||||
@@ -60,12 +60,12 @@
|
||||
@@ -60,12 +61,12 @@
|
||||
stream = s ;
|
||||
}
|
||||
|
||||
@ -24,7 +32,7 @@
|
||||
{
|
||||
filename = fn ;
|
||||
}
|
||||
@@ -95,7 +95,7 @@
|
||||
@@ -95,7 +96,7 @@
|
||||
mode = m ;
|
||||
}
|
||||
|
||||
@ -33,7 +41,7 @@
|
||||
{
|
||||
if (fn == "") {
|
||||
switch (m) {
|
||||
@@ -243,9 +243,9 @@
|
||||
@@ -243,9 +244,9 @@
|
||||
return ((bytes[0] << 24) | (bytes[1] << 16) | (bytes[2] << 8) | bytes[3]) ;
|
||||
}
|
||||
|
||||
@ -45,7 +53,7 @@
|
||||
for (unsigned int i = 0 ; i < len ; i++) {
|
||||
ost << read8() ;
|
||||
}
|
||||
@@ -310,7 +310,7 @@
|
||||
@@ -310,7 +311,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user