Giter Site home page Giter Site logo

Comments (5)

wedesoft avatar wedesoft commented on June 10, 2024

Ok, I have changed the configure script to look for Googletest source code as well as libgtest. I have tested it with both configurations. Let me know if I should make a new release with this change.

from anymeal.

bkmgit avatar bkmgit commented on June 10, 2024

Thanks for this update. Tested on both Googletest 1.12 and 1.13 so can relax the version to at least include those. #41
A new release would be great.

from anymeal.

bkmgit avatar bkmgit commented on June 10, 2024

Recode exception test seems to timeout https://download.copr.fedorainfracloud.org/results/fed500/anymeal/fedora-rawhide-x86_64/06541861-anymeal/builder-live.log

On the command line trying

$ echo Äpfel > test.txt
$ recode utf8..ascii test.txt 
recode: /home/fedora/test.txt failed: Untranslatable input in step `ISO-10646-UCS-2..ANSI_X3.4-1968'

from anymeal.

bkmgit avatar bkmgit commented on June 10, 2024

The following program also hangs:

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <recodext.h>

const char *program_name;

int
main (int argc, char *const *argv)
{
  program_name = argv[0];
  RECODE_OUTER outer = recode_new_outer (true);
  RECODE_REQUEST request = recode_new_request (outer);
  char input_buffer[10] = "Äpfel";
  char *output_buffer;
  size_t output_length;
  size_t input_length = 6;
  size_t output_allocated;
  bool success;

  success = recode_scan_request (request, "latin1..ascii");
  request->verbose_flag = true;
  success = recode_buffer_to_buffer(request,
                  input_buffer, input_length,
                  &output_buffer, &output_length, &output_allocated);
  if (success) printf("%s\n",output_buffer);
  
  recode_delete_request (request);
  recode_delete_outer (outer);

  exit (success ? 0 : 1);
}

So probably an issue with recode library.

from anymeal.

wedesoft avatar wedesoft commented on June 10, 2024

I switched to iconv and released version 1.26. I hope this will work better since it is part of GNU libc.

from anymeal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.