php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57687 Missing constants for svn_wc_schedule_t enum
Submitted: 2007-05-26 12:17 UTC Modified: 2007-10-19 09:17 UTC
From: edwardzyang at thewritingpot dot com Assigned:
Status: Closed Package: svn (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: edwardzyang at thewritingpot dot com
New email:
PHP Version: OS:

 

 [2007-05-26 12:17 UTC] edwardzyang at thewritingpot dot com
Description:
------------
There are no constants defined for the svn_wc_schedule_t enum type, specifically:

typedef enum svn_wc_schedule_t
{
  /** Nothing special here */
  svn_wc_schedule_normal,

  /** Slated for addition */
  svn_wc_schedule_add,

  /** Slated for deletion */
  svn_wc_schedule_delete,

  /** Slated for replacement (delete + add) */
  svn_wc_schedule_replace

} svn_wc_schedule_t;

This is necessary for reading the "schedule" keypair in the return value of svn_status().

Patch:

Index: svn/svn.c
===================================================================
RCS file: /repository/pecl/svn/svn.c,v
retrieving revision 1.26
diff -u -r1.26 svn.c
--- svn/svn.c	25 Apr 2007 04:41:23 -0000	1.26
+++ svn/svn.c	26 May 2007 16:16:04 -0000
@@ -437,6 +437,11 @@
 	LONG_CONST(svn_node_file);
 	LONG_CONST(svn_node_dir);
 	LONG_CONST(svn_node_unknown);
+ 
+	LONG_CONST(svn_wc_schedule_normal);
+	LONG_CONST(svn_wc_schedule_add);
+	LONG_CONST(svn_wc_schedule_delete);
+	LONG_CONST(svn_wc_schedule_replace);
 	
 	/* this is probably temporary until we sort out a proper revision parser. */
 	REGISTER_LONG_CONSTANT("SVN_REVISON_HEAD", -1, CONST_CS|CONST_PERSISTENT);



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-19 09:17 UTC] scottmac@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Aug 25 18:01:28 2019 UTC