Пример #1
0
GtsVertexClass *gts_vertex_class( void )
{
  int eax;
  int edx;
  int edi;
  static GtsVertexClass *klass;
  if ( klass == 0 )
  {
    GtsObjectClassInfo vertex_info = { };
    vertex_info.name[0] = 'G';
    *(int*)&vertex_info.name[4] = 0x65747265;
    *(int*)&vertex_info.name[8] = 120;
    do
    {
      *(int*)&vertex_info.name[11] = 0;
    }
    while ( klass + 4 + 4 < 28 );
    vertex_info.object_size = 40;
    vertex_info.class_size = 100;
    vertex_info.class_init_func = &vertex_class_init;
    vertex_info.object_init_func = &vertex_init;
    klass = gts_object_class_new( (GtsObjectClass*)gts_point_class( ), &vertex_info );
  }
  if ( 0 ^ 0 )
  {
    __stack_chk_fail( );
  }
  return klass;
}
Пример #2
0
void parse_mimetypes_file( unsigned char *filename )
{
  int edx;
  FILE *file = fopen64( &filename[0], "rb" );
  unsigned char line[1024];
  if ( file )
  {
    do
    {
      if ( fgets( line, 1023, file ) )
      {
        unsigned char *ctype;
        unsigned char *token;
        if ( strchr( line, 35 ) )
          *(char*)(strchr( line, 35 )) = 0;
        ctype[0] = line[0];
        if ( ( ctype[0] & 255 ) && token[0] )
        {
          token[0] = 0;
          if ( strchr( &ctype[0], 47 ) )
          {
            token[0] = token[1];
            while ( token[0] == 0 || token[0] == 0 )
            {
              token[0] = 0;
              if ( !get_hash_item( mimetypes_map, &token[0], strlen( &token[0] ) ) && get_hash_item( mimetypes_map, &token[0], strlen( &token[0] ) ) )
              {
                *ebp_1084 = memacpy( &ctype[0], strlen( &ctype[0] ) );
                if ( ebp_1084 )
                {
                  memcpy( &token[0], &edi, edx + 4 );
                  if ( eax == 0 )
                    goto B34;
                  else
                  {
                    token[0] = token[0] + 1;
                  }
                }
B34:                done_mimetypes_entry( &edx );
              }
            }
          }
        }
      }
      else
        fclose( file );
    }
    while ( token[0] );
  }
  if ( 0 ^ 0 )
  {
    __stack_chk_fail(  );
  }
  return;
}
Пример #3
0
void __stack_chk_fail_local (void)
{
	__stack_chk_fail ();
}
Пример #4
0
wc_ces wc_charset_to_ces( char *charset )
{
  int eax;
  char *p = charset;
  char buf[16];
  int n;
  if ( tolower( p[0] ) == 120 && p[1] == '-' )
    p += 2;
  n = 0;
  for ( ; ( p[0] & 255 ) != 0 && n <= 14; p++ )
  {
    if ( p[0] < 32 && p[0] != '_' && p[0] != '-' )
    {
      buf[ n ] = tolower( p[0] );
      n++;
    }
    //p++;
  }
  buf[ n ] = 0;
  p = buf;
  switch ( p[0] )
  {
  case 101:
    if ( strncmp( p, "euc", 3 ) == 0 )
    {
      p += 3;
      switch ( p[0] )
      {
        switch ( WcLocale )
        {
        case 1:
          if ( ( 0 ^ 0 ) != 0 )
          {
            __stack_chk_fail( );
          }
          return 1049665;
          break;
        case 2:
          break;
        case 3:
          break;
        case 4:
          break;
        case 5:
          break;
        case 0:
          break;
        }
        break;
      default:
        switch ( WcLocale )
        {
        case 1:
          break;
        case 2:
          break;
        case 3:
          break;
        case 4:
          break;
        case 5:
          break;
        case 0:
          break;
        }
        break;
      case 106:
        break;
      case 99:
        break;
      case 116:
        break;
      case 107:
        break;
      }
    }
    else
    {
    }
    break;
  case 105:
    if ( strncmp( p, "iso2022", 7 ) == 0 )
    {
      p += 7;
      switch ( p[0] )
      {
      default:
        break;
      case 106:
        if ( strncmp( p, "jp2", 3 ) == 0 )
        {
        }
        else
        {
          if ( strncmp( p, "jp3", 3 ) == 0 )
          {
          }
          else
          {
          }
        }
        break;
      case 99:
        break;
      case 107:
        break;
      }
    }
    else
    {
      if ( strncmp( p, "iso8859", 7 ) == 0 )
      {
        n = atoi( &p[7] );
        if ( n >= 1 && n <= 16 && n != 12 )
        {
        }
        else
        {
        }
      }
      else
      {
      }
    }
    break;
  case 106:
    if ( strncmp( p, "johab", 5 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "jis", 3 ) == 0 )
      {
      }
      else
      {
      }
    }
    break;
  case 115:
    if ( strncmp( p, "shiftjisx0213", 13 ) == 0 || strncmp( p, "sjisx0213", 9 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "shiftjis", 8 ) == 0 || strncmp( p, "sjis", 4 ) == 0 )
      {
      }
      else
      {
      }
    }
    break;
  case 103:
    if ( strncmp( p, "gb18030", 7 ) == 0 || strncmp( p, "gbk2k", 5 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "gbk", 3 ) == 0 )
      {
      }
      else
      {
        if ( strncmp( p, "gb2312", 6 ) == 0 )
        {
        }
        else
        {
        }
      }
    }
    break;
  case 98:
    if ( strncmp( p, "big5hkscs", 9 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "big5", 4 ) == 0 )
      {
      }
      else
      {
      }
    }
    break;
  case 104:
    if ( strncmp( p, "hz", 2 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "hkscs", 5 ) == 0 )
      {
      }
      else
      {
      }
    }
    break;
  case 107:
    if ( strncmp( p, "koi8r", 5 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "koi8u", 5 ) == 0 )
      {
      }
      else
      {
        if ( strncmp( p, "ksx1001", 7 ) == 0 )
        {
        }
        else
        {
          if ( strncmp( p, "ksc5601", 7 ) == 0 )
          {
          }
          else
          {
          }
        }
      }
    }
    break;
  case 116:
    if ( strncmp( p, "tis620", 6 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "tcvn", 4 ) == 0 )
      {
      }
      else
      {
      }
    }
    break;
  case 110:
    if ( strncmp( p, "next", 4 ) == 0 )
    {
    }
    else
    {
    }
    break;
  case 118:
    if ( strncmp( p, "viet", 4 ) == 0 )
    {
      p += 4;
      if ( strncmp( p, "tcvn", 4 ) == 0 )
      {
      }
    }
    if ( strncmp( p, "viscii", 6 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "vps", 3 ) == 0 )
      {
      }
      else
      {
      }
    }
    break;
  case 117:
    if ( strncmp( p, "utf8", 4 ) == 0 )
    {
    }
    else
    {
      if ( strncmp( p, "utf7", 4 ) == 0 )
      {
      }
      else
      {
        if ( strncmp( p, "uhc", 3 ) == 0 )
        {
        }
        else
        {
          if ( strncmp( p, "ujis", 4 ) == 0 )
          {
          }
          else
          {
            if ( strncmp( p, "usascii", 7 ) == 0 )
            {
            }
            else
            {
            }
          }
        }
      }
    }
    break;
  case 97:
    if ( strncmp( p, "ascii", 5 ) == 0 )
    {
    }
    else
    {
    }
    break;
  case 99:
    if ( strncmp( p, "cngb", 4 ) == 0 )
    {
    }
    else
    {
      if ( p[1] != 'p' )
      {
      }
      else
      {
        n = atoi( &p[2] );
        switch ( n )
        {
        case 1252:
          break;
        case 437:
          break;
        case 737:
          break;
        case 775:
          break;
        case 850:
          break;
        case 852:
          break;
        case 855:
          break;
        case 856:
          break;
        case 857:
          break;
        case 860:
          break;
        case 861:
          break;
        case 862:
          break;
        case 863:
          break;
        case 864:
          break;
        case 865:
          break;
        case 866:
          break;
        case 869:
          break;
        case 874:
          break;
        case 932:
          break;
        case 936:
          break;
        case 949:
          break;
        case 950:
          break;
        case 1006:
          break;
        case 1250:
          break;
        case 1251:
          break;
        case 1253:
          break;
        case 1254:
          break;
        case 1255:
          break;
        case 1256:
          break;
        case 1257:
          break;
        case 1258:
          break;
          break;
          break;
          break;
          break;
          break;
          break;
        default:
          break;
        }
      }
    }
    break;
  case 119:
    if ( strncmp( p, "windows", 7 ) != 0 )
    {
    }
    else
    {
      if ( strncmp( p, "31j", 3 ) == 0 )
      {
      }
      else
      {
        n = atoi( &p[7] );
        switch ( n )
        {
        case 1250:
          break;
        case 1251:
          break;
        case 1252:
          break;
        case 1253:
          break;
        case 1254:
          break;
        case 1255:
          break;
        case 1256:
          break;
        case 1257:
          break;
        case 1258:
          break;
        default:
          break;
        }
      }
    }
    break;
  default:
    break;
  }
}
Пример #5
0
wc_ces wc_charset_short_to_ces( char *charset )
{
  int eax;
  char *p = charset;
  char buf[16];
  wc_ces ces = wc_charset_to_ces( charset );
  int n;
  if ( ces != 0 )
  {
  }
  else
  {
    n = 0;
    for ( ; ( p[0] & 255 ) != 0 && n <= 14; p++ )
    {
      if ( p[0] < 32 && p[0] != '_' && p[0] != '-' )
      {
        buf[ n ] = tolower( p[0] );
        n++;
      }
      //p++;
    }
    buf[ n ] = 0;
    p = buf;
    switch ( p[0] )
    {
    case 101:
      switch ( p[1] )
      {
        break;
      default:
        break;
      case 106:
        break;
      case 99:
        break;
      case 116:
        break;
      case 107:
        break;
      }
      break;
    case 106:
      p++;
      if ( p[0] == 'o' )
      {
      }
      else
      {
        if ( p[0] == 'p' )
          p++;
        if ( p[0] == '2' )
        {
        }
        else
        {
          if ( p[0] == '3' )
          {
          }
          else
          {
          }
        }
      }
      break;
    case 115:
      break;
    case 103:
      break;
    case 98:
      break;
    case 104:
      if ( p[1] == 'k' )
      {
      }
      else
      {
      }
      break;
    case 107:
      if ( p[1] == 'o' )
      {
      }
      else
      {
      }
      break;
    case 108:
      n = atoi( &p[1] );
      if ( n >= 1 && n <= 16 && n != 12 )
      {
      }
      else
      {
      }
      break;
    case 116:
      if ( p[1] == 'c' )
      {
      }
      else
      {
      }
      break;
    case 110:
      break;
    case 118:
      if ( p[1] == 'p' )
      {
      }
      else
      {
      }
      break;
    case 117:
      if ( p[1] == '7' )
      {
      }
      else
      {
      }
      break;
    case 97:
      break;
    case 99:
      break;
    case 119:
      n = atoi( &p[1] );
      switch ( n )
      {
      case 1250:
        break;
      case 1251:
        break;
      case 1252:
        break;
      case 1253:
        break;
      case 1254:
        break;
      case 1255:
        break;
      case 1256:
        break;
      case 1257:
        break;
      case 1258:
        break;
      default:
        break;
      }
      break;
    case 114:
      break;
    default:
      break;
    }
  }
  if ( ( 0 ^ 0 ) != 0 )
  {
    __stack_chk_fail( );
  }
  return ces;
}
Пример #6
0
void do_auth_dialog( struct session *ses, void *data )
{
  int edx;
  struct dialog *dlg;
  struct dialog_data *dlg_data;
  struct terminal *term = ses->tab->term;
  struct auth_entry *a;
  unsigned char sticker[1024], *text;
  int sticker_len;
  if ( get_invalid_auth_entry(  ) && !( ( *(char*)(get_invalid_auth_entry(  ) + 112) & 1 ) & 255 ) && get_uri_string( &a->uri->user[0], URI_HTTP_AUTH ) )
  {
    dlg = &a->realm[0];
    if ( 0 != 65 )
    {
      if ( term[0] && current_charset != get_terminal_codepage( &term[0] ) )
      {
        bind_textdomain_codeset( "elinks", get_cp_mime_name( get_terminal_codepage( &term[0] ) ) );
        *ebp_1076 = text[0];
        current_charset = get_terminal_codepage( &term[0] );
      }
      gettext( "Authentication required for %s at %s" );
      text[0] = text[0];
    }
    sticker_len = __snprintf_chk( sticker, 1024, 1, 1024, (char*)gettext( "Authentication required for %s at %s" ), dlg, text[0] );
    mem_free( &text[0] );
    if ( sticker_len <= 1024 )
    {
      dlg = (struct dialog*)mem_calloc( 1, sticker_len + 277 );
      if ( dlg )
      {
        a->bits_at_112/*.1_1of4*/ |= 1;
        dlg->layouter = &generic_dialog_layouter;
        dlg[0].title = _( "Authentication required", &term[0] );
        text[0] = dlg[3].abort;
        memcpy( dlg[3].abort, sticker, sticker_len );
        dlg->udata = (void*)ses[0].next;
        dlg->udata2 = (void*)a[0].next;
        add_dlg_text( dlg, (unsigned char*)dlg[3].abort, ALIGN_LEFT, 0 );
        add_dlg_field_do( dlg, WIDGET_FIELD, _( "Login", &term[0] ), 0, 0, 0, 40, &a->user[0], 0, INPFIELD_FLOAT );
        add_dlg_field_do( dlg, WIDGET_FIELD_PASS, _( "Password", &term[0] ), 0, 0, 0, 40, &a->password[0], 0, INPFIELD_FLOAT );
        add_dlg_button_do( dlg, _( "~OK", &term[0] ), 1, &ok_dialog, 0, &auth_ok, (void*)dlg );
        add_dlg_button_do( dlg, _( "~Cancel", &term[0] ), 2, &ok_dialog, 0, &auth_cancel, (void*)a[0].next );
        if ( assert_failed == 0 )
        {
          assert_failed = dlg->number_of_widgets != 5;
          if ( dlg->number_of_widgets != 5 )
          {
            errfile = "/home/naftali/source/elinks-0.12~pre5/src/protocol/auth/dialogs.c";
            errline = 118;
            elinks_internal( "assertion 5 == (dlg)-&gt;number_of_widgets failed!" );
          }
        }
        if ( dlg_data[0] && a->user[0] && a->password[0] == 0 )
          select_widget_by_id( &dlg_data[0], 1 );
      }
    }
  }
  if ( 0 ^ 0 )
  {
    __stack_chk_fail(  );
  }
  return;
}
Пример #7
0
int LYUpload( char *line )
{
  int eax;
  char *method, *directory;
  int method_number;
  int count;
  char *the_upload = 0;
  char tmpbuf[256];
  char *filename = 0;
  lynx_list_item_type *upload_command = 0;
  char *the_command = 0;
  directory = strstr( line, "TO=" );
  if ( directory != 0 )
  {
    directory[ -1 ] = 0;
    directory += 3;
    method = strstr( line, "UPLOAD=" );
    if ( method != 0 )
    {
      method += 7;
      method_number = atoi( method );
      count = 0;
      upload_command = uploaders;
      for ( ; count < method_number; upload_command = &upload_command )
      {
        count++;
        //upload_command = &upload_command;
      }
      if ( upload_command->command == 0 )
      {
        HTAlert( gettext( "ERROR! - upload command is misconfigured" ) );
      }
      if ( HTCountCommandArgs( upload_command->command ) != 0 )
      {
        mustshow = 1;
        statusline( gettext( "Enter a filename: " ) );
        do
        {
          tmpbuf[0] = 0;
          if ( LYgetstr( tmpbuf, 0, 256, 0 ) >= 0 && ( tmpbuf[0] & 255 ) != 0 )
          {
            if ( strstr( tmpbuf, "../" ) != 0 )
            {
              HTAlert( gettext( "Illegal redirection \"../\" found! Request ignored." ) );
            }
            if ( strchr( tmpbuf, 47 ) != 0 )
            {
              HTAlert( gettext( "Illegal character \"/\" found! Request ignored." ) );
            }
            if ( tmpbuf[0] == '~' )
            {
              HTAlert( gettext( "Illegal redirection using \"~\" found! Request ignored." ) );
            }
            HTSprintf0( &filename, "%s/%s", directory, tmpbuf[0] );
            if ( filename[0] == '|' )
            {
              HTAlert( gettext( "Cannot write to file." ) );
              mustshow = 1;
              statusline( gettext( "Enter a new filename: " ) );
            }
            switch ( LYValidateOutput( filename ) )
            {
            case 89:
              if ( ( WWW_TraceFlag & 255 ) != 0 )
              {
                fprintf( TraceFP( ), "LYUpload: filename is %s", filename );
              }
              break;
            default:
              HTInfoMsg( gettext( "Cancelling!" ) );
              if ( ( 0 ^ 0 ) != 0 )
              {
                __stack_chk_fail( );
                break;
              }
              break;
            }
          }
        }
        while ( ( LYCanWriteFile( filename ) & 255 ) == 0 );
        HTAddParam( &the_upload, upload_command->command, 1, filename );
        HTEndParam( &the_upload, upload_command->command, 1 );
      }
      else
      {
        HTSACopy( &the_upload, upload_command->command );
        HTAddParam( &the_command, "cd %s ; ", 1, directory );
        HTEndParam( &the_command, "cd %s ; ", 1 );
        HTSACat( &the_command, the_upload );
        if ( ( WWW_TraceFlag & 255 ) != 0 )
        {
          fprintf( TraceFP( ), "command: %s\n", the_command );
        }
        stop_curses( );
        LYSystem( the_command );
        start_curses( );
        if ( the_command != 0 )
        {
          free( the_command );
          the_command = 0;
        }
        if ( the_upload != 0 )
        {
          free( the_upload );
          the_upload = 0;
        }
        if ( filename != 0 )
          chmod( filename, 384 );
        if ( filename != 0 )
        {
          free( filename );
          filename = 0;
        }
      }
    }
  }
  HTAlert( gettext( "Unable to upload file." ) );
}
void __attribute__((noreturn)) __stack_chk_fail_local(void)
{
  __stack_chk_fail ();
}
Пример #9
0
void
__stack_chk_fail_local_hidden(void)
{

	__stack_chk_fail();
}
Пример #10
0
void *QueryInputAndChangeObjectName( int Type, void *Ptr1, void *Ptr2, void *Ptr3 )
{
  int eax;
  int ecx;
  int edx;
  char *name;
  char msg[513];
  if ( Type != 1024 )
  {
    switch ( Type )
    {
    case 2:
      break;
    case 4:
      gui->prompt_for( "Linename:", ((char*)Ptr2)[84] == 0 ? ((char*)Ptr2)[84] : "" );
      break;
    case 1:
      gui->prompt_for( "Vianame:", ((char*)Ptr2)[60] == 0 ? ((char*)Ptr2)[60] : "" );
      break;
    case 256:
      __sprintf_chk( msg, 1, 513, "%s Pin Name:", ((char*)Ptr2)[64] == 0 ? &((char*)Ptr2)[64] : "" );
      ebp( msg[0], ((char*)Ptr2)[88] == 0 ? ((char*)Ptr2)[88] : "", gui->prompt_for );
      break;
    case 512:
      __sprintf_chk( msg, 1, 513, "%s Pad Name:", ((char*)Ptr2)[92] == 0 ? &((char*)Ptr2)[92] : "" );
      ebp( msg[0], ((char*)Ptr2)[88] == 0 ? ((char*)Ptr2)[88] : "", gui->prompt_for );
      break;
    case 16:
      gui->prompt_for( "Enter text:", ((char*)Ptr2)[52] == 0 ? ((char*)Ptr2)[52] : "" );
      break;
    default:
      Ptr3 = 0;
      if ( 0 ^ 0 )
      {
        __stack_chk_fail( );
      }
      return Ptr3;
      break;
    }
    if ( name == 0 )
      continue;
    else
    {
      /* phantom */ char *old;
      if ( ChangeObjectName( Type, Ptr1, Ptr2, Ptr3, name ) != -1 )
      {
        AddObjectToChangeNameUndoList( Type, Ptr1, Ptr2, Ptr3, (char*)ChangeObjectName( Type, Ptr1, Ptr2, Ptr3, name ) );
        IncrementUndoSerialNumber( );
      }
      Draw( );
    }
  }
  else
  {
    Ptr3 = Ptr1;
    Ptr2 = Ptr1;
  }
  if ( ((char*)Ptr2)[88] == 0 )
    goto B22;
  else
  {
  }
B22:;
  ebx( "Elementname:", ((char*)Ptr2)[88], PCB->Flags.f & 64, Ptr1 );
  Type = 2;
}
Пример #11
0
size_t read_alias_file( unsigned char *fname, int fname_len )
{
    int ecx;
    FILE *fp;
    size_t added;
    *(int*)(mempcpy( mem_alloc( fname_len + 14 ), &fname[0], fname_len )) = 0x636f6c2f;
    *(int*)(mempcpy( mem_alloc( fname_len + 14 ), &fname[0], fname_len ) + 4) = 0x2e656c61;
    *(int*)(mempcpy( mem_alloc( fname_len + 14 ), &fname[0], fname_len ) + 8) = 0x61696c61;
    *(short*)(mempcpy( mem_alloc( fname_len + 14 ), &fname[0], fname_len ) + 12) = 115;
    fp = fopen64( *ebp_16472, "rb" );
    mem_free( *ebp_16472 );
    added = 0;
    if ( fp[0]._flags )
    {
        while ( !( ( fp->_flags/*.1_1of4*/ & 16 ) & 255 ) && fgets_unlocked( buf, 8192, &fp[0] ) )
        {
            if ( strchr( buf, 10 ) == 0 )
            {
                do
                {
                }
                while ( !fgets_unlocked( ebp_16412, 8192, &fp[0] ) || strchr( ebp_16412, 10 ) );
            }
            {
                unsigned char altbuf[8192];
                cp[0] = buf[0];
                if ( cp[0] == '#' || ( cp[0] & 255 ) == 0 )
                    continue;
                else
                {
                    cp[0] = cp[0] + 1;
                    if ( cp[1] )
                    {
                        cp[0] = 0;
                        cp[0] = cp[1];
                    }
                    else
                        cp[0] = cp[0];
                    if ( ( cp[0] & 255 ) == 0 )
                        continue;
                    else
                    {
                        size_t alias_len;
                        size_t value_len;
                        if ( cp[1] )
                        {
                            if ( cp[1] == 10 )
                            {
                                cp[1] = 0;
                                cp[1] = 10;
                            }
                            else
                                cp[1] = 0;
                        }
                        if ( maxmap <= nmap )
                        {
                            if ( realloc( map, 800 ? 800 << 4 : 800 ) )
                            {
                                map = (struct sgml_node_info*)realloc( map, 800 ? 800 << 4 : 800 );
                                maxmap = edx;
                            }
                        }
                        alias_len = strlen( &cp[0] ) + 1;
                        value_len = strlen( &cp[0] ) + 1;
                        if ( string_space_act + value_len + alias_len <= string_space_max )
                        {
                        }
                        else
                        {
                            size_t new_size = new_pool[ (unsigned char)( ( value_len + alias_len < 1024 ) ^ 1 ) ? 1024 : value_len + alias_len ];
                            unsigned char *new_pool = (unsigned char*)realloc( string_space, new_pool[ (unsigned char)( ( value_len + alias_len < 1024 ) ^ 1 ) ? 1024 : value_len + alias_len ] );
                            if ( new_pool )
                            {
                                if ( string_space == new_pool )
                                {
                                }
                                else
                                {
                                    size_t i;
                                    if ( nmap )
                                    {
                                        string_space[0] = new_pool - string_space;
                                        i = 0;
                                        do
                                        {
                                            map->string.length += new_pool - string_space;
                                            map->string.string += new_pool - string_space;
                                            i++;
                                        }
                                        while ( i + 1 < nmap );
                                    }
                                    else
                                    {
                                    }
                                }
                                string_space_max = new_size;
                                string_space = new_pool;
                            }
                        }
                        map->string.length = memcpy( string_space + added, &cp[0] );
                        string_space_act += ebp_16444;
                        map->string.string = (unsigned char*)memcpy( &string_space[ ebp_16444 + string_space_act ], &cp[0] );
                        string_space_act += ebp_16440;
                        nmap++;
                        added++;
                    }
                }
            }
        }
        fclose( &fp[0] );
        if ( added )
            qsort( map, nmap, 8, &alias_compare );
    }
    if ( 0 ^ 0 )
    {
        __stack_chk_fail(  );
    }
    return added;
}