Re: install command

2005-05-10 Thread Bob Proulx
Chikaod Anyikire wrote: > I am trying to use the install command for OpenNMS. The instructions say > use the two options: -i and -u, but they are not available in with this > command. The command is showed like this: > install -disU. For some reason I have not be able to get any results, so I

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Derek Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karl Berry wrote: > GNU getopt tries to do too much when it reorders the commandline and > therefor needs the "+" as a workaround. > >I don't suppose it matters at this point, but I fail to see the >connection here. You can tell GNU getopt to REQUIRE_

Re: Filename Globbing issues on Win32?

2005-05-10 Thread Kees Zeelenberg
The MS-Windows way of globbing is described at MSDN: http://msdn.microsoft.com/library/en-us/vclang/html/_pluslang_Parsing_C.2b2b_.Command.2d.Line_Arguments.asp From this description it seems that your example should work; also native commands, such as dir, do expand the * when inside quotes. So p

date not parsing full iso-8601

2005-05-10 Thread Nic Ferrier
As I read the documentation for gnu date it should parse iso-8601 dates correctly: File: coreutils.info, Node: General date syntax . . . The output of `date' is not always acceptable as a date string, not only because of the language problem, but also because there is no

install command

2005-05-10 Thread Chikaod Anyikire
Hi, I am trying to use the install command for OpenNMS. The instructions say use the two options: -i and -u, but they are not available in with this command. The command is showed like this: install -disU. For some reason I have not be able to get any results, so I am helping you can help wit

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Derek Price
Paul Eggert wrote: >Derek Price <[EMAIL PROTECTED]> writes: > > > >>Revised patch attached. >> >> > >Thanks; I installed the following slightly-different patch. > > Works for me. Thanks Paul. Derek ___ Bug-coreutils mailing list Bug-coreut

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Karl Berry
GNU getopt tries to do too much when it reorders the commandline and therefor needs the "+" as a workaround. I don't suppose it matters at this point, but I fail to see the connection here. You can tell GNU getopt to REQUIRE_ORDER instead of PERMUTE without using +, either directly or set

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Paul Eggert
Derek Price <[EMAIL PROTECTED]> writes: > Revised patch attached. Thanks; I installed the following slightly-different patch. 2005-05-10 Derek Price <[EMAIL PROTECTED]> * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when possible. --- getopt.m4 6 May 2005 01:0

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Larry Jones
Derek Price writes: > > Okay, looking at that in C89 now, but just out of curiosity, if argv > needs to be NULL terminated, what's the point of argc? I believe it was added for convenience back in the dark ages. All the Unix exec functions require a null-terminated argument list (and don't have

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Derek Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Kurz wrote: >I'm running out of time. I have to quit. Thanks very much for your effords. >When there is something to test, i'll still try to help. No problem. Thanks for your help, Matthias. Regards, Derek -BEGIN PGP SIGNATURE- V

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Derek Price
Paul Eggert wrote: >Derek Price <[EMAIL PROTECTED]> writes: > > > > >>+ myargv[[0]] = "conftest"; >>+ myargv[[1]] = "-+"; >> >> > >This doesn't null-terminate myargv. > > Okay, looking at that in C89 now, but just out of curiosity, if argv needs to be NULL terminated, what

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Derek Price
Paul Eggert wrote: >Derek Price <[EMAIL PROTECTED]> writes: > > > > >>+ myargv[[0]] = "conftest"; >>+ myargv[[1]] = "-+"; >> >> > >This doesn't null-terminate myargv. > >But I still don't get why the change is needed. It sounds like you're >assuming Solaris 11 getopt might g

Re: Make Check on coreutils, darwin failed

2005-05-10 Thread Jim Meyering
Eric Blake <[EMAIL PROTECTED]> wrote: > According to Adam Price on 5/9/2005 11:39 PM: >> Making check in touch >> make check-TESTS >> PASS: relative >> 0a1 >>> touch: setting times of `/': Permission denied >> FAIL: not-owner > > I've noticed that cygwin also tends to fail this test, because the t

Re: Make Check on coreutils, darwin failed

2005-05-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Adam Price on 5/9/2005 11:39 PM: > Making check in touch > make check-TESTS > PASS: relative > 0a1 >> touch: setting times of `/': Permission denied > FAIL: not-owner I've noticed that cygwin also tends to fail this test, because the typ

Re: [bug-gnulib] [bug-gnulib] fts portability fix for hosts with unusual pointer semantics

2005-05-10 Thread Bruno Haible
James Youngman wrote: > Paul> +static int > Paul> +fts_compar (void const *a, void const *b) > Paul> +{ > Paul>/* ... */ > Paul> + return pa[0]->fts_fts->fts_compar (pa, pb); > Paul> +} > ... compilers are likely to be able to inline the actual > subroutine call away in any case. How should t

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Matthias Kurz
On Tue, May 10, 2005, Matthias Kurz wrote: > On Mon, May 09, 2005, Paul Eggert wrote: > [...] > > But I still don't get why the change is needed. It sounds like you're > > assuming Solaris 11 getopt might get fixed? But even in that case, > > the current code will work, right, since it will use

Make Check on coreutils, darwin failed

2005-05-10 Thread Adam Price
I am running macosx 10.4 with newly installed xcode tools. Make check failed. I am providing the first ~20 lines of config.log and the last ~50 lines of the output of 'make check.' Let me know if you want any other information. (I ran make install and everything seems to be working fine

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-10 Thread Matthias Kurz
On Mon, May 09, 2005, Paul Eggert wrote: > Derek Price <[EMAIL PROTECTED]> writes: > > > > + myargv[[0]] = "conftest"; > > + myargv[[1]] = "-+"; > > This doesn't null-terminate myargv. D'oh ! > But I still don't get why the change is needed. It sounds like you're > assuming S

Re: Buggy mv --interactive --reply=no, hopefully solved here

2005-05-10 Thread Jim Meyering
Vlada Macek <[EMAIL PROTECTED]> wrote: > I still believe there is a bug in `mv'. Try to run > > mv --interactive --reply=no plain1 plain2 > > and given both plains exist, plain2 gets overwritten. This is not > expected behavior, not just by me (there is a Debian bug filled in). > Command `cp' i