Commit Graph

678 Commits

Author SHA1 Message Date
Thomas Schmitt aeb5258ae2 Removed rogue comma from FreeBSD ACL adapter 2011-08-18 16:06:33 +02:00
Thomas Schmitt f10c2d7779 New API call iso_local_attr_support() 2011-08-18 15:07:31 +02:00
Thomas Schmitt 82bfcf429a Bug fix: No ACLs were recorded on FreeBSD. 2011-08-18 10:29:34 +02:00
Thomas Schmitt 8fb8c01a0f Corrected a theoretical flaw in a code path which is not yet used. 2011-08-18 10:28:41 +02:00
Thomas Schmitt 73910e2f3c Bug fix: ACL entries of groups and of user id 0 were not properly recorded
and cannot be restored.
2011-08-18 10:26:09 +02:00
Thomas Schmitt 9c5fc21679 Small change in a comment 2011-08-18 10:24:47 +02:00
Thomas Schmitt 3a82f213e0 Implemented direct iconv conversion for the case that the traditional
two-step conversion via character set "WCHAR_T" fails. E.g. on Solaris.
2011-08-11 18:22:49 +02:00
Thomas Schmitt 6892c734e2 Bug fix: The function for restoring ACLs and xattr returned error on
FreeBSD, even if no xattr were to be restored.
2011-08-09 19:00:03 +02:00
Thomas Schmitt 66f6937c17 Clarified stream version prescription and made internal stream data
instances static.
2011-08-09 14:59:19 +02:00
Thomas Schmitt baa5b7cd42 Added missing symbol serial_id to libisofs.ver 2011-08-09 14:58:46 +02:00
Thomas Schmitt ecdb3aeb1d Version leap to 1.1.5 2011-08-08 13:58:43 +02:00
Thomas Schmitt 745a878884 Version leap to 1.1.4 2011-08-08 09:35:46 +02:00
Thomas Schmitt 6ae8386c23 Bug fix: The function for restoring ACLs and xattr returned error on systems
other than Linux and FreeBSD, even if nothing was to be restored.
2011-08-08 08:25:18 +02:00
Thomas Schmitt b90e613246 Reacted on warnings of cppcheck 2011-07-11 12:44:12 +02:00
Thomas Schmitt bbc3caf86b Reacted on warnings of cppcheck 2011-07-11 12:43:12 +02:00
Thomas Schmitt b086d53274 Reacted on warnings of cppcheck 2011-07-11 12:41:30 +02:00
Thomas Schmitt 17b36623a6 Version leap to 1.1.3 2011-07-08 14:42:09 +02:00
Thomas Schmitt 286648574d Version leap to 1.1.2 2011-07-08 10:28:12 +02:00
Thomas Schmitt 541b41b6a1 Clarified a comment about retrieving content of boot catalog. 2011-07-07 14:11:30 +02:00
Thomas Schmitt 91a8be5262 Silenced a warning of cppcheck about possible null pointer dereference. 2011-07-06 12:31:37 +02:00
Thomas Schmitt 91e99703b4 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 18:54:11 +02:00
Thomas Schmitt dd7dac3397 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:07:35 +02:00
Thomas Schmitt 43d4833dd6 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:06:16 +02:00
Thomas Schmitt dd1629b5ca Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:04:05 +02:00
Thomas Schmitt bc8138ce78 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:00:29 +02:00
Thomas Schmitt 2d568c1dbb Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:56:26 +02:00
Thomas Schmitt 842b62d111 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:50:52 +02:00
Thomas Schmitt 4f3357e3ec Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:39:38 +02:00
Thomas Schmitt 9ffe91c372 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:37:55 +02:00
Thomas Schmitt 7e2add413a Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:35:43 +02:00
Thomas Schmitt 004aefd0b7 New API call iso_image_get_bootcat() 2011-07-03 21:02:19 +02:00
Thomas Schmitt 00955ba85c Version leap to 1.1.1 2011-06-18 19:22:11 +02:00
Thomas Schmitt 4a79812d15 Version leap to 1.1.0 2011-06-18 14:23:02 +02:00
Thomas Schmitt 35cfb756be Bug fix: Padding as of iso_write_opts_set_tail_blocks() was added only
after cylinder alignment as of iso_write_opts_set_system_area()
         and thus spoiled this alignment.
