- Name: perl-File-AtomicWrite
- Version: 1.210.0
- Release: 2.mga8
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/File-AtomicWrite
- Summary: Writes files atomically via rename()
- Architecture: noarch
- Size: 40727
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
Description:
This module offers atomic file writes via a temporary file created in the
same directory (and therefore, probably the same partition) as the
specified *file*. After data has been written to the temporary file, the
'rename' call is used to replace the target *file*. The module optionally
supports various sanity checks (*min_size*, *CHECKSUM*) that help ensure
the data is written without errors.
Should anything go awry, the module will 'die' or 'croak'. All calls should
be wrapped in eval blocks:
eval {
File::AtomicWrite->write_file(...);
};
if ($@) {
die "uh oh: $@";
}
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: localhost 1581685623
- Buildhost: localhost
Sources packages:
Other version of this rpm: