/[path-sandbox]/trunk/src/canonicalize.c
Gentoo

Diff of /trunk/src/canonicalize.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 215 Revision 216
154 rpath_limit = rpath + new_size; 154 rpath_limit = rpath + new_size;
155 155
156 dest = rpath + dest_offset; 156 dest = rpath + dest_offset;
157 } 157 }
158 158
159 dest = mempcpy(dest, start, end - start); 159 memcpy(dest, start, end - start);
160 dest += end - start;
160 *dest = '\0'; 161 *dest = '\0';
161 } 162 }
162 } 163 }
163#if 1 164#if 1
164 if (dest > rpath + 1 && dest[-1] == '/') 165 if (dest > rpath + 1 && dest[-1] == '/')

Legend:
Removed from v.215  
changed lines
  Added in v.216

  ViewVC Help
Powered by ViewVC 1.1.20