Re: [PATCH] Add getmntent_r

2012-07-18 Thread Yaakov (Cygwin/X)
Somehow this one fell through the cracks. Picking up where we left off: On 2012-06-06 02:33, Corinna Vinschen wrote: On Jun 5 21:29, Yaakov (Cygwin/X) wrote: The string returned into buf is in the following format: mnt_fsname\0mnt_dir\0mnt_type\0mnt_opts\0mnt_freq" "mnt_passno\0 Yes, but t

Re: [PATCH] Add getmntent_r

2012-07-18 Thread Corinna Vinschen
On Jul 18 05:21, Yaakov (Cygwin/X) wrote: > Somehow this one fell through the cracks. Picking up where we left off: > > On 2012-06-06 02:33, Corinna Vinschen wrote: > >On Jun 5 21:29, Yaakov (Cygwin/X) wrote: > >>The string returned into buf is in the following format: > >> > >>mnt_fsname\0mnt_d

Re: [PATCH] Add getmntent_r

2012-07-18 Thread Yaakov (Cygwin/X)
On 2012-07-18 06:17, Corinna Vinschen wrote: On Jul 18 05:21, Yaakov (Cygwin/X) wrote: On 2012-06-06 02:33, Corinna Vinschen wrote: In case of Cygwin this is not needed since we don't read from the file but from the internal datastructure. There's no reason to create garbage in buf just becaus