2011-06-15 17:09:48 +02:00
Thomas Schmitt 2835fccfa4 Replaced some large local variables by other means in libisofs/util.c 2011-06-12 12:46:52 +02:00
Thomas Schmitt 31c7f68990 Replaced some large local variables by other means in libisofs/system_area.c 2011-06-12 12:28:38 +02:00
Thomas Schmitt 4e0ca258de Replaced some large local variables by other means in libisofs/stream.c 2011-06-12 09:59:53 +02:00
Thomas Schmitt 9653854462 Replaced some large local variables by other means in libisofs/rockridge.c 2011-06-12 09:51:08 +02:00
Thomas Schmitt 6e95f8bbcb Replaced some large local variables by other means in libisofs/messages.c 2011-06-11 22:23:44 +02:00
Thomas Schmitt ce3aa0d5c7 Replaced some large local variables by other means in libisofs/md5.c 2011-06-11 19:23:32 +02:00
Thomas Schmitt d5bfc552c4 Replaced some large local variables by other means in libisofs/joliet.c 2011-06-11 16:33:57 +02:00
Thomas Schmitt bad54a5967 Replaced some large local variables by other means in libisofs/iso1999.c 2011-06-11 13:42:55 +02:00
Thomas Schmitt 49b0a89bfe Replaced some large local variables by other means in libisofs/fs_image.c 2011-06-11 12:40:33 +02:00
Thomas Schmitt 265df5fbe3 Replaced some large local variables by other means in libisofs/filesrc.c 2011-06-11 11:08:20 +02:00
Thomas Schmitt f089bcf66a Replaced some large local variables by other means in libisofs/ecma119.c 2011-06-10 14:55:57 +02:00
Thomas Schmitt 062e5f0bf0 Changed error code of libisofs/util.h from -1 to ISO_OUT_OF_MEM 2011-06-10 14:55:34 +02:00
Thomas Schmitt d932bfcdea Replaced some large local variables by other means in libisofs/builder.c 2011-06-09 16:51:00 +02:00
Thomas Schmitt 3ef67cb49d Replaced some large local variables by other means in libisofs/aaip_0_2.c 2011-06-09 14:27:41 +02:00
Thomas Schmitt f08ae22dbe Macros LIBISO_ALLOC_MEM, LIBISO_FREE_MEM for replaceing local variables 2011-06-09 14:23:21 +02:00
Thomas Schmitt 023e413624 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for
libisofs/aaip-os-freebsd.c
2011-06-02 10:28:52 +02:00
Thomas Schmitt d361186bca Made callers of iso_file_source_get_path() aware that NULL might be returned. 2011-06-01 11:37:30 +02:00
Thomas Schmitt e7d9559d16 Avoiding to produce NM field for "." and ".." entries if Rock Ridge
version 1.10 is chosen by iso_write_opts_set_rrip_version_1_10()
2011-06-01 11:34:45 +02:00
Thomas Schmitt 94eecbb123 Reacted on static code checker warning reported by George Danchev 2011-05-22 20:23:48 +02:00
Thomas Schmitt 2b8d47ddd8 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for util_rbtree.c 2011-05-21 23:21:14 +02:00
Thomas Schmitt e839b7b368 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for util.c 2011-05-21 23:20:44 +02:00
Thomas Schmitt 1334027a83 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for tree.c 2011-05-21 23:19:34 +02:00
Thomas Schmitt 8d3a0a6a9e Reacted on -Wextra -Wno-unused-parameter warnings of gcc for system_area.c 2011-05-21 23:19:06 +02:00
Thomas Schmitt 7b7ea41f12 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for stream.c 2011-05-21 23:18:35 +02:00
Thomas Schmitt bb5886094e Reacted on -Wextra -Wno-unused-parameter warnings of gcc for rockridge_read.c 2011-05-21 23:18:00 +02:00
Thomas Schmitt b076ce9b44 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for rockridge.c 2011-05-21 23:17:38 +02:00
Thomas Schmitt 05f26898f3 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for node.c 2011-05-21 23:16:35 +02:00
Thomas Schmitt a698f0ee22 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for messages.c 2011-05-21 23:16:10 +02:00
Thomas Schmitt e69854b35f Reacted on -Wextra -Wno-unused-parameter warnings of gcc for md5.c 2011-05-21 23:15:48 +02:00
Thomas Schmitt 228995c148 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for make_isohybrid_mbr.c 2011-05-21 23:15:19 +02:00
Thomas Schmitt 071e14f9b0 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for joliet.c 2011-05-21 23:14:49 +02:00
Thomas Schmitt b08d6271ab Reacted on -Wextra -Wno-unused-parameter warnings of gcc for iso1999.c 2011-05-21 23:14:16 +02:00
Thomas Schmitt 431d31fff6 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for fs_local.c 2011-05-21 23:13:40 +02:00
Thomas Schmitt a37571c6c5 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for fs_image.c 2011-05-21 23:13:16 +02:00
Thomas Schmitt 6e98006640 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for filters/zisofs.c 2011-05-21 23:12:29 +02:00
Thomas Schmitt d264e818c3 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for filters/gzip.c 2011-05-21 23:11:48 +02:00
Thomas Schmitt d0f740facf Reacted on -Wextra -Wno-unused-parameter warnings of gcc for eltorito.c 2011-05-21 23:11:18 +02:00
Thomas Schmitt 944b5a6152 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for ecma119_tree.c 2011-05-21 23:10:21 +02:00
Thomas Schmitt b51232fef4 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for ecma119.c 2011-05-21 23:09:44 +02:00
Thomas Schmitt 99f037e210 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for buffer.c 2011-05-21 23:08:53 +02:00
Thomas Schmitt c794a48a06 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for aaip_0_2.c 2011-05-21 23:08:14 +02:00
Thomas Schmitt 47d599e8c3 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for aaip-os-linux.c 2011-05-21 23:05:17 +02:00
Thomas Schmitt 0a87e838df Mentioned the need to define uint32_t when including libisofs.h 2011-05-19 15:43:44 +02:00
Thomas Schmitt 6d68abc707 Version leap to 1.0.9 2011-05-12 18:59:38 +02:00
Thomas Schmitt e80dd0735b Version leap to 1.0.8 2011-05-12 18:55:58 +02:00
Thomas Schmitt 1d723f0834 Corrected an inappropriate variable type when setting xattr or ACL. 2011-05-12 16:22:02 +02:00
Thomas Schmitt 1a4b2a2584 Bug fix: SIGSEGV if the path given by iso_image_add_mips_boot_file()
does not exist in the image at image production time.
2011-05-09 15:32:27 +02:00
Thomas Schmitt 4eb2a7199c Bug fix: iso_write_opts_set_system_area() with system area types
1=MIPS Big Endian and 2=MIPS Little Endian caused SIGSEGV.
2011-05-09 15:12:52 +02:00
Thomas Schmitt 6d5e68fd01 Clarified two comments. 2011-05-06 13:32:06 +02:00
Thomas Schmitt fed8b23017 Returning proper error code on memory shortage with iso_node_lookup_attr(). 2011-05-06 13:30:37 +02:00
Thomas Schmitt e3329a98a9 Corrected previous revision which freed memory too generously 2011-05-01 22:49:34 +02:00
Thomas Schmitt 49efbdad76 Closed tiny memory leak detected by valgrind. 2011-05-01 16:44:20 +02:00
Thomas Schmitt 9538a5d57b Performing collision test before FileSource creation in iso_tree_add_new_node() 2011-04-28 20:24:17 +02:00
Thomas Schmitt 81608815ae Closed a memory leak which happened in case of memory shortage. 2011-04-11 20:49:03 +02:00
Thomas Schmitt ae5ab4a08f Closed a memory leak of 32 kB per loaded ISO image. 2011-04-11 20:47:34 +02:00
Thomas Schmitt 76b6737570 Bug fix: While loading an ISO image several reads to malloc
memory occured with byte index -1. (Found by Valgrind after years
of operation without visible problems.)
2011-04-11 20:19:35 +02:00
Thomas Schmitt 9210a57500 Version leap to 1.0.7 2011-04-09 11:11:36 +02:00
Thomas Schmitt 8a752b50fa Version leap to 1.0.6 2011-04-08 19:47:18 +02:00
Thomas Schmitt 73c9c7f244 Removed inactive debugging code 2011-04-08 18:56:08 +02:00
Thomas Schmitt 0b9f03bb23 Fixed a typo in comments 2011-04-05 09:20:25 +02:00
Thomas Schmitt d1c3a017e3 Cleaned up use of PATH_MAX (local filesystem) and LIBISOFS_NODE_PATH_MAX
(ISO filesystem).
2011-04-03 11:02:15 +02:00
Thomas Schmitt b200feceed Requiring libjte version 1.0.0 (if libjte is to be linked at all). 2011-04-02 16:30:23 +02:00
Thomas Schmitt c0bdf4d3b5 Reacted on warning about theoretical memory leak. 2011-03-28 20:43:13 +02:00
Thomas Schmitt 71efc996e3 New error code ISO_RR_PATH_TOO_LONG. 2011-03-28 15:00:44 +02:00
Thomas Schmitt 61383dea2d New error codes ISO_RR_NAME_TOO_LONG and ISO_RR_NAME_RESERVED for
occasions which previously returned ISO_WRONG_ARG_VALUE.
2011-03-26 20:54:20 +01:00
Thomas Schmitt 270cd1cad5 Closed a memory leak found by valgrind. 2011-03-26 19:23:51 +01:00
Thomas Schmitt 559e9b564d New API call iso_write_opts_set_joliet_long_names() 2011-03-26 15:38:08 +01:00
Thomas Schmitt ba67523278 Version leap to 1.0.5 2011-03-10 13:43:13 +01:00
Thomas Schmitt f09964cf51 Version leap to 1.0.4 2011-03-10 09:22:57 +01:00
Thomas Schmitt 655d86b97a Bug fix: Compilation failed if --disable-zlib was configured 2011-03-09 21:24:47 +01:00
Thomas Schmitt f2f780115b New no_md5 value 2 for API call iso_read_opts_set_no_md5() 2011-03-08 19:37:52 +01:00
Thomas Schmitt b6be8457f7 Fixed a memory hog introduced with rev 775. 2011-03-07 11:11:58 +01:00
Thomas Schmitt 1238c19494 Changed message about cylinder alignment. 2011-03-04 15:14:11 +01:00
Thomas Schmitt 2caf527f67 Refusign cylinder alignment if it is impossible to do it exactly. 2011-03-04 11:24:36 +01:00
Thomas Schmitt 43eae7502b New option bits 8 and 9 with iso_write_opts_set_system_area(). 2011-03-03 19:14:40 +01:00
Thomas Schmitt e035146e01 Bug fix: isohybrid image size was not aligned to cylinder boundary.
Now the cylinder size gets adjusted if the image does not fit into 1024 cyl.
2011-03-01 18:31:59 +01:00
Thomas Schmitt de3e21629f Corrected little flaws detected by George Danchev with cpp. 2011-02-24 20:02:56 +01:00
Thomas Schmitt d79a3fcec4 Incresed mismatch test severity to FATAL again. 2011-02-23 20:16:59 +01:00
Thomas Schmitt de079cec42 Version leap to 1.0.3 2011-02-23 20:14:10 +01:00
Thomas Schmitt b33d06eb0c Version leap to 1.0.2 2011-02-23 13:01:56 +01:00
Thomas Schmitt dfdaa2902a Reduced size mismtach test severity to WARNING.
This shall avoid the risk of false positives as long as the test is new.
2011-02-23 12:11:57 +01:00
Thomas Schmitt a118127e9c Re-enabled use of system provide function timegm(), if available. 2011-02-21 13:46:46 +01:00
Thomas Schmitt 1f24b39879 Corrected sequence of IsoNode xinfo list after cloning. 2011-02-21 12:35:50 +01:00
Thomas Schmitt 16863755be Installed a check for miscalculated ECMA-119 tree size. 2011-02-20 12:10:26 +01:00
Thomas Schmitt b25ac0f52d Avoided to give directories the same PX inode number.
(Solaris believes in them.)
2011-02-18 18:59:00 +01:00
Thomas Schmitt 5c59295e72 Bug fix: With a probability of 2 to 5 percent, AAIP could spoil the image
by miscalculating the number of root directory's CE blocks.
This lead to fatal offset of all further data by one block.
All sub directories and all data file content is affected.
Quite obvious to see. The problem existed since March 2009.
AAIP is used for recording of ACL and xattr. The problem gets enabled by call
iso_write_opts_set_aaip(opts, 1).
2011-02-18 17:39:21 +01:00
Thomas Schmitt 85893bf58b Removed warning not to use iso_tree_clone(). 2011-02-15 15:24:31 +01:00
Thomas Schmitt 722327e4b8 Overwriting eventually existing cloner of iso_node_xinfo_func with
iso_node_xinfo_make_clonable().
2011-02-12 14:48:31 +01:00
Thomas Schmitt ab0a981814 Added capability to merge directories of cloned tree with existing
target tree.
2011-02-12 13:52:17 +01:00
Thomas Schmitt 38483d894e Added missing iso_filesystem_ref() for cloned node from local filesystem. 2011-02-01 22:16:05 +01:00
Thomas Schmitt 1082e628d1 New API calls iso_tree_clone(), iso_stream_clone.
New IsoFileSourceIface version 2 with method clone_src().
New IsoStreamIface version 4 with method clone_stream().
New public function prototype iso_node_xinfo_cloner.
New API calls iso_node_xinfo_make_clonable(), iso_node_xinfo_get_cloner().
New public iso_node_xinfo_cloner instance aaip_xinfo_cloner().
New API calls iso_node_get_next_xinfo(), iso_node_remove_all_xinfo().
New API call iso_node_remove_tree().
2011-02-01 19:16:45 +01:00
Thomas Schmitt 74c68224c7 Changed name of freshly introduce API call iso_write_opts_set_high_empty_address
to iso_write_opts_set_old_empty, reverted the meaning and the default.
2011-01-26 19:38:50 +01:00
Thomas Schmitt 200697898d New API call iso_write_opts_set_high_empty_address(). 2011-01-26 14:24:18 +01:00
Thomas Schmitt a3eeda3d23 Yet incomplete implementation of IsoNode cloning.
(Commited to avoid tangling with upcomming 
 iso_write_opts_set_no_dummy_block_adr())
