/ [cpio] / cpio / src / util.c
To checkout: cvs -d:pserver:anonymous@cvs.gnu.org.ua:/cvsmirror/cpio co cpio/src/util.c
Puszcza

Log of /cpio/src/util.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.31 - (view) (annotate) - [select for diffs]
Sat Feb 9 10:31:53 2008 UTC (13 years, 11 months ago) by gray
Branch: MAIN
CVS Tags: HEAD
Changes since 1.30: +3 -3 lines
Diff to previous 1.30
* NEWS, configure.ac: Raise the patchlevel number.
* THANKS: Update

* doc/cpio.texi: Fix a typo.
* src/extern.h (warn_if_file_changed): Fix type of the 2nd
argument.
* src/tar.c (write_out_tar_header): Stylistic change.
* src/util.c (copy_files_disk_to_disk): Fix types of automatic
variables.
(warn_if_file_changed): Fix type of the 2nd argument.

Patches supplied by Ladislav Michnovic.


Revision 1.30 - (view) (annotate) - [select for diffs]
Fri Feb 8 10:25:06 2008 UTC (13 years, 11 months ago) by gray
Branch: MAIN
Changes since 1.29: +5 -5 lines
Diff to previous 1.29
Update


Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Feb 8 09:28:51 2008 UTC (13 years, 11 months ago) by gray
Branch: MAIN
Changes since 1.28: +7 -2 lines
Diff to previous 1.28
Fix mingw build. Thanks to Robert Millan.

* NEWS, THANKS: Update.
* bootstrap: Create lib/system.c, m4/sysdep.m4, update lib/system.h.
* mingw.m4, sysdep.m4: New files.
* configure.ac: Raise version number to 2.9.90.
Call CPIO_SYSDEP. Remove the call to gl_USE_SYSTEM_EXTENSIONS.
(AC_CHECK_HEADERS): Add process.h sys/ioctl.h
* lib/Makefile.am (libcpio_a_SOURCES): Add system.c
* src/idcache.c: Include system.h
* src/userspec.c: Remove alloca stuff (already handled by
gnulib). Include alloca.h.
Remove useless declarations of get.* functions.
* src/util.c: Include sys/ioctl.h conditionally.


Revision 1.28 - (view) (annotate) - [select for diffs]
Thu Jun 28 13:17:04 2007 UTC (14 years, 7 months ago) by gray
Branch: MAIN
Changes since 1.27: +2 -8 lines
Diff to previous 1.27
(apply_delayed_set_stat): Use inverted permissions from data->stat.


Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Jun 28 12:24:16 2007 UTC (14 years, 7 months ago) by gray
Branch: MAIN
Changes since 1.26: +102 -1 lines
Diff to previous 1.26
(create_all_directories): Update call to make_path
(delay_set_stat,repair_delayed_set_stat)
(apply_delayed_set_stat): New functions


Revision 1.26 - (view) (annotate) - [select for diffs]
Wed Jun 27 14:00:00 2007 UTC (14 years, 7 months ago) by gray
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
Relicense under GPLv3


Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Jun 8 09:58:33 2007 UTC (14 years, 7 months ago) by gray
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
Version number 2.8


Revision 1.24 - (view) (annotate) - [select for diffs]
Thu Jun 7 12:04:00 2007 UTC (14 years, 7 months ago) by gray
Branch: MAIN
Changes since 1.23: +32 -8 lines
Diff to previous 1.23
(set_perms): Take file descriptor as the first argument and use fchmod/fchown if available.  Fixes CAN-2005-1111.


Revision 1.23 - (view) (annotate) - [select for diffs]
Thu Jun 7 07:40:54 2007 UTC (14 years, 7 months ago) by gray
Branch: MAIN
Changes since 1.22: +7 -4 lines
Diff to previous 1.22
(set_perms, stat_to_cpio): Use CPIO_UID and CPIO_GID macros to set uid and gid


Revision 1.22 - (view) (annotate) - [select for diffs]
Mon Dec 18 09:49:06 2006 UTC (15 years, 1 month ago) by gray
Branch: MAIN
Changes since 1.21: +7 -5 lines
Diff to previous 1.21
(sparse_write): Static.  Provide a forward
declaration. Define enum sparse_write_states inside the function.


Revision 1.21 - (view) (annotate) - [select for diffs]
Mon Dec 18 09:32:48 2006 UTC (15 years, 1 month ago) by gray
Branch: MAIN
Changes since 1.20: +9 -6 lines
Diff to previous 1.20
 (tape_toss_input, warn_if_file_changed): Last argument is off_t
(warn_if_file_changed): Use ngettext


Revision 1.20 - (view) (annotate) - [select for diffs]
Sat Oct 21 17:09:13 2006 UTC (15 years, 3 months ago) by gray
Branch: MAIN
CVS Tags: release_2_7
Changes since 1.19: +16 -4 lines
Diff to previous 1.19
Use STRINGIFY_BIGINT to display num_bytes


Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Sep 27 09:28:50 2006 UTC (15 years, 4 months ago) by gray
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18
Update copyright year


