Changeset fb4d788 in mainline for uspace/app/bdsh/cmds/modules/cat/cat.c
- Timestamp:
- 2015-07-28T11:28:14Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6accc5cf
- Parents:
- df2bce3 (diff), 47726b5e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cat/cat.c
rdf2bce3 rfb4d788 108 108 } 109 109 110 static void waitprompt( )110 static void waitprompt(void) 111 111 { 112 112 console_set_pos(console, 0, console_rows-1); … … 120 120 } 121 121 122 static void waitkey( )122 static void waitkey(void) 123 123 { 124 124 cons_event_t ev; … … 149 149 } 150 150 151 static void newpage( )151 static void newpage(void) 152 152 { 153 153 console_clear(console); … … 324 324 argc = cli_count_args(argv); 325 325 326 for (c = 0, opt ind = 0, opt_ind = 0; c != -1;) {326 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 327 327 c = getopt_long(argc, argv, "xhvmH:t:b:s:n", long_options, &opt_ind); 328 328 switch (c) {
Note:
See TracChangeset
for help on using the changeset viewer.