Ticket #38150: patch-src-process_extraspikes-strdupa.diff

File patch-src-process_extraspikes-strdupa.diff, 926 bytes (added by FlorianFranzen@…, 11 years ago)
  • src/process_extractspikes/process_extractspikes.cpp

    old new  
    16161616        char *groups, *currentGroup, *thresholds; // Groups of electrodes and thr
    16171617
    16181618        // extract thresholds from arguments
    1619         groups = strdupa (arguments.thresList); // Split groups
     1619        groups = strdup (arguments.thresList); // Split groups
    16201620        currentGroup = strsep (&groups, GROUP_SEPARATOR); // focus on the 1st group
    16211621
    16221622        while(currentGroup != NULL) {
     
    16651665        char *groups, *currentGroup, *channels; // Groups of electrodes and channels
    16661666
    16671667        // extract channels from arguments
    1668         groups = strdupa (arguments.channelList); // Split groups
     1668        groups = strdup (arguments.channelList); // Split groups
    16691669        currentGroup = strsep (&groups, GROUP_SEPARATOR); // focus on the 1st group
    16701670
    16711671        while(currentGroup != NULL) {