diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2006-01-24 17:19:51 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2006-01-24 17:19:51 +0000 |
commit | c959721ff25a22f412a3e8ca0c4bda4cfb3e3e11 (patch) | |
tree | 77d8ba76d1a64c07fe13ad2ba07f03c2e9e5508e /russian/rux/files/patch-rux.c | |
parent | Don't bogusly list the rc.d script in the plist. USE_RC_SUBR does this (diff) |
Update to 0.74
PR: ports/92262
Submitted by: Vyacheslav Anikin (maintainer)
Diffstat (limited to '')
-rw-r--r-- | russian/rux/files/patch-rux.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/russian/rux/files/patch-rux.c b/russian/rux/files/patch-rux.c deleted file mode 100644 index 5f8f70615749..000000000000 --- a/russian/rux/files/patch-rux.c +++ /dev/null @@ -1,36 +0,0 @@ ---- rux.c.orig Sun Dec 25 00:22:01 2005 -+++ rux.c Sun Jan 1 15:46:52 2006 -@@ -70,9 +70,10 @@ - extern int optind; - - char *buf = NULL; /* analizing buffer */ -+ int flag; -+ int readstdin = 0; /* read from stdin */ - - o_cp = &codepage[2]; /* sets koi8-r as default outcp */ -- int flag; - - while ((flag = getopt(argc, argv, "i:o:thegTs:")) != -1) { - switch (flag) { -@@ -133,19 +134,18 @@ - } - } - -- int readstdin = 0; /* read from stdin */ -- - if (argc == 0) - readstdin = 1; - - while (1) { -+ int buflen = 0; -+ - if (readstdin) { - in = stdin; - } else if ((in = fopen(*argv, "r")) == NULL) { - perror(*argv); - return errno; - } -- int buflen = 0; - - if (fdetect) { - buflen = fread(buf, 1, ansize, in); |