patch-2.3.99-pre4 linux/scripts/docproc.c
Next file: linux/scripts/gen-all-syms
Previous file: linux/scripts/checkincludes.pl
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Mar 27 14:17:05 2000
- Orig file:
v2.3.99-pre3/linux/scripts/docproc.c
- Orig date:
Tue Mar 14 19:10:40 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/scripts/docproc.c linux/scripts/docproc.c
@@ -12,7 +12,7 @@
int main(int argc, char *argv[])
{
char buf[1024];
- char *vec[1024];
+ char *vec[8192];
char type[64];
int i;
int vp=2;
@@ -30,7 +30,7 @@
*/
vec[0]="kernel-doc";
vec[1]="-docbook";
- for(i=1;vp<1021;i++)
+ for(i=1;vp<8189;i++)
{
if(argv[i]==NULL)
break;
@@ -67,7 +67,7 @@
exit(1);
case 0:
execvp("scripts/kernel-doc", vec);
- perror("exec");
+ perror("exec scripts/kernel-doc");
exit(1);
default:
waitpid(pid, NULL,0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)