Changeset 578 for trunk


Ignore:
Timestamp:
May 10, 2022, 10:16:29 PM (3 years ago)
Author:
katerina
Message:

Fix for ticket #466 (double newline stripping).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r577 r578  
    1212dnl start
    1313dnl
    14 AM_INIT_AUTOMAKE(samhain, 4.4.8)
     14AM_INIT_AUTOMAKE(samhain, 4.4.9)
    1515AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1616AC_CANONICAL_HOST
  • trunk/docs/Changelog

    r577 r578  
    1 4.4.8:
     14.4.9:
     2        * fix for double newline stripping when reading from database
     3
     44.4.8 (01-05-2022):
    25        * new server option Alias=alias@hostname (based on
    36        patch by A. Hofland)
  • trunk/src/sh_dbIO.c

    r564 r578  
    379379  if (tmp)
    380380    SH_FREE(tmp);
     381  /* do not strip newline twice...
    381382  if (len > 1) {
    382383    if (path[len-2] == '\n')
    383384      path[len-2] = '\0';
    384385  }
     386  ****/
    385387  return path;
    386388}
     
    656658
    657659  fullpath = unquote_path(line, i);
    658 
     660 
    659661  /* Read next record -- Part Three -- Linkpath
    660662   */
Note: See TracChangeset for help on using the changeset viewer.