Changeset 5
- Timestamp:
- Dec 22, 2005, 11:52:26 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1 r5 37 37 dnl start 38 38 dnl 39 AM_INIT_AUTOMAKE(samhain, 2.1.1 )39 AM_INIT_AUTOMAKE(samhain, 2.1.1a) 40 40 AC_CANONICAL_HOST 41 41 -
trunk/docs/Changelog
r3 r5 1 1 2 2.1.1: 2 2.1.1a (22-12-2005): 3 * fixed a stupid bug in sh_files.c (break if file = dir) 4 5 2.1.1 (21-12-2005): 3 6 * sh_calls.c: protect sh_calls_set_bind_addr against overriding 4 7 * comINSTALL, updateDB: use locking -
trunk/src/sh_error.c
r1 r5 1536 1536 SH_ERR_STAMP | SH_ERR_ERR | SH_ERR_SEVERE | 1537 1537 SH_ERR_FATAL); 1538 flag_err_info = SL_TRUE; 1538 1539 #endif 1539 1540 errFlags.exportlevel = (SH_ERR_STAMP | SH_ERR_ERR | SH_ERR_SEVERE | -
trunk/src/sh_files.c
r1 r5 941 941 dst_ptr->checked = S_TRUE; 942 942 status = S_TRUE; 943 break;944 943 } 945 944 else 946 945 { 947 946 status = S_TRUE; 948 break;949 947 } 950 948 } … … 1618 1616 checked_flag = dst_ptr->checked; 1619 1617 cchecked_flag = dst_ptr->childs_checked; 1620 break;1621 1618 } 1622 1619 … … 1634 1631 checked_flag = dst_ptr->checked; 1635 1632 cchecked_flag = dst_ptr->childs_checked; 1636 break;1637 1633 } 1638 1634 } … … 1649 1645 checked_flag = dst_ptr->checked; 1650 1646 cchecked_flag = dst_ptr->childs_checked; 1651 break;1652 1647 } 1653 1648 … … 1725 1720 cchecked_flag = dst_ptr->childs_checked; 1726 1721 checked_flag = dst_ptr->checked; 1727 break;1728 1722 } 1729 1723 … … 1743 1737 cchecked_flag = dst_ptr->childs_checked; 1744 1738 checked_flag = dst_ptr->checked; 1745 break;1746 1739 } 1747 1740 } … … 2157 2150 aud_exit(FIL__, __LINE__, EXIT_FAILURE); 2158 2151 2152 2159 2153 /* 2160 2154 retval = sh_files_test_double (zfileList, NULL); -
trunk/src/slib.c
r1 r5 2160 2160 { 2161 2161 byteread = read (fd, buf, count); 2162 if (byteread >0)2162 if (byteread != -1 && byteread != 0) 2163 2163 { 2164 2164 bytes += byteread; count -= byteread; … … 2252 2252 } 2253 2253 } while ( byteread > 0 || 2254 ( byteread < 0&& (errno == EINTR || errno == EAGAIN))2254 ( byteread == -1 && (errno == EINTR || errno == EAGAIN)) 2255 2255 ); 2256 2256 … … 2297 2297 return (byteread); 2298 2298 } 2299 } while ( byteread < 0&& (errno == EINTR || errno == EAGAIN));2299 } while ( byteread == -1 && (errno == EINTR || errno == EAGAIN)); 2300 2300 2301 2301
Note:
See TracChangeset
for help on using the changeset viewer.