/[rdiff-backup]/rdiff-backup/rdiff_backup/cmodule.c
ViewVC logotype

Diff of /rdiff-backup/rdiff_backup/cmodule.c

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

revision 1.21 by bescoto, Thu Aug 11 03:34:03 2005 UTC revision 1.22 by bescoto, Wed Sep 7 17:33:25 2005 UTC
# Line 371  static PyObject *acl_unquote(PyObject *s Line 371  static PyObject *acl_unquote(PyObject *s
371  /* ------------- lchown taken from Python's posixmodule.c -------------- */  /* ------------- lchown taken from Python's posixmodule.c -------------- */
372  /* duplicate here to avoid v2.3 requirement */  /* duplicate here to avoid v2.3 requirement */
373    
374    #ifdef HAVE_LCHOWN
375  static PyObject *  static PyObject *
376  posix_error_with_allocated_filename(char* name)  posix_error_with_allocated_filename(char* name)
377  {  {
# Line 398  posix_lchown(PyObject *self, PyObject *a Line 399  posix_lchown(PyObject *self, PyObject *a
399          Py_INCREF(Py_None);          Py_INCREF(Py_None);
400          return Py_None;          return Py_None;
401  }  }
402    #endif /* HAVE_LCHOWN */
403    
404  /* ------------- Python export lists -------------------------------- */  /* ------------- Python export lists -------------------------------- */
405    
# Line 411  static PyMethodDef CMethods[] = { Line 413  static PyMethodDef CMethods[] = {
413     "Quote string, escaping non-printables"},     "Quote string, escaping non-printables"},
414    {"acl_unquote", acl_unquote, METH_VARARGS,    {"acl_unquote", acl_unquote, METH_VARARGS,
415     "Unquote string, producing original input to quote"},     "Unquote string, producing original input to quote"},
416    #ifdef HAVE_LCHOWN
417    {"lchown", posix_lchown, METH_VARARGS,    {"lchown", posix_lchown, METH_VARARGS,
418     "Like chown, but don't follow symlinks"},     "Like chown, but don't follow symlinks"},
419    #endif /* HAVE_LCHOWN */
420    {NULL, NULL, 0, NULL}    {NULL, NULL, 0, NULL}
421  };  };
422    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26