mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
x11-fonts/pcf2bdf: Remove useless patch
fopen(3) ignores "b".
This commit is contained in:
parent
f7fcbcaea6
commit
45662c5246
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505080
@ -1,20 +0,0 @@
|
||||
--- pcf2bdf.cc.orig 2015-05-18 02:55:57 UTC
|
||||
+++ pcf2bdf.cc
|
||||
@@ -580,7 +580,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
if (ifilename)
|
||||
{
|
||||
- ifp = fopen(ifilename, "rb");
|
||||
+ ifp = fopen(ifilename, "r");
|
||||
if (!ifp)
|
||||
return error_exit("failed to open input pcf file");
|
||||
}
|
||||
@@ -607,7 +607,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (ofilename)
|
||||
{
|
||||
- ofp = fopen(ofilename, "wb");
|
||||
+ ofp = fopen(ofilename, "w");
|
||||
if (!ofp)
|
||||
return error_exit("failed to open output bdf file");
|
||||
}
|
Loading…
Reference in New Issue
Block a user