FreeBSD Bugzilla – Attachment 17501 Details for
Bug 31772
[patch] New option in dialog(1)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.17 KB, created by
strijar
on 2001-11-05 10:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
strijar
Created:
2001-11-05 10:30:01 UTC
Size:
1.17 KB
patch
obsolete
>--- dialog.c.orig Thu May 10 10:23:01 2001 >+++ dialog.c Mon Nov 5 15:09:28 2001 >@@ -384,6 +384,26 @@ > end_dialog(); > return retval; > } >+ else if (!strcmp(argv[offset+1], "--file")) { >+ unsigned char *tresult; >+ if (argc-offset != 4) { >+ Usage(argv[0]); >+ exit(-1); >+ } >+ init_dialog(); >+ tresult = dialog_fselect(argv[offset+2], argv[offset+3]); >+ dialog_update(); >+ if (tresult) { >+ fputs(tresult, stderr); >+ retval = 0; >+ } else { >+ retval = 1; >+ } >+ if (clear_screen) /* clear screen before exit */ >+ dialog_clear(); >+ end_dialog(); >+ return retval; >+ } > > Usage(argv[0]); > exit(-1); >@@ -421,6 +441,7 @@ > \n --checklist <text> <height> <width> <list height> <tag1> <item1> <status1>...\ > \n --radiolist <text> <height> <width> <list height> <tag1> <item1> <status1>...\ > \n --ftree <file> <FS> <text> <height> <width> <menu height>\ >-\n --tree <FS> <text> <height> <width> <menu height> <item1>...\n", VERSION, name, name, name); >+\n --tree <FS> <text> <height> <width> <menu height> <item1>...\ >+\n --file <directory> <file mask>\n", VERSION, name, name, name); > } > /* End of Usage() */
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 31772
: 17501