FreeBSD Bugzilla – Attachment 18496 Details for
Bug 33225
Build breaks on CURRENT due to <sys/dir.h> changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-aa
patch-aa (text/plain), 1.68 KB, created by
Bruce M Simpson
on 2001-12-27 06:40:01 UTC
(
hide
)
Description:
patch-aa
Filename:
MIME Type:
Creator:
Bruce M Simpson
Created:
2001-12-27 06:40:01 UTC
Size:
1.68 KB
patch
obsolete
>--- mmv.c.orig Thu Dec 27 06:12:50 2001 >+++ mmv.c Thu Dec 27 06:26:29 2001 >@@ -88,7 +88,6 @@ > #endif > > #include <stdio.h> >-#include <ctype.h> > > #ifdef MSDOS > /* for MS-DOS (under Turbo C 1.5)*/ >@@ -126,7 +125,6 @@ > #include <sys/file.h> > > extern char *getenv(); >-extern long lseek(); > extern char *malloc(); > > #ifdef DIRENT >@@ -176,7 +174,6 @@ > > #else > /* for System V and BSD */ >-#include <string.h> > #include <sys/signal.h> > #include <fcntl.h> > #endif >@@ -370,7 +367,7 @@ > static int snap(/* REP *first, REP *p */); > static void showdone(/* REP *fin */); > static void breakout(/* */); >-static int breakrep(/* */); >+static void breakrep(/* */); > static void breakstat(/* */); > static void quit(/* */); > static int copymove(/* REP *p */); >@@ -389,7 +386,6 @@ > static int getstat(/* char *full, FILEINFO *f */); > static int dwritable(/* HANDLE *h */); > static int fwritable(/* char *hname, FILEINFO *f */); >-static void memmove(/* void *to, void *from, int k */); > #endif > #ifndef RENAME > static int rename(/* char *from, char *to */); >@@ -410,7 +406,7 @@ > static SLICER slicer[2] = {{NULL, NULL, 0}, {NULL, NULL, 0}}; > > static int badreps = 0, paterr = 0, direrr, failed = 0, gotsig = 0, repbad; >-static FILE *outfile = stdout; >+static FILE *outfile; > > static char IDF[] = "$$mmvdid."; > static char TEMP[] = "$$mmvtmp."; >@@ -471,6 +467,7 @@ > { > char *frompat, *topat; > >+ outfile = stdout; > init(); > procargs(argc, argv, &frompat, &topat); > domatch(frompat, topat); >@@ -2550,10 +2547,9 @@ > } > > >-static int breakrep() >+static void breakrep() > { > gotsig = 1; >- return(1); > } > > >@@ -2832,7 +2828,7 @@ > } > > >-#ifndef MSDOS >+#if 0 > static void memmove(to, from, k) > char *to, *from; > unsigned k;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 33225
: 18496