summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-27Don't use strncat() with length derived from source stringHEADmasterSergey Bugaev
This fixes Wstringop-overflow and Wstringop-truncation GCC warnings. See https://gcc.gnu.org/bugzilla//show_bug.cgi?id=88059
2021-04-26Fix missing string terminationSergey Bugaev
2021-04-26Implement MiG intran payload supportSergey Bugaev
This fixes a build error. Message-Id: <20210426170820.67042-2-bugaevc@gmail.com>
2021-04-26Add some missing includesSergey Bugaev
This fixes multiple build errors. Message-Id: <20210426170820.67042-3-bugaevc@gmail.com>
2013-11-21unionfs: fix memory leak in patternlist_addJustus Winter
Found using the Clang Static Analyzer. * pattern.c (patternlist_add): Fix memory leak.
2013-07-08Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/unionfsSamuel Thibault
2013-07-08Gracefully handle the errors using argp_error instead of error.Cyril Roelandt
* options.c (argp_parse_common_options): Gracefully handle the errors using argp_error instead of error.
2013-03-19Add a .gitignore filePino Toscano
* .gitignore: New file.
2013-03-15Define _GNU_SOURCE at Makefile levelPino Toscano
Provide the _GNU_SOURCE define at the CFLAGS, instead of repeating it in every source. * Makefile (CFLAGS): Add -D_GNU_SOURCE. * lib.c (_GNU_SOURCE): Remove define. * lnode.c (_GNU_SOURCE): Likewise. * main.c (_GNU_SOURCE): Likewise. * ncache.c (_GNU_SOURCE): Likewise. * netfs.c (_GNU_SOURCE): Likewise. * node.c (_GNU_SOURCE): Likewise. * options.c (_GNU_SOURCE): Likewise. * pattern.c (_GNU_SOURCE): Likewise. * stow.c (_GNU_SOURCE): Likewise. * ulfs.c (_GNU_SOURCE): Likewise. * update.c (_GNU_SOURCE): Likewise.
2013-03-15Fix printf format for priorityPino Toscano
* netfs.c (netfs_append_args): Use %d as printf format for ULFS->PRIORITY.
2013-03-15Fix type of underlying_node_statPino Toscano
* main.c (underlying_node_stat): Change type to io_statbuf_t. * unionfs.h: (underlying_node_stat): Likewise.
2013-03-15Switch from cthreads to pthreadsPino Toscano
Makefiles, headers, types, macros and function calls are renamed where appropriate. * Makefile: Switch from cthreads to pthreads. * lib.c: Likewise. * lib.h: Likewise. * lnode.c: Likewise. * lnode.h: Likewise. * ncache.c: Likewise. * ncache.h: Likewise. * netfs.c: Likewise. * node.c: Likewise. * options.c: Likewise. * pattern.c: Likewise. * pattern.h: Likewise. * stow.c: Likewise. * ulfs.c: Likewise. * ulfs.h: Likewise. * update.c: Likewise.
2009-12-10Implement the sync libnetfs stubs.Sergiu Ivanov
* netfs.c (netfs_attempt_sync): Sync every directory associated with the supplied node. (netfs_attempt_syncfs): Send file_syncfs to every directory maintained by unionfs.
2009-07-11Merge branch 'master-changelog'Thomas Schwinge
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* ChangeLog: Wipe out content, and add instructions about how to get it back.
2009-06-22Update the bug-reporting address.Sergiu Ivanov
* Makefile (LDFLAGS): Add -lhurdbugaddr. * option.c (argp_program_bug_address): Remove definition.
2009-06-22Don't abuse $(prefix) for finding build-time files.Thomas Schwinge
* Makefile: Simply have GCC #include the needed file -- the current unionfs build system doesn't do any dependency tracking for header files anyway.
2006-06-21(for_each_subdir): Revert previous change. Reported byAlfred M. Szmidt
Aanjhan Ranganathan <aanjhan@tuxmaniac.com>.
2006-04-13Cleanup patch by Ben Asselstine (remove unused variables, make some ↵Manuel Menal
functions static) (Manuel)
2006-04-13Cleanup patch by Ben Asselstine (remove unused variables, make some ↵Manuel Menal
functions static) (Manuel)
2005-06-302005-06-27 Ben Asselstine <benasselstine@gmail.com>Gianluca Guida
* ulfs.c (ulfs_install): Rewrote to allow insertions of filesystems based on priority. (ulfs_register): Added new argument 'priority'. Set the priority value in ulfs structure. * ulfs.h (ulfs): Added 'priority' field to struct. Updated ulfs_register declaration. * netfs.c (netfs_append_args): Appending new priority option. * stow.c (stow_privdata): Added 'priority' field to struct. (stow_diradd): Added new 'priority' argument. Fill priority field of 'mypriv'. (_stow_scanstowentry): Changed caller to ulfs_register. (_stow_registermatchingdirs): Likewise. * options.c (arg_common_options): Added entries for OPT_PRIORITY and OPT_ADD. (arg_parse_common_options): Handle OPT_PRIORITY and OPT_ADD case. Renamed 'ulfs_removed' to 'ulfs_mode'. New variable 'ulfs_priority'. Changed caller to 'stow_diradd'. Changed caller to 'ulfs_register'. * options.h (OPT_ADD, OPT_PRIORITY, OPT_LONG_ADD) (OPT_LONG_PRIORITY, ULFS_MODE_ADD, ULFS_MODE_REMOVE): New declarations.
2005-06-132005-06-13 Gianluca Guida <glguida@gmail.com>Gianluca Guida
* main.c (main): Set properly netfs_root_node permissions when underlying node is not a file Reported by Alfred M. Szmidt.
2005-05-31node_unlink_file bugfixGianluca Guida
2005-05-30New README and bugfixes.Gianluca Guida
2005-05-29stow major fixesGianluca Guida
2005-05-25fixed bugGianluca Guida
2005-05-25remove unused variablesGianluca Guida
2005-05-25added mkdir and rmdir supportGianluca Guida
2005-05-25New README and CAVEATGianluca Guida
2005-05-24added file creation and unlinking (2)Gianluca Guida
2005-05-24added file creation and unlinkingGianluca Guida
2005-01-31Handle --stow argument with missing / correctly.Gianluca Guida
2005-01-31Added basic stowfs functionalities.Gianluca Guida
2003-07-05.Jeroen Dekkers
2003-07-052003-07-05 Jeroen Dekkers <jeroen@pc-jeroen>Jeroen Dekkers
* Makefile: Rewrite.
2003-07-052003-07-05 Jeroen Dekkers <jeroen@dekkers.cx>Jeroen Dekkers
* netfs.c (netfs_attempt_create_file): Unlock DIR. (netfs_attempt_mkfile): Likewise.
2002-12-092002-12-09 Moritz Schulte <moritz@duesseldorf.ccc.de>Moritz Schulte
* lib.h: Fix pointer arg. * lib.c (dir_entries_get): Likewise. * lib.c (dir_entries_get): Fix typo. (dir_entries_get): Change type of data_size to size_t. * node.c (node_entries_get): Change type of dirent_data_size to size_t.
2002-12-082002-12-08 Moritz Schulte <moritz@duesseldorf.ccc.de>Moritz Schulte
* BUGS: Remove the memory-leak bug.
2002-12-082002-12-08 Moritz Schulte <moritz@duesseldorf.ccc.de>Moritz Schulte
* lib.c: Include <sys/mman.h>. * node.c: Include <sys/mman.h>. (node_entries_get): munmap dirent_data as returned by dir_entries_get. (node_entries_get): New variable: int dirent_data_size. * lib.c (dir_entries_get): New argument: int *dirent_data_size. (dir_entries_get): Do not forget to munmap DATA if something goes wrong. * lib.h: Update dir_entries_get declaration.
2002-12-082002-12-08 Moritz Schulte <moritz@duesseldorf.ccc.de>Moritz Schulte
* node.c (node_create_root): call lnode_destroy, if node_create failed, not if lnode_create failed. Reported by Richard Smith.
2002-12-08added.Moritz Schulte
2002-12-07Merge from vendor branch main:Moritz Schulte
initial import
2002-12-07initial importMoritz Schulte