summaryrefslogtreecommitdiff
path: root/net/cap/files/patch-applications-lwsrv-lwsrv.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-04-18 22:25:41 +0000
committerRene Ladan <rene@FreeBSD.org>2011-04-18 22:25:41 +0000
commit48f1d8c469aeb67c4c7838bd2bdf17f28eacbc79 (patch)
tree5509f9ae2d797f02944d429c11a7b43a3c3d2cf3 /net/cap/files/patch-applications-lwsrv-lwsrv.c
parentRepair pkg-plist to remove directories created by NLS option. (diff)
Remove most expired ports:
2011-04-17 cad/tclspice: has been broken for more than a year 2011-04-17 comms/hcfmdm: does not compile on 7.X or higher 2011-04-17 databases/mysqlcc: has been broken for almost a year 2011-04-17 devel/ruby-rjudy: does not compile on FreeBSD 7.x or newer 2011-04-17 devel/xfc: does not compile on FreeBSD 7.x or newer 2011-04-17 devel/lamson: has been broken for a half year 2011-04-17 devel/cocktail: does not build on FreeBSD 7.x or newer 2011-04-17 devel/djgpp-gcc: has been broken for half a year 2011-04-17 devel/gauche-sdl: has been broken for a year 2011-04-17 devel/gdb53-act: does not compile on FreeBSD 7.x and up 2011-04-17 editors/zed: does not compile on FreeBSD 7.x or newer 2011-04-17 games/aqbubble: does not compile on FreeBSD 7.x or newer 2011-04-17 graphics/libvisual-plugins: has been broken for 3 years 2011-04-17 japanese/roundcube: has been broken for almost a year 2011-04-17 japanese/tkstep80: does not compile on FreeBSD 7.x or newer 2011-04-17 lang/u++: has been broken for over a half year 2011-04-17 lang/pugs: has been broken for over a year 2011-04-17 lang/mozart: does not compile on FreeBSD 7.x or newer 2011-04-17 math/linalg: does not build on FreeBSD 7.x or newer 2011-04-17 math/R-cran-igraph: has been broken for over a half year 2011-04-17 misc/ftree: has been broken for over a half year 2011-04-17 multimedia/katchtv: has been broken for a half year 2011-04-17 multimedia/libomxil-bellagio: has been broken for almost a year 2011-04-17 multimedia/banshee-mirage: has been broken for over a half year 2011-04-17 net-p2p/trackerbt: has been broken for a half year 2011-04-17 net/cap: does not compile on FreeBSD 7.x or newer 2011-04-17 net/ggsd: does not compile on FreeBSD 7.x or newer 2011-04-17 net/b2bua: does not compile on FreeBSD 7.x or newer 2011-04-17 net/penguintv: has been broken for a half year 2011-04-17 news/openftd: has been broken for almost a year 2011-04-17 palm/romeo: does not compile on FreeBSD 7.x or newer 2011-04-17 science/pcp: does not compile on FreeBSD 7.x or newer 2011-04-17 science/elmer-fem: has been broken for over a year 2011-04-17 security/newpki-lib: does not compile on FreeBSD 7.x or newer 2011-04-17 security/newpki-server: does not compile on FreeBSD 7.x or newer 2011-04-17 security/xmlsec: does not compile on FreeBSD 7.x or newer 2011-04-17 security/f-protd: has been broken for over a year 2011-04-17 sysutils/xwlans: does not compile on FreeBSD 7.x or newer 2011-04-17 www/bk_edit: does not compile on FreeBSD 7.x and newer 2011-04-17 www/bricolage: has been broken for a half year 2011-04-17 x11-toolkits/gauche-gtk: has been broken for a year 2011-04-17 x11-toolkits/gambas2-gb-qt: has been broken for over a year 2011-04-17 x11-toolkits/php-gtk2: has been broken for over a half year 2011-04-17 x11-toolkits/p5-Tcl-Tk: has been broken for 2 year 2011-04-17 x11/metisse: has been broken for over a half year
Notes
Notes: svn path=/head/; revision=272897
Diffstat (limited to 'net/cap/files/patch-applications-lwsrv-lwsrv.c')
-rw-r--r--net/cap/files/patch-applications-lwsrv-lwsrv.c54
1 files changed, 0 insertions, 54 deletions
diff --git a/net/cap/files/patch-applications-lwsrv-lwsrv.c b/net/cap/files/patch-applications-lwsrv-lwsrv.c
deleted file mode 100644
index 86ef32146da6..000000000000
--- a/net/cap/files/patch-applications-lwsrv-lwsrv.c
+++ /dev/null
@@ -1,54 +0,0 @@
---- applications/lwsrv/lwsrv.c.orig Sat Mar 20 14:38:45 2004
-+++ applications/lwsrv/lwsrv.c Sat Mar 20 14:55:51 2004
-@@ -1864,7 +1864,7 @@
- PFILE *pf;
- {
- long t;
-- int argc, i;
-+ int argc, i, fd;
- FILE *outfile;
- char tname[256],status[256];
- char pbuf[256],rhbuf[16],jbuf[1024];
-@@ -1930,10 +1930,8 @@
- strcat(tname,"/lwsrvXXXXXX");
- } else
- strcpy(tname,TEMPFILE);
-- mktemp(tname);
-- if ((outfile = fopen(tname, "w+")) == NULL)
-+ if ( ((fd = mkstemp(tname)) == -1 ) || ((outfile = fdopen(fd, "w+")) == NULL) )
- perror(tname);
-- chmod(tname, 0600);
- }
-
- NewStatus(prtp->children <= 0 ? "initializing" : statusprocessing);
-@@ -2310,7 +2308,7 @@
- PFILE *pf;
- {
- long t;
-- int argc, i;
-+ int argc, i, fd;
- FILE *outfile;
- char tname[256],status[256];
- char pbuf[256],rhbuf[16],jbuf[1024];
-@@ -2354,16 +2352,15 @@
- if (tmpfiledir != NULL) {
- strcpy(tname,tmpfiledir);
- strcat(tname,"/lwsrvXXXXXX");
-+ if ((outfile = fopen(tname, "w+")) == NULL)
-+ perror(tname);
-+ chmod(tname, 0600);
- } else
- strcat(tname,TEMPFILE);
-- mktemp(tname);
-+ if ( ((fd = mkstemp(tname)) == -1 ) || ((outfile = fdopen(fd, "w+")) == NULL) )
-+ perror(tname);
- }
-
-- if ((outfile = fopen(tname, "w+")) == NULL)
-- perror(tname);
--
-- chmod(tname, 0600);
--
- if (singlefork)
- NewStatus("initializing");
-