Ignore:
Timestamp:
Mar 12, 2007, 2:22:55 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug for tape mangement where block size was missing during extract (Michel Loiseleur)
  • Remove turn_wildcard_chars_into_literal_chars and use mr_stresc instead (based on an idea from Michel)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-string.c

    r1195 r1241  
    103103        }
    104104    in_out[i] = '\0';
    105 }
    106 
    107 
    108 inline void turn_wildcard_chars_into_literal_chars(char *strout, char *strin)
    109 {
    110     char *p, *q;
    111 
    112     for (p = strin, q = strout; *p != '\0'; *(q++) = *(p++)) {
    113         if (strchr("[]*?", *p)) {
    114             *(q++) = '\\';
    115         }
    116     }
    117     *q = *p;                    // for the final '\0'
    118105}
    119106
Note: See TracChangeset for help on using the changeset viewer.