Revision 1.18 - (view) (annotate) - [select for diffs]
Mon Jul 3 21:52:29 2006 UTC (15 years, 6 months ago) by gray
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
Use cpio_file_stat for internal header representation.


Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Oct 28 13:03:06 2005 UTC (16 years, 3 months ago) by gray
Branch: MAIN
Changes since 1.16: +1 -0 lines
Diff to previous 1.16
Include paxlib.


Revision 1.16 - (view) (annotate) - [select for diffs]
Thu Sep 8 13:13:26 2005 UTC (16 years, 4 months ago) by gray
Branch: MAIN
Changes since 1.15: +19 -10 lines
Diff to previous 1.15
(cpio_safer_name_suffix): Preserve ./ no matter what
the value of strip_leading_dots is.
(set_file_times): New function


Revision 1.15 - (view) (annotate) - [select for diffs]
Wed May 25 13:09:44 2005 UTC (16 years, 8 months ago) by gray
Branch: MAIN
Changes since 1.14: +24 -3 lines
Diff to previous 1.14
(cpio_safer_name_suffix): New function
(add_cdf_double_slashes): Add FIXME warning.


Revision 1.14 - (view) (annotate) - [select for diffs]
Sat May 21 23:22:40 2005 UTC (16 years, 8 months ago) by gray
Branch: MAIN
Changes since 1.13: +36 -103 lines
Diff to previous 1.13
Rewrite inode lookup/insertion functions using hash module


Revision 1.13 - (view) (annotate) - [select for diffs]
Fri May 20 17:15:44 2005 UTC (16 years, 8 months ago) by gray
Branch: MAIN
Changes since 1.12: +82 -0 lines
Diff to previous 1.12
(stat_to_cpio,set_perms): New functions


Revision 1.12 - (view) (annotate) - [select for diffs]
Thu May 19 15:26:52 2005 UTC (16 years, 8 months ago) by gray
Branch: MAIN
Changes since 1.11: +13 -11 lines
Diff to previous 1.11
Use paxutils error reporting functions


Revision 1.11 - (view) (annotate) - [select for diffs]
Thu May 19 09:35:29 2005 UTC (16 years, 8 months ago) by gray
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10
Updated FSF postal mail address.


Revision 1.10 - (view) (annotate) - [select for diffs]
Thu May 19 08:30:13 2005 UTC (16 years, 8 months ago) by gray
Branch: MAIN
Changes since 1.9: +26 -26 lines
Diff to previous 1.9
(copy_files_tape_to_disk, copy_files_disk_to_tape,copy_files_disk_to_disk, disk_fill_input_buffer, write_nuls_to_file): Change num_bytes argument type from long to off_t.
(write_nuls_to_file, copy_files_disk_to_tape,
copy_files_disk_to_disk): Handle "off_t num_bytes" properly.


Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Mar 21 17:59:58 2005 UTC (16 years, 10 months ago) by gray
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
(disk_buffered_write): Fix typo introduced 2005-01-11.


Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Jan 31 12:53:09 2005 UTC (16 years, 11 months ago) by gray
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7
(open_archive): Use MODE_RW.


Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Jan 11 12:29:44 2005 UTC (17 years ago) by gray
Branch: MAIN
Changes since 1.6: +13 -12 lines
Diff to previous 1.6
Use memset instead of bzero, memmove
(or memcpy, if appropriate), instead of bcopy, and
strchr/strrchr instead of index/rindex.
(write_nuls_to_file): Made extern. All callers updated


Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Sep 8 11:45:38 2004 UTC (17 years, 4 months ago) by gray
Branch: MAIN
CVS Tags: release_2_6
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
(create_all_directories): Use dir_name.


Revision 1.5 - (view) (annotate) - [select for diffs]
Tue Sep 7 11:53:37 2004 UTC (17 years, 4 months ago) by gray
Branch: MAIN
Changes since 1.4: +8 -13 lines
Diff to previous 1.4
(write_nuls_to_file): Use buffered I/O. All
callers changed. Thanks Matthew Braithwaite <mab@cnet.com>
for noticing.
Bugfix: extra_bytes was mistakenly used instead of blocks.


Revision 1.4 - (view) (annotate) - [select for diffs]
Mon Sep 6 14:04:53 2004 UTC (17 years, 4 months ago) by gray
Branch: MAIN
Changes since 1.3: +94 -158 lines
Diff to previous 1.3
Switched to ANSI C (sigh)


Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Mar 2 09:20:57 2004 UTC (17 years, 10 months ago) by gray
Branch: MAIN
Branch point for: alpha-2_50_90
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
(copy_files_disk_to_disk): Bugfix. If a file
grew n bytes in copy-pass mode, these n bytes got prepended
to the contents of all subsequent files. Fix provided by
Holger Fleischmann <holger_fleischmann@mra.man.de>


Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Feb 27 14:18:23 2004 UTC (17 years, 11 months ago) by gray
Branch: MAIN
Changes since 1.1: +0 -60 lines
Diff to previous 1.1
Remove __MSDOS__ conditionals


Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Feb 27 13:27:15 2004 UTC (17 years, 11 months ago) by gray
Branch: MAIN
Added to the repository


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20