FreeBSD Bugzilla – Attachment 13613 Details for
Bug 25820
diskpart(8) causes segfaults
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 732 bytes, created by
fuyuki
on 2001-03-15 08:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
fuyuki
Created:
2001-03-15 08:20:01 UTC
Size:
732 bytes
patch
obsolete
>*** diskpart.c.orig Thu Mar 15 15:46:06 2001 >--- diskpart.c Thu Mar 15 15:48:12 2001 >*************** >*** 128,135 **** > char *lp, *tyname; > > argc--, argv++; >- if (argc < 1) >- usage(); > if (argc > 0 && strcmp(*argv, "-p") == 0) { > pflag++; > argc--, argv++; >--- 128,133 ---- >*************** >*** 140,147 **** > } > if (argc > 1 && strcmp(*argv, "-s") == 0) { > totsize = atoi(argv[1]); >! argc += 2, argv += 2; > } > dp = getdiskbyname(*argv); > if (dp == NULL) { > if (isatty(0)) >--- 138,147 ---- > } > if (argc > 1 && strcmp(*argv, "-s") == 0) { > totsize = atoi(argv[1]); >! argc -= 2, argv += 2; > } >+ if (argc < 1) >+ usage(); > dp = getdiskbyname(*argv); > if (dp == NULL) { > if (isatty(0))
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25820
: 13613