]> Dogcows Code - chaz/tar/blobdiff - src/create.c
New option --sort=ORDER
[chaz/tar] / src / create.c
index 4344a24747eeda16d2fc3b7b74adb75917a4bfc3..3455bddc60c74016bcad238e0e416ee1f2ad5895 100644 (file)
@@ -1,7 +1,7 @@
 /* Create a tar archive.
 
    Copyright 1985, 1992-1994, 1996-1997, 1999-2001, 2003-2007,
-   2009-2010, 2012-2013 Free Software Foundation, Inc.
+   2009-2010, 2012-2014 Free Software Foundation, Inc.
 
    This file is part of GNU tar.
 
@@ -1288,7 +1288,7 @@ get_directory_entries (struct tar_stat_info *st)
   while (! (st->dirstream = fdopendir (st->fd)))
     if (! open_failure_recover (st))
       return 0;
-  return streamsavedir (st->dirstream);
+  return streamsavedir (st->dirstream, savedir_sort_order);
 }
 
 /* Dump the directory ST.  Return true if successful, false (emitting
This page took 0.023431 seconds and 4 git commands to generate.