This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Create new files as sparse on NT systems. (2nd try)


On Mon, 3 Feb 2003, Vaclav Haisman wrote:

> This is a little bit improved version of my previous post.
> By default creation of sparse files is disabled. It can be enabled by CYGWIN
> option sparse_files.
>
> Vaclav Haisman
>
> 2003-02-03  Vaclav Haisman  <V.Haisman@sh.cvut.cz>
> [snip]
> 	* environ.cc (parse_thing): Add new CYGWIN option.
>
> Index: cygwin/environ.cc
> ===================================================================
> RCS file: /cvs/src/src/winsup/cygwin/environ.cc,v
> retrieving revision 1.90
> diff -p -u -r1.90 environ.cc
> --- cygwin/environ.cc	30 Sep 2002 03:05:13 -0000	1.90
> +++ cygwin/environ.cc	3 Feb 2003 12:54:40 -0000
> @@ -522,6 +522,7 @@ static struct parse_thing
>    {"title", {&display_title}, justset, NULL, {{FALSE}, {TRUE}}},
>    {"tty", {NULL}, set_process_state, NULL, {{0}, {PID_USETTY}}},
>    {"winsymlinks", {&allow_winsymlinks}, justset, NULL, {{FALSE}, {TRUE}}},
> +  {"sparse_files", {&allow_sparse}, justset, NULL, {{FALSE}, {TRUE}}},
>    {NULL, {0}, justset, 0, {{0}, {0}}}
>  };
> [snip]

Vaclav,

I don't know if it matters, but the rest of the entries in the parse_thing
table are alphabetically ordered...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]