aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p0f/files/patch-p0f.c
blob: 5d5c61e2f1cad9e7e350ebf3557e56434e097b08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- p0f.c.orig  Thu Jan 17 21:05:58 2002
+++ p0f.c   Mon Jan 21 00:22:56 2002
@@ -348,10 +348,9 @@
         T_tstamp = 1;
    break;
       case 'o':
-        { FILE* x;
-          x=fopen(optarg,"a");
-          if (!x) { perror(optarg); exit(1); }
-          stdout=x;
+        if (!freopen(optarg,"a",stdout)) {
+          perror(optarg);
+          exit(1);
         }
    break;
       default:
gnome/log/misc/toilet'>
path: root/misc/toilet
Commit message (Expand)AuthorAgeFilesLines
* - update png to 1.5.10dinoex2012-06-011-0/+1
* - update to 0.3bapt2012-05-072-4/+4
* Remove references to unsupported FreeBSD versions. Mostly of the form:dougb2011-11-021-7/+1