Changeset 40 for trunk/src/sh_database.c


Ignore:
Timestamp:
May 31, 2006, 9:38:30 PM (18 years ago)
Author:
rainer
Message:

Fix for tickets #13, #14, #15, #16, #17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_database.c

    r35 r40  
    14921492}
    14931493
    1494 static int is_escaped(char * p) {
     1494static int is_escaped(unsigned char * p) {
    14951495
    14961496  int    escp = 0;
     
    15041504        }
    15051505      else if ((*p == '\'' || *p == '\"') && escp == 0)
     1506        {
     1507          retv = S_FALSE;
     1508        }
     1509      else if (*p > 0x7F)
    15061510        {
    15071511          retv = S_FALSE;
     
    15811585      p[2] == 'o' && p[3] == 'g')
    15821586    {
     1587      /*
     1588       * recursive call
     1589       */
    15831590      new       = SH_ALLOC(sizeof(dbins));
    15841591      init_db_entry(new);
Note: See TracChangeset for help on using the changeset viewer.