Re: [PATCH] Avoid allocating memory to extract basename using svn_relpath_basename

2010-10-04 Thread Kamesh Jayachandran
On 10/04/2010 05:52 PM, vijayaguru wrote: Hi, From svn_relpath_basename documentation, if pool is NULL, it simply returns a pointer to the string without allocating additional memory. Pass NULL pointer to svn_relpath_basename wherever the returned basename need not be persistent. It could sav

[PATCH] Avoid allocating memory to extract basename using svn_relpath_basename

2010-10-04 Thread vijayaguru
Hi, From svn_relpath_basename documentation, if pool is NULL, it simply returns a pointer to the string without allocating additional memory. Pass NULL pointer to svn_relpath_basename wherever the returned basename need not be persistent. It could save few bytes of memory. [[[ Log: Pass NU