Changeset 3347


Ignore:
Timestamp:
Feb 26, 2015, 12:21:28 AM (5 years ago)
Author:
Bruno Cornec
Message:
  • Fix #767 (typo in KEYDIR name proposed) (joel.girot_at_gvr.fr)
  • Do not use long in loop as previsouly modified as it doesn' make sense.
Location:
branches
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3339 r3347  
    375375    KEYDIR=/usr/lib/kbd
    376376    [ ! -e "$KEYDIR" ] && KEYDIR=/usr/share/kbd     # Slackware
    377     [ ! -e "$KEYDIR" ] && KEYDIR=/etc/condole
    378     [ ! -e "$KEYDIR" ] && KEYDIR=/etc/condole-setup
     377    [ ! -e "$KEYDIR" ] && KEYDIR=/etc/console
     378    [ ! -e "$KEYDIR" ] && KEYDIR=/etc/console-setup
    379379    [ ! -e "$KEYDIR" ] && KEYDIR=/lib/kbd
    380380    if [ ! -e "$KEYDIR" ] ; then
  • branches/3.2/mindi/mindi

    r3339 r3347  
    375375    KEYDIR=/usr/lib/kbd
    376376    [ ! -e "$KEYDIR" ] && KEYDIR=/usr/share/kbd     # Slackware
    377     [ ! -e "$KEYDIR" ] && KEYDIR=/etc/condole
    378     [ ! -e "$KEYDIR" ] && KEYDIR=/etc/condole-setup
     377    [ ! -e "$KEYDIR" ] && KEYDIR=/etc/console
     378    [ ! -e "$KEYDIR" ] && KEYDIR=/etc/console-setup
    379379    [ ! -e "$KEYDIR" ] && KEYDIR=/lib/kbd
    380380    if [ ! -e "$KEYDIR" ] ; then
  • branches/3.2/mondo/src/common/libmondo-archive.c

    r3341 r3347  
    27802780    long slice_num = 0L;
    27812781    long i = 0L;
     2782    int j = 0;
    27822783    bool should_I_compress_slices = TRUE;
    27832784    char *suffix = NULL;                // for compressed slices
     
    28992900        }
    29002901        if ((i == bkpinfo->optimal_set_size / 256L) && (totalread < 1.1 * totallength)) {
    2901             for (long j = 0L; j < bkpinfo->optimal_set_size / 256L; j++) {
     2902            for (j = 0; j < (int) (bkpinfo->optimal_set_size / 256); j++) {
    29022903                blksize = fread(tempblock, 1, 256 * 1024, fin);
    29032904                if (blksize > 0) {
Note: See TracChangeset for help on using the changeset viewer.