Displaying 20 results from an estimated 5000 matches similar to: "php/scandir"
2011 Jul 29
3
[PATCH 1/3] klibc: Add scandir() and alphasort() support.
Add support for scandir() and alphasort() as defined in POSIX.1-2008.
Signed-off-by: Mike Waychison <mikew at google.com>
---
usr/include/dirent.h | 7 +++++
usr/klibc/Kbuild | 2 +
usr/klibc/scandir.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 84 insertions(+), 1 deletions(-)
create mode 100644 usr/klibc/scandir.c
diff --git
2006 Oct 03
2
strverscmp, scandir, alphasort and versionsort
Hello,
These are implementations of strverscmp, scandir, alphasort and
versionsort, and some test cases for them.
I know these aren't in POSIX, but they're useful, nonetheless, and
someone else might be interested in them.
Regards,
Luciano Rocha
--
lfr
0/0
-------------- next part --------------
/* ----------------------------------------------------------------------- *
*
*
2006 Feb 02
8
automatic transfer files between Windows PC & Centos server
Hi everyone,
I have this problem and need your help. I have some files locate on
windows pc that I need to upload to centos server everyday automatically
and without provide password. Is there an easy way for this? I would
like to use some kind of batch file because I can use schedule in WinXP to
performance this job everyday.
Thanks in advance,
JC
2006 Aug 07
1
duplicate hard drive image
Hi all,
Even though we use linux server, but people still use windows server and
i'm one of them. I have windows server and i would like to do back up by
create its hard drive image. Does any one have suggest for a software?
I plan to back up every night, so I need some kind of schedule, i prefer
usb or firewire, my hard drive is 160GB. Anybody knows how long it takes
to duplicate
2005 Dec 08
5
perl module
Hi list,
I have trouble install the following perl modules to my Centos 4.2 server
and I need help
Digest::SHA1
Digest::HMAC
Net::DNS
Time::HiRes
HTML::Tagset
HTML::Parser
Pod::Usage
Parse::Syslog
Statistics::Distributions
I tried "perl -MCPAN -e shell" and then "install Pod::Usage" and I got the
following errors:
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
2005 Nov 02
6
firewall dilemma
Hi everyone,
I have this problem that I'm not sure what's the best solution for it. I
need your input & help...
I have an internal network behind a hardware firewall. All traffics go
thru. the firewall. One of the firewall's rules is that it doesn't allow
internal network accesses internal resources that travels outside then
come back. In the other words, it drops all
2006 Jul 22
1
Error on update
Just did an update with yum, and got this error when running the
transaction check.
Transaction Check Error: package freetype-2.1.9-1.2.2.el4.rf (which is
newer than freetype-2.1.9-1.rhel4.4) is already installed
Yum then quit. What do I need to do to fix this error? This is a first
for me. x86-64 machine.
Thanks.......
Sam
2006 Jan 17
1
upgrade MySQL
Hi,
Anybody know how to upgrade MySQL 4.1.12 that come with Centos 4.2 to 5.0
Thanks,
JC
2007 Jan 12
4
Problem with rpmbuild
I want to be able to recompile php, so I downloaded the src dvd and did a
rpm -i php-4.3.9-3.15.src.rpm
After doing that I wanted to check to see if I can recompile it before
making changes. So, I went to the SPECS dir and did a
rpmbuild -i php.spec
It spent a lot of time doing the compile, but at the end there were errors.
What am I missing?
Todd
--
Ariste Software
2200 D Street Ext
2005 Aug 19
2
Whoops! PHP does not have MySQL support
http://209.204.172.137:82/testphp.php
So, I will need to recompile PHP with MySQL (and Interbase), however I
do not want to "upset the appple cart" by bring in something that will
cause conflicts. Is there a step-by-step discussion on how to do this
for php 4.3.9?
Todd
--
Ariste Software
200 D Street Ext
Petaluma, CA 94952
(707) 773-4523
2016 Mar 30
3
Pigeonhole 0.4.13 does not compile against dovecot 2.2.23
Hello, I supose that a new version of pigeonhole is on the way because
version 0.4.13 does not compile against dovecot 2.2.23
This is the error that I get
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../..
-I../../../src/lib-sieve -I../../../src/lib-sieve/util
-I../../../src/lib-sieve/plugins/environment
-I/home/jc/rpmbuild/BUILD/dovecot-2.2.23/src/imap
2016 Mar 30
2
Pigeonhole 0.4.13 does not compile against dovecot 2.2.23
On 31/03/2016 02:06, Stephan Bosch wrote:
> Hi,
>
> Op 3/30/2016 om 5:34 PM schreef Juan C. Blanco:
>> Hello, I supose that a new version of pigeonhole is on the way because
>> version 0.4.13 does not compile against dovecot 2.2.23
>>
>> This is the error that I get
>>
>> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../..
>>
2011 Aug 02
6
[PATCH v2 0/4] Support drop directories directly from kinit
This patchset applies to klibc mainline.
This patchset introduces the ability to kinit to execute scripts or
executable files present in in the initramfs before switching over to
the root filesystem.
It is implemented by first implementing scandir() and alphasort() as
present in POSIX.1-2008 in klibc itself, and then using that as the
basis for iterating and executing files via a run_scripts()
2018 Dec 08
2
doveadm batch crash
Hi
I'm having an issue with doveadm batch - the following command always
crashes:
doveadm batch : mailbox status all inbox
Whereas the following work as expected:
doveadm mailbox status all inbox
doveadm batch : mailbox list
Any assistance gratefully received.
Debug output from the crash:
Debug: Loading modules from directory: /usr/lib64/dovecot
Debug: Module loaded:
2009 Apr 15
2
How to Reshuffle a distance object
I would like to randomly shuffle a distance object, such as the one
created by ade4{dist.binary} below. My first attempt, using
sample(jc.dist) creates a shuffled vector, losing the lower triangular
structure of the distance object. How can I Ishuffle the lower
triangular part of a distance matrix without losing the structure?
Thanks. --Dale
x1 <- c(rep(0,4),1)
x2 <- c(rep(0,2),rep(1,3))
2018 Mar 13
1
libvirt connect vmware workstation fail
bash: vmwarews+ssh://jc@127.0.0.1/session: No such file or directory
[jc@te ~]$ virsh -c vmwarews+ssh://jc@127.0.0.1/session
错误:连接到管理程序失败
错误:不支持的操作:ssh 连接驱动程序不支持在没有套接字路径的情况下连接到会话实例
[jc@te ~]$ virsh -c vmwarews+ssh://root@127.0.0.1/session
错误:连接到管理程序失败
错误:不支持的操作:ssh 连接驱动程序不支持在没有套接字路径的情况下连接到会话实例
[jc@te ~]$ virsh -c vmwarews:///session
Segmentation fault (核心已转储)
2009 Aug 18
2
R CMD BATCH question under Ubuntu 9.04
Dear list,
I could not find a mailing list of R under ubuntu, so I give it a try here...any direction/suggestion welcome
I run R 2.8.1 under Ubuntu 9.04
>From the terminal I am able to run a R CMD BATCH command when I am on my home folder /home/user
jc@jc-laptop:~$ R CMD BATCH /var/www/test.R
The file "test.R" contains simply:
a <- 1
write.csv(a,"/var/www/test.csv")
2016 Jan 27
4
PJSIP Stun/ICE
>>>>> "JC" == Joshua Colp <jcolp at digium.com> writes:
JC> This stems from PJSIP not being dynamic with transports (it
JC> doesn't like its environment changed to that degree while
JC> in use). I'm afraid if your IP changes you'd have to restart
JC> Asterisk when you are using PJSIP.
Wow.
I say this having voted for pjsip over the listed
2012 Apr 19
1
puppet-lint error
Hi, this is not strictly puppet related but I am hoping someone here
who uses puppet-lint can tell me what is going on here.........
$ puppet-lint init.pp
/Users/jc/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/
rubygems/custom_require.rb:36:in
`require'': iconv will be deprecated in the future, use String#encode
instead.
2016 May 20
2
Determination of statements that contain only matrix multiplication
>>>> Maybe it could be a temporary solution. I think that if the checks are
>>>> successfully passed and the basic block of the statement has exactly
>>>> 14 instructions, the statement contains matrix multiplication and can
>>>> be safely optimized with a generation of specific code, which takes
>>>> into account information about usage