Displaying 3 results from an estimated 3 matches for "directory_separator".
2011 Jun 28
0
[PATCH] cpio: cleanup O_BINARY usage.
...-------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/usr/utils/cpio.c b/usr/utils/cpio.c
index 6891883..15134b9 100644
--- a/usr/utils/cpio.c
+++ b/usr/utils/cpio.c
@@ -31,10 +31,6 @@
#include <fnmatch.h>
#endif
-#ifndef O_BINARY
-# define O_BINARY 0
-#endif
-
# ifndef DIRECTORY_SEPARATOR
# define DIRECTORY_SEPARATOR '/'
# endif
@@ -576,8 +572,7 @@ static void create_final_defers(void)
if (link_res == 0) {
continue;
}
- out_file_des = open(d->header.c_name,
- O_CREAT | O_WRONLY | O_BINARY, 0600);
+ out_file_des = open(d->header.c_name, O_CREAT | O...
2011 Jun 28
0
[PATCH 2/2] cpio: directly include fnmatch
...ions(-)
diff --git a/usr/utils/cpio.c b/usr/utils/cpio.c
index 15134b9..cb61679 100644
--- a/usr/utils/cpio.c
+++ b/usr/utils/cpio.c
@@ -27,9 +27,7 @@
#include <time.h>
#include <unistd.h>
#include <utime.h>
-#ifndef FNM_PATHNAME
#include <fnmatch.h>
-#endif
# ifndef DIRECTORY_SEPARATOR
# define DIRECTORY_SEPARATOR '/'
--
1.7.5.4
2005 Jun 09
1
PHPAGI Swift Escape Digits
I am trying to use swift in PHP/AGI.
function swift($text, $escape_digits='', $frequency=8000, $voice=NULL,
$fnameIn='')
During swift speaking some text I want the caller to be able to press
1, 2 or 3 to do thing 1, thing 2 or thing 3.
How are these digit defines and then caught?
Thanks,
Michael