Changeset 16639bb in mainline for uspace/app


Ignore:
Timestamp:
2012-08-15T22:13:37Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
83298e8
Parents:
f7ea5400 (diff), c5a6076 (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.
Message:

merge mainline changes

Location:
uspace/app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/edit/edit.c

    rf7ea5400 r16639bb  
    842842                /* Fill until the end of display area. */
    843843
    844                 if (str_length(row_buf) < (unsigned) scr_columns)
    845                         fill = scr_columns - str_length(row_buf);
     844                if ((unsigned)s_column - 1 < scr_columns)
     845                        fill = scr_columns - (s_column - 1);
    846846                else
    847847                        fill = 0;
  • uspace/app/sportdmp/sportdmp.c

    rf7ea5400 r16639bb  
    140140                ssize_t i;
    141141                for (i = 0; i < read; i++) {
    142                         if ((buf[i] >= 32) && (buf[i] < 128))
    143                                 putchar((wchar_t) buf[i]);
    144                         else
    145                                 putchar('.');
    146                         fflush(stdout);
     142                        printf("%02hhx ", buf[i]);
    147143                }
     144                fflush(stdout);
    148145        }
    149146       
Note: See TracChangeset for help on using the changeset viewer.