diff options
author | asami <asami@FreeBSD.org> | 1999-05-11 06:22:43 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-05-11 06:22:43 +0800 |
commit | c982a30b96755c6b2817403b4dab42c1dcfd5287 (patch) | |
tree | e492453b8858192536343b654632766861d13589 /lang | |
parent | 7cd29750fc0ff55fbb354bb2f5825fccc4f70dd9 (diff) | |
download | freebsd-ports-graphics-c982a30b96755c6b2817403b4dab42c1dcfd5287.tar.gz freebsd-ports-graphics-c982a30b96755c6b2817403b4dab42c1dcfd5287.tar.zst freebsd-ports-graphics-c982a30b96755c6b2817403b4dab42c1dcfd5287.zip |
Rename all pwrite()s to deal with this change:
1.24.2.1 Wed May 5 23:19:59 1999 UTC by dt
Branch: RELENG_3
Diffs to 1.24 ; Diffs to 1.26
MFC: pread() and pwrite().
Diffstat (limited to 'lang')
-rw-r--r-- | lang/pbasic/files/patch-ab | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/lang/pbasic/files/patch-ab b/lang/pbasic/files/patch-ab new file mode 100644 index 00000000000..6dc814e8aa9 --- /dev/null +++ b/lang/pbasic/files/patch-ab @@ -0,0 +1,53 @@ +--- ./bas8.c.org Fri Aug 11 03:17:25 1995 ++++ ./bas8.c Mon May 10 15:18:08 1999 +@@ -10,12 +10,12 @@ + + #ifdef __STDC__ + static void clear_prog(void); +-static int listl(lpoint), pwrite(filebufp, CHAR *, int), def_fn(int, int); ++static int listl(lpoint), mypwrite(filebufp, CHAR *, int), def_fn(int, int); + static lpoint get_end(void); + static STR strpat(STR, STR, STR); + #else + static void clear_prog(); +-static int listl(), pwrite(), def_fn(); ++static int listl(), mypwrite(), def_fn(); + static lpoint get_end(); + static STR strpat(); + #endif +@@ -495,7 +495,7 @@ + */ + /*ARGSUSED*/ + static int +-pwrite(filebufp fp, CHAR *buf, int len) ++mypwrite(filebufp fp, CHAR *buf, int len) + { + fp = fp; + return((int)write(1, (char *)buf, (unsigned)len)); +@@ -517,7 +517,7 @@ + */ + /*ARGSUSED*/ + static int +-pwrite(fp, buf, len) ++mypwrite(fp, buf, len) + filebufp fp; + CHAR *buf; + int len; +@@ -585,7 +585,7 @@ + Twidth = filedes->bufsiz; + } + else { +- outfunc = pwrite; ++ outfunc = mypwrite; + curcursor= &cursor; + Twidth = ter_width; + } +@@ -806,7 +806,7 @@ + Twidth = filedes->bufsiz; + } + else { +- outfunc = pwrite; ++ outfunc = mypwrite; + curcursor= &cursor; + Twidth = ter_width; + point--; |