2011-01-25 10:50:37 +01:00
Thomas Schmitt 92073c45ef Bug fix: Volume Descriptor Set Terminator contained non-zero bytes in
the reserved field (ECMA-119 8.3.4). The bytes stem from an uninitialized
local variable.
2011-01-24 15:03:09 +01:00
Thomas Schmitt 81cded618d Better hiding of a defunct #ifndef 2011-01-18 17:50:26 +01:00
Thomas Schmitt 84c0bd37ff Avoiding <stdint.h> if not available. Trying to use <inttypes.h> in that case. 2011-01-18 16:18:09 +01:00
Thomas Schmitt 4e60feaeab Avoiding the use of setenv() and unsetenv() which are not available
on Solaris 9.
2011-01-18 15:26:19 +01:00
Thomas Schmitt d6e150a10e Version leap to 1.0.1 2011-01-16 13:35:07 +01:00
Thomas Schmitt 35ceac65f7 Version leap to 1.0.0 2011-01-16 13:29:39 +01:00
Thomas Schmitt 45ffdef845 Closed loophole for undefined variable with new call
iso_write_opts_set_untranslated_name_len()
2011-01-16 13:28:07 +01:00
Thomas Schmitt a69f45e8cd Made provisory test for directory record overflow permanent 2011-01-16 11:10:08 +01:00
Thomas Schmitt 68c3ae522e Added iso_memory_stream_new to list of public symbols. 2011-01-01 15:07:10 +01:00
Thomas Schmitt 8e2748f23b New API call iso_memory_stream_new(). (Was formely a private acll.) 2011-01-01 14:55:26 +01:00
Thomas Schmitt f923a79929 New API call iso_write_opts_set_allow_dir_id_ext() 2010-12-25 08:11:19 +01:00
Thomas Schmitt 362b15f4d5 Bug fix: ECMA-119 directory names were truncated to 8 characters if
lowercase characters or full ASCII are allowed.
2010-12-24 20:31:24 +01:00
Thomas Schmitt 2649045dfe New API call iso_write_opts_set_untranslated_name_len() 2010-12-22 14:21:00 +01:00
Thomas Schmitt 113358daea Version leap to 0.6.41 2010-12-10 12:42:43 +01:00
Thomas Schmitt 6927fd35e8 Version leap to 0.6.40 2010-12-10 11:27:46 +01:00
Thomas Schmitt b2fde289b1 Removed old change timestamp 2010-12-10 11:15:42 +01:00
Thomas Schmitt dcc6ffd184 Avoiding to start writer thread if iso_write_opts_set_will_cancel() is set to 1. 2010-12-06 17:05:35 +01:00
Thomas Schmitt 27e69c38ab New error reply code ISO_DISPLACE_ROLLOVER for external data sources with
address displacement.
2010-11-30 09:47:22 +01:00
Thomas Schmitt f4b2bfc0d6 Better messages if boot image or boot catalog directory are missing. 2010-11-25 17:01:40 +01:00
Thomas Schmitt 5482d5d7b4 Improvements about the block address of empty data files 2010-11-25 14:40:44 +01:00
Thomas Schmitt b2997dcc46 New API call iso_write_opts_set_will_cancel() 2010-11-24 11:00:21 +01:00
Thomas Schmitt 48ae8acbd6 Better handling of El Torito boot images with identical block address
at image load time.
2010-11-24 10:06:19 +01:00