components/openscap/patches/rpl_getline.patch
changeset 3595 3fab3649e6cd
parent 3594 ec73a5dd77e2
child 3596 042f4e7a6dbe
equal deleted inserted replaced
3594:ec73a5dd77e2 3595:3fab3649e6cd
     1 This patch fixes the tests to run on solaris.
       
     2 This patch has not been contributed upstream, but is planned to be done by
       
     3  2013-Jul-12.
       
     4 
       
     5 --- openscap-0.8.1/tests/API/SEAP/test_api_seap_parser.c.orig	2012-04-16 05:46:10.857636161 -0700
       
     6 +++ openscap-0.8.1/tests/API/SEAP/test_api_seap_parser.c	2012-04-16 05:46:33.459579066 -0700
       
     7 @@ -52,7 +52,7 @@
       
     8  #elif defined(__linux__) || defined(__GLIBC__)
       
     9                          getline (&input, &inlen, stdin);
       
    10  #elif defined(__SVR4) && defined(__sun)
       
    11 -                        rpl_getline (&input, &inlen, stdin);
       
    12 +                        getline (&input, &inlen, stdin);
       
    13  #else
       
    14  # error "FIXME"
       
    15  #endif
       
    16 --- openscap-0.8.1/tests/API/SEAP/test_api_sexp_ID.c.orig	2012-04-16 05:47:12.392123448 -0700
       
    17 +++ openscap-0.8.1/tests/API/SEAP/test_api_sexp_ID.c	2012-04-16 05:47:21.468821876 -0700
       
    18 @@ -42,7 +42,7 @@
       
    19  #elif defined(__linux__) || defined(__GLIBC__)
       
    20                          getline (&input, &inlen, stdin);
       
    21  #elif defined(__SVR4) && defined(__sun)
       
    22 -                        rpl_getline (&input, &inlen, stdin);
       
    23 +                        getline (&input, &inlen, stdin);
       
    24  #else
       
    25  # error "FIXME"
       
    26  #endif