Print this page
Code review comments from jeffpc


1305        accessing the old file contents to continue running. If the old file
1306        has no other links, the disk space of the removed file is freed when
1307        the last process referencing the file terminates.
1308 
1309 
1310        The behavior of ld when the file being created already exists was
1311        changed with SXCE build 43. In older versions, the existing file was
1312        rewritten in place, an approach with the potential to corrupt any
1313        running processes that is using the file. This change has an
1314        implication for output files that have multiple hard links in the file
1315        system. Previously, all links would remain intact, with all links
1316        accessing the new file contents. The new ld behavior breaks such links,
1317        with the result that only the specified output file name references the
1318        new file. All the other links continue to reference the old file. To
1319        ensure consistent behavior, applications that rely on multiple hard
1320        links to linker output files should explicitly remove and relink the
1321        other file names.
1322 
1323 
1324 
1325                               September 10, 2013                         LD(1)


1305        accessing the old file contents to continue running. If the old file
1306        has no other links, the disk space of the removed file is freed when
1307        the last process referencing the file terminates.
1308 
1309 
1310        The behavior of ld when the file being created already exists was
1311        changed with SXCE build 43. In older versions, the existing file was
1312        rewritten in place, an approach with the potential to corrupt any
1313        running processes that is using the file. This change has an
1314        implication for output files that have multiple hard links in the file
1315        system. Previously, all links would remain intact, with all links
1316        accessing the new file contents. The new ld behavior breaks such links,
1317        with the result that only the specified output file name references the
1318        new file. All the other links continue to reference the old file. To
1319        ensure consistent behavior, applications that rely on multiple hard
1320        links to linker output files should explicitly remove and relink the
1321        other file names.
1322 
1323 
1324 
1325                                  June 6, 2016                            LD(1)