Changeset 6b7828 in git


Ignore:
Timestamp:
Sep 11, 2013, 5:06:31 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
1e5bbd70c45325682c85dd82ac76bdd5d0cdecbf
Parents:
152ec74edbee09b172a256b0a6b596d4c76046ebfab2ac77da13bbb52cf53fb19b26eac2b7f4d24c
Message:
Merge pull request #365 from steenpass/changes_from_master

Changes from master (links, signals)
Files:
2 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • Singular/links/s_buff.h

    r152ec74 r6b7828  
    3030int s_isready(s_buff F);
    3131int s_iseof(s_buff F);
    32 
    33 extern sigset_t ssi_sigmask; // set in ssiLink.cc
    34 extern sigset_t ssi_oldmask; // set in ssiLink.cc
    3532#endif
  • Singular/links/silink.cc

    r152ec74 r6b7828  
    136136    if (SI_LINK_OPEN_P(l))
    137137    {
    138       if (l->m->Kill != NULL) l->m->Kill(l);
    139       else if (l->m->Close != NULL) l->m->Close(l);
    140     }
     138      if (l->m->Close != NULL) l->m->Close(l);
     139    }
     140    if ((l->data != NULL) && (l->m->Kill != NULL)) l->m->Kill(l);
    141141    omFree((ADDRESS)l->name);
    142142    omFree((ADDRESS)l->mode);
  • configure.ac

    rfab2ac7 r6b7828  
    4242AC_CHECK_HEADERS(unistd.h iostream.h sys/time.h sys/times.h asm/sigcontext.h)
    4343
    44 AC_CHECK_FUNCS(readlink getcwd getwd setenv putenv pselect)
     44AC_CHECK_FUNCS(readlink getcwd getwd setenv putenv)
    4545
    4646
  • factory/cf_gcd_smallp.cc

    rfab2ac7 r6b7828  
    737737        if (((degree (ppCoF,1)+degree (ppH,1) == bound1) &&
    738738             (degree (ppCoG,1)+degree (ppH,1) == bound2) &&
    739              terminationTest (ppA, ppB, ppCoF, ppCoG, ppH)) || 
     739             terminationTest (ppA, ppB, ppCoF, ppCoG, ppH)) ||
    740740             (fdivides (ppH, ppA, ppCoF) && fdivides (ppH, ppB, ppCoG)))
    741741        {
     
    17221722
    17231723  N= convertNmod_mat_t2FacCFMatrix (FLINTN);
     1724  delete N;
    17241725  nmod_mat_clear (FLINTN);
    17251726#else
     
    17311732  }
    17321733  mat_zz_p *NTLN= convertFacCFMatrix2NTLmat_zz_p(*N);
     1734  delete N;
    17331735  long rk= gauss (*NTLN);
    17341736
    17351737  N= convertNTLmat_zz_p2FacCFMatrix (*NTLN);
     1738  delete NTLN;
    17361739#endif
    17371740
     
    18091812  long rk= gauss (*NTLN);
    18101813#endif
     1814  delete N;
    18111815  if (rk != M.columns())
    18121816  {
     
    18141818    nmod_mat_clear (FLINTN);
    18151819#endif
    1816     delete N;
    18171820    return CFArray();
    18181821  }
     
    18221825#else
    18231826  N= convertNTLmat_zz_p2FacCFMatrix (*NTLN);
     1827  delete NTLN;
    18241828#endif
    18251829  CFArray A= readOffSolution (*N, rk);
  • kernel/mod2.h.cmake.in

    r152ec74 r6b7828  
    261261 * Miscellanous Defines
    262262 ******************************************************************/
    263 /* Under HPUX 9, system(...) returns -1 if SIGCHLD does not equal
    264    SIG_DFL. However, if it stays at SIG_DFL we get zombie processes
    265    for terminated childs generated by fork. Therefors some special treatment
    266    is necessary */
    267 #ifdef HPUX_9
    268 #include <stdlib.h>
    269 #define system hpux9_system
    270 #ifdef __cplusplus
    271 extern "C" {
    272 #endif
    273 int hpux9_system(const char* system);
    274 #ifdef __cplusplus
    275 }
    276 #endif
    277 #endif
    278 
    279263#ifndef HAVE_LIBPARSER
    280264#  undef YYLPDEBUG
  • kernel/structs.h

    r152ec74 r6b7828  
    8989extern "C" {
    9090#endif
    91 void  m2_end(int i) __attribute__((noreturn));
     91void  m2_end(int i);
    9292#ifdef __cplusplus
    9393}
  • libpolys/polys/ext_fields/transext.cc

    rfab2ac7 r6b7828  
    17931793      if (p_IsOne(num_f, ntRing))
    17941794      {
    1795         //DEN(result)=NULL;// Alloc0
    1796         COM(result) = 0;
     1795        DEN(result)=NULL;
     1796        //COM(result) = 0;
    17971797        p_Delete(&num_f,ntRing);
    17981798      }
Note: See TracChangeset for help on using the changeset viewer.