1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Jim Meyering 6c35e3c84c Eliminate uses of strdup+basename. Use last_path_component instead.
* lib/misc/util.c, lib/misc/util.h (last_path_component): New files.
* lib/Makefile.in (SOURCES): Add misc/util.c.
* lib/misc/lib.h: Include "util.h".
* tools/fsadm/fsadm.c: Include "util.h". (_usage): Use last_path_component,
not basename.
* tools/lvmcmdline.c (_find_command, lvm2_main): Likewise.
* include/.symlinks: Add lib/misc/util.h.
2007-07-20 15:48:39 +00:00
..
activate Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
cache Add 'scan_sector' parameter to label_read and _find_labeller to add 2007-04-23 18:21:01 +00:00
commands Make warnings go to stderr. Change log_warn to that effect, log_print 2007-06-28 17:33:44 +00:00
config Use gcc's printf attribute wherever possible. 2007-07-20 15:38:19 +00:00
datastruct Fix warnings on x86_64 involving ptrdiff_t: 2007-04-26 16:40:46 +00:00
device Move regex functions into libdevmapper. 2007-04-27 18:52:05 +00:00
display Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
error Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
filters Introduce is_same_inode macro, now including a comparison of st_dev. 2007-07-20 15:22:46 +00:00
format1 Add devices/preferred_names config regex list for displayed device names. 2007-04-26 16:44:59 +00:00
format_pool Adjust some alignments for ia64 and sparc. 2006-11-30 23:11:42 +00:00
format_text Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
label Add 'scan_sector' parameter to label_read and _find_labeller to add 2007-04-23 18:21:01 +00:00
locking Introduce is_same_inode macro, now including a comparison of st_dev. 2007-07-20 15:22:46 +00:00
log Make warnings go to stderr. Change log_warn to that effect, log_print 2007-06-28 17:33:44 +00:00
metadata Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
mirror Add field definitions to report help text. 2007-01-24 16:51:24 +00:00
misc Eliminate uses of strdup+basename. Use last_path_component instead. 2007-07-20 15:48:39 +00:00
mm Add lvm_getpagesize wrapper. 2006-08-17 18:23:44 +00:00
report Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
snapshot Don't use index and rindex functions marked by SUSv3 as legacy - Jakub Bogusz <qboosh@pld-linux.org> 2007-07-02 11:17:21 +00:00
striped Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
uuid Fix uuid_from_num() buffer overrun. 2006-05-10 16:42:03 +00:00
zero Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
Makefile.in Eliminate uses of strdup+basename. Use last_path_component instead. 2007-07-20 15:48:39 +00:00