nonpax.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * cpio - copy file archives in and out
  3. *
  4. * Gunnar Ritter, Freiburg i. Br., Germany, April 2003.
  5. */
  6. /*
  7. * Copyright (c) 2003 Gunnar Ritter
  8. *
  9. * This software is provided 'as-is', without any express or implied
  10. * warranty. In no event will the authors be held liable for any damages
  11. * arising from the use of this software.
  12. *
  13. * Permission is granted to anyone to use this software for any purpose,
  14. * including commercial applications, and to alter it and redistribute
  15. * it freely, subject to the following restrictions:
  16. *
  17. * 1. The origin of this software must not be misrepresented; you must not
  18. * claim that you wrote the original software. If you use this software
  19. * in a product, an acknowledgment in the product documentation would be
  20. * appreciated but is not required.
  21. *
  22. * 2. Altered source versions must be plainly marked as such, and must not be
  23. * misrepresented as being the original software.
  24. *
  25. * 3. This notice may not be removed or altered from any source distribution.
  26. */
  27. /* Sccsid @(#)nonpax.c 1.1 (gritter) 2/24/04 */
  28. #include "cpio.h"
  29. /*ARGSUSED*/
  30. int
  31. pax_track(const char *name, time_t mtime)
  32. {
  33. return 1;
  34. }
  35. /*ARGSUSED*/
  36. void
  37. pax_prlink(struct file *f)
  38. {
  39. }
  40. /*ARGSUSED*/
  41. int
  42. pax_sname(char **oldp, size_t *olds)
  43. {
  44. return 1;
  45. }
  46. void
  47. pax_onexit(void)
  48. {
  49. }