Test failures in coreutils-5.3.0 on cygwin

2005-01-11 Thread Eric Blake
/chgrp), see coreutils.check3. I haven't yet had time to figure out how to get any further. 2005-01-11 Eric Blake [EMAIL PROTECTED] * src/Makefile.am (check-README, check-AUTHORS): Account for $(EXEEXT). * man/Makefile.am (all_programs): Account for $(EXEEXT). - --- src

Re: Test failures in coreutils-5.3.0 on cygwin

2005-01-12 Thread Eric Blake
] Error 127 2005-01-12 Eric Blake [EMAIL PROTECTED] (tiny change) * man/Makefile.am (.x.1): Don't use $(EXEEXT). Also, I noticed that you have both coreutils-5.3.0/tests/tr/repeat-compl.I and coreutils-5.3.0/tests/tr/repeat-Compl.I in the tarball (and the problem still exists in CVS

Re: Test failures in coreutils-5.3.0 on cygwin

2005-01-12 Thread Eric Blake
without flags. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB5TSE84KuGfSFAYARAswWAJwMN9nMT+hIN9K7dEaL1n+drAR9gwCfdEsA

make -k fails on cygwin [Was: Test failures in coreutils-5.3.0 on cygwin]

2005-01-14 Thread Eric Blake
.PHONY: subdirs $(SUBDIRS) subdirs: $(SUBDIRS) $(SUBDIRS): $(MAKE) -C $@ foo: baz - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird

more 5.3.0 issues on cygwin

2005-01-17 Thread Eric Blake
Eric Blake [EMAIL PROTECTED] (tiny change) * src/Makefile.am (all_programs.list): Strip $(EXEEXT) and remove duplicates. * man/Makefile.am (all_programs): Revert previous patch; updated all_programs.list fixes this. (.x.1): No need to add $(EXEEXT). 2005-01

bug in newlib strftime

2005-01-19 Thread Eric Blake
- so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7mKr84KuGfSFAYARAjNdAKCjNw/IWf0ZxBMvHsAo6dm/T2gwogCfWjyK 4H/w5oTgp9MOZ/nZSTUYp5A= =OA+F -END

Re: coreutils 5.3.0: cp --parents broken

2005-01-25 Thread Eric Blake
that notation for remote machine shared drive access). XBD 3.2 defines absolute path as A pathname beginning with a single or more than two slashes, and XBD 4.11 agrees, so you are only allowed to collapse 3 or more leading slashes. - -- Life is short - so eat dessert first! Eric Blake

Re: [PATCH] bug in cygwin sys/termios.h?

2005-01-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 1/20/2005 9:36 PM: When compiling coreutils/src/stty.c, I got a warning: stty.c:106:1: warning: CSWTCH redefined In file included from /usr/include/termios.h:4, from stty.c:40: /usr/include/sys

some testsuite improvements

2005-01-30 Thread Eric Blake
-01-29 Eric Blake [EMAIL PROTECTED] (tiny change) * tests/Makefile.am (.PHONY): Add check-root, check-recursive, and root-hint. * tests/rwx-to-mode: Ignore ACL designation. * tests/setgid-check: Likewise. * tests/chown/separator: Quote user and group names

Re: cp command - problem with sparse

2005-02-01 Thread Eric Blake
is needed in the testsuite to turn a SKIP into a PASS on cygwin: 2005-02-01 Eric Blake [EMAIL PROTECTED] (tiny change) * tests/du/8gb: Detect sparse files on NTFS under cygwin. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Re: AW: cp command - problem with sparse

2005-02-02 Thread Eric Blake
dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCANNv84KuGfSFAYARAr6KAJ44haWj8ZHnfPNblc6vN

Re: cp command - problem with sparse

2005-02-03 Thread Eric Blake
unchanged on non-XSI systems. I ask, because at the moment, cygwin's implementation only makes a sparse file on write() after lseek(), although the developers are considering making ftruncate() after lseek() also create a sparse file. - -- Life is short - so eat dessert first! Eric Blake

Re: random errors from rm

2005-02-25 Thread Eric Blake
than these things I can't imagine what would create the behavior you are seeing. Bob -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

mv and hard links

2005-03-10 Thread Eric Blake
is deciding what wording should be used to permit the desired behaviors, or deciding that coreutils behavior needs to be changed to become compliant. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo

binary mode copies

2005-03-15 Thread Eric Blake
) * src/copy.c (copy_reg): Copy regular files in binary mode. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG

Re: binary mode copies

2005-03-15 Thread Eric Blake
permitting me to contribute to FSF. Otherwise, I already have several other testsuite improvements lined up for contribution. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key

Re: 'cp -lL' behaviour conflicts with documentation

2005-03-15 Thread Eric Blake
2 eblake None 1 Mar 15 19:04 c - a - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

Re: 'cp -lL' behaviour conflicts with documentation

2005-03-16 Thread Eric Blake
before the POSIX committee? I agree, and just posted the issue to the austin group. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment

Re: color support for TERM=cygwin

2005-03-28 Thread Eric Blake
for `dircolors --help' to point to the info pages rather than trying to repeat the input file format inline (right now it is still pointing to `dircolors -p'). - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin

Re: Probem with join and accentuated characters

2005-03-31 Thread Eric Blake
like you want, for the locale you are using. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

Re: FYI: --help now warns about built-in conflicts

2005-04-04 Thread Eric Blake
is most important. What does help2man offer to help us acheive this? Do we need a new section name? -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: bug, i think? pwd --help and pwd --version don't work

2005-04-08 Thread Eric Blake
if that fails or -P was specified, print the physical path. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird

Re: bug, i think? pwd --help and pwd --version don't work

2005-04-09 Thread Eric Blake
something like one of these two options: $ alias which type $ which() { type $@ } -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

dos filename portability in pathchk

2005-04-14 Thread Eric Blake
are supplied, allowing `find . -print | pathchk -c'. Which also implies that `find . -print0 | pathchk -0 -c' should work... -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: mknod

2005-04-15 Thread Eric Blake
1125899907358221 f1 preserves the inode, but changes the file type from pipe to a regular file (read-only at that). - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key

Re: cygwin failing tests/mv/mv-special-1

2005-04-15 Thread Eric Blake
on the destination. 2005-04-15 Eric Blake [EMAIL PROTECTED] (tiny change) * tests/mv/mv-special-1: Use our own test(1) to check that hierarchy was correctly moved. * tests/mv/setup (dot_mount_point): Dereference symlinks when learning device number. - -- Life is short - so

testsuite portability nit

2005-04-17 Thread Eric Blake
platforms). Not all versions of kill(1) can convert names to numbers, but this is coreutils. Furthermore, install needs to use $EXEEXT on arguments. 2005-04-16 Eric Blake [EMAIL PROTECTED] * tests/install/Makefile.am (TESTS_ENVIRONMENT): Propagate BUILD_SRC_DIR and EXEEXT to tests

Re: testsuite portability nit

2005-04-17 Thread Eric Blake
-01/msg00136.html -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: testsuite portability nit

2005-04-18 Thread Eric Blake
[EMAIL PROTECTED] Work around a couple of make check failures reported for Cygwin and ash by Eric Blake. * tests/install/basic-1: Skip this test if ../../src/dd isn't readable. * tests/install/trap: Skip this test if trap '' CHLD doesn't work. What was wrong with my

Re: error

2005-04-19 Thread Eric Blake
bad decisions). I doubt the coreutils list can give you any more help than to suggest that you change your PATH environment variable so that nmake finds Microsoft's link like it was expecting. -- Eric Blake ___ Bug-coreutils mailing list Bug

Another testsuite nit: `set -'

2005-04-26 Thread Eric Blake
# owner: eblake # group: Domain Users user::rwx group::r-x mask:rwx other:r-x default:user::rwx default:group::r-x default:other:r-x 2005-04-26 Eric Blake [EMAIL PROTECTED] (tiny change) * tests/misc/nice (tests): Don't use `set -', it resets -x. * tests/mv/part-hardlink (fail

Re: [bug]rm.c pwd.c getcwd.c don't work correctly in MSYS

2005-04-28 Thread Eric Blake
a working d_ino member would detect that cygwin's implementation is broken on NTFS drives. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: [bug]rm.c pwd.c getcwd.c don't work correctly in MSYS

2005-04-28 Thread Eric Blake
from an older version of cygwin, is probably returning EINVAL still. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

ls -F indicators

2005-04-29 Thread Eric Blake
have a classification character? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

stat(1) [was: Another testsuite nit: `set -']

2005-05-02 Thread Eric Blake
: raw stat field entries (is this like coreutils -t?) - -s: quote output, suitable for shell variable initialization - -x: more verbose - -t timefmt: format dates with input similar to date(1) - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Re: ls -F indicators

2005-05-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Eggert on 4/29/2005 3:07 PM: Eric Blake [EMAIL PROTECTED] writes: bash TAB-completion with readline's `set visible-stats on' uses '%' for character-special devices and '#' for block-special devices. Aack. FreeBSD ls uses

Re: mkdir -p and network drives

2005-05-04 Thread Eric Blake
leading // (at least on cygwin, leading // should start after //MACHINE/Share/), but not all POSIX-compliant hosts have the same semantics for leading //, so I don't know how well such a special case would fold into upstream coreutils. - -- Life is short - so eat dessert first! Eric Blake

Re: chmod -w file now complains if file is still writable afterwards

2005-05-04 Thread Eric Blake
rwxXstugo is required as perm/permcopy. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: mkdir -p and network drives

2005-05-05 Thread Eric Blake
Paul Eggert [EMAIL PROTECTED] * makepath.c (make_path): chdir to //, not /, if the file name starts with exactly two slashes. This doesn't solve the problem in general but it's better than nothing. Problem reported by Pierre A. Humblet via Eric Blake. Below

Re: mkdir -p and network drives

2005-05-05 Thread Eric Blake
platforms), allocating dirpath with alloca is asking for problems with the potential of stack overflow. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake

Re: mkdir -p and network drives

2005-05-05 Thread Eric Blake
not reading closely enough after a long day. I should learn not to hit send before re-reading :) But my other comment about dirpath being allocated with alloca on potentially unlimited length input is still an issue. - -- Life is short - so eat dessert first! Eric Blake [EMAIL

Re: DD converts LF - CR / LF

2005-05-06 Thread Eric Blake
as a starting point for folding in upstream (of course, it would also need NEWS and coreutils.texi documentation, and updated to apply against CVS HEAD). 2005-05-06 Eric Blake [EMAIL PROTECTED] Add imode= and omode= to dd: * src/dd.c (input_mode, output_mode, modes, set_fd_mode

Re: DD converts LF - CR / LF

2005-05-07 Thread Eric Blake
. In my opinion, dd should default to binary when neither text nor binary is specified (of course, that makes iflag=binary pretty much a no-op). - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment

[Fwd: Strange-Dangerous behaviour in Cygwin]

2005-05-07 Thread Eric Blake
as aspected but it only shifts the cursor on y and when I type n and then RETURN the file foo.txt is REMOVED! - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net

Re: mkdir -p and network drives

2005-05-07 Thread Eric Blake
a cygwin compilation of bash. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

Re: Filename Globbing issues on Win32?

2005-05-09 Thread Eric Blake
it to (if it is even possible in those ports). Or consider using cygwin, so that you can use POSIX quoting rules even on Windows (which is what I personally do). You won't get much more help from this list. -- Eric Blake ___ Bug-coreutils mailing list Bug

dirent.d_ino check

2005-05-09 Thread Eric Blake
run test is the existing link test. 2005-05-09 Eric Blake [EMAIL PROTECTED] * d-ino.m4: Add run test to detect broken cygwin d_ino. -- Eric Blake coreutils.patch Description: Binary data ___ Bug-coreutils mailing list Bug-coreutils@gnu.org

Re: dirent.d_ino check

2005-05-09 Thread Eric Blake
get the speed benefit from having a valid d_ino. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: Make Check on coreutils, darwin failed

2005-05-10 Thread Eric Blake
to user's group 2 (exit 77); exit 77 fi done - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

dd and binary mode

2005-05-13 Thread Eric Blake
. Should this assumption in system.h be changed, or my patch tweaked to ignore the value of SET_MODE? 2005-05-13 Eric Blake [EMAIL PROTECTED] (tiny change) * src/dd.c (set_fd_flags): Handle mode changes with SET_MODE, since Cygwin cannot change mode with fcntl. (main

Re: dd and binary mode

2005-05-17 Thread Eric Blake
-zero O_BINARY but zero O_TEXT. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

Re: rm: avoiding a race condition on non-glibc systems

2005-05-17 Thread Eric Blake
; + This change broke cygwin. Cygwin does not have struct dirent.d_type, so DT_IS_DIR is defined as do_not_use_this_macro. I think protecting this if statement with HAVE_STRUCT_DIRENT_D_TYPE, and letting cygwin fall through to the unlink, will fix the problem. 2005-05-16 Eric Blake [EMAIL

Re: mkdir when target exists and is a broken symlink

2005-05-17 Thread Eric Blake
or of its target. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: mkdir when target exists and is a broken symlink

2005-05-18 Thread Eric Blake
to disable it? See my earlier reply to why I think POSIX requires the exact opposite - that `touch dangling' must fail, not create the new file pointed to by dangling. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http

Re: bug in cat 5.3.0 (cygwin) on XP SP2

2005-05-19 Thread Eric Blake
when working with mixed line ending machines. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

classification indicator for character-special files

2005-05-19 Thread Eric Blake
! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCjVst84KuGfSFAYARAmG+AJ92NpTL067dPCcraJZa0/G9CdLhYQCgw4CA

exit status of rm

2005-06-23 Thread Eric Blake
` '' But the same cannot be said for rm when -f is not in effect. Should this be mentioned in the autoconf portability documentation? Are there any systems out there where rm -f `` has non-zero status? -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils

Re: Bug#160849: coreutils: bug report for GNU Core Utils

2005-06-24 Thread Eric Blake
, standard input is a terminal, and -f (or equivalent) is not present - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG

Re: base64 tool?

2005-06-25 Thread Eric Blake
the gnulib submission process. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

ls when acl() is busy [was: ls slow on top-level directory]

2005-06-27 Thread Eric Blake
, but that would be more work (the gnulib library file_has_acl already returns -1 on failure, 0 on no ACL, and 1 on ACL; perhaps make it return 2 on indeterminate). Should such a change be propagated to coreutils and gnulib, or left as a cygwin-local patch? -- Eric Blake

Re: base64 tool?

2005-06-28 Thread Eric Blake
want to consider carefully the decision between opening the coded file in text vs. binary modes on platforms where they are different. The decoded file must definitely be opened binary. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Re: ls when acl() is busy [was: ls slow on top-level directory]

2005-06-28 Thread Eric Blake
dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCwUyU84KuGfSFAYARAv1LAKCv6

Re: base64 tool?

2005-06-28 Thread Eric Blake
on decode defaults to any. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: switched coreutils to new regex implementation

2005-07-08 Thread Eric Blake
. 2005-07-08 Eric Blake [EMAIL PROTECTED] (tiny change) * regcomp.c (init_dfa, build_range_exp): Store __btowc value in wint_t, not wchar_t. Index: lib/regcomp.c === RCS file: /cvsroot/coreutils/coreutils/lib/regcomp.c,v

more gcc warnings

2005-07-08 Thread Eric Blake
, except that POSIX guarantees that they must be integer types (with no further limitations, such as unsigned or not exceeding long). All I could think of that won't truncate bits on some theoretical platform is to cast to uintmax_t, which must work since they are integral. 2005-07-08 Eric Blake

Re: more gcc warnings

2005-07-08 Thread Eric Blake
[EMAIL PROTECTED] (Eric Blake) writes: ls.c and stty.c use ioctl without including sys/ioctl.h, triggering a warning about implicit declarations. Even worse, since ioctl is a varargs function, this is undefined C (luckily, it compiles and links okay on cygwin). Thanks for reporting

Re: more gcc warnings

2005-07-09 Thread Eric Blake
. However, there is no need to systematically change the notice in every old file. 2005-07-09 Eric Blake [EMAIL PROTECTED] * src/system.h [O_BINARY __CYGWIN__]: Include actual headers for setmode and fileno. Index: src/system.h

{base,dir}name // semantics

2005-07-09 Thread Eric Blake
a distinct //, leaving other platforms to continue having just a single slash returned? I would argue that cross-platform consistency is more important than reducing the output where // has no special semantics, so the change should probably be made for all platforms. -- Eric Blake

Re: {base,dir}name // semantics

2005-07-09 Thread Eric Blake
[EMAIL PROTECTED] (Eric Blake) writes: should this patch be made globally, or should it be limited to only systems that have a distinct //, leaving other platforms to continue having just a single slash returned? Limit it to just those systems, please. I take it a simple autoconf test

Re: more gcc warnings

2005-07-09 Thread Eric Blake
__DJGPP__ +# if defined __CYGWIN__ +# include io.h +# include stdio.h +# elif !defined __DJGPP__ What is io.h? Why does both it and stdio.h need to be included? stdio.h is not needed, but io.h is needed for setmode(). -- Eric Blake

Re: {base,dir}name // semantics

2005-07-11 Thread Eric Blake
remove_suffix() in that case? Boy, I really need to get my copyright papers completed - I'll try pestering my employer again. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key

text vs. binary [Re: more gcc warnings]

2005-07-11 Thread Eric Blake
-standard hosts out there that don't treat ab as a synonym to a per POSIX, and if so, should we cater to them with a gnulib module? It is much more readable to write this as: char const *mode_string = (append ? ab : wb); -- Eric Blake ___ Bug-coreutils

Re: df does not show all mounted disks

2005-07-13 Thread Eric Blake
. If you are using some other port of coreutils to the Windows environment, ask the maintainers of that port. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

basename '' semantics

2005-07-13 Thread Eric Blake
to make any judgements about the validity of string as a pathname; it just follows the specified algorithm to produce a result string. Currently, coreutils returns ''. I don't want to change this unless anyone else thinks it should be changed for compatibility. Comments? -- Eric Blake

Re: more gcc warnings

2005-07-14 Thread Eric Blake
sparc SUNW,Sun-Blade-100 Solaris $ ./foo file is null, errno 14:Bad address -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: more gcc warnings

2005-07-16 Thread Eric Blake
on a closed FILE* result in undefined behavior; but you are right that in general, a closed stream will gracefully cause further errors that will be detected by the existing code rather than crashing the system. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN

Re: New coreutil? realpath - retrieve canonicalized absolute path

2005-07-18 Thread Eric Blake
scripts or users to retrieve an absolute path given a relative path. What's wrong with the already-existing `readlink -f'? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key

Re: banner

2005-07-27 Thread Eric Blake
a lot further in the request if you posted the source code and documentation along with your request for inclusion. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: banner

2005-07-27 Thread Eric Blake
(or find a precompiled version) and install banner there yourself, and update your $PATH to find it. In your case, that is probably faster than waiting for coreutils to decide whether to include such an app, then waiting for the next coreutils release. - -- Life is short - so eat dessert first! Eric

Re: Using the command `date +%r` returns incorrect format

2005-08-02 Thread Eric Blake
. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

Re: 'expr' command not working with option *

2005-08-11 Thread Eric Blake
expr by name, it does mention problems with * as a shell metacharacter, which needs to be quoted. Try echo expr 2 * 3 to see what you are really doing. And compare that to echo expr 2 \* 3. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE

Re: random CVS file

2005-08-13 Thread Eric Blake
. Is it causing trouble? No, I was just wondering why it was there, and you answered my question. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: Bug in cygwin's mkdir

2005-08-23 Thread Eric Blake
in this case). The code path for `mkdir -p' uses stat(2) while the code path for regular `mkdir' does not. Now that you've reported it, the cygwin team will probably write a cygwin-specific patch to `mkdir -p' to ignore stat(2) if it appended .exe. - -- Life is short - so eat dessert first! Eric Blake

Re: Bug#325205: please provide sha256sum, sha384sum and sha512sum

2005-08-27 Thread Eric Blake
' or 'sha --224'? -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: Please, help me (ls find..coreutils)

2005-08-30 Thread Eric Blake
-bit characters correctly? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http

dircolors and default shell

2005-09-08 Thread Eric Blake
), but dircolors fails without -b because SHELL was not exported to the environment. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment

Re: Where can i get the design documentation for core utils?

2005-09-09 Thread Eric Blake
of the coreutils come from varied backgrounds, with varying levels of documentation, and there is no cohesive design document (besides reading the code itself). Contributions to improve the documentation and code comments are greatly appreciated. -- Eric Blake

Re: Possible bug in uname command

2005-09-13 Thread Eric Blake
kernel folks. What about parsing /proc/cpuinfo, on machines that have that? (Cygwin falls into the same camp as linux, where this information is in /proc/cpuinfo, but not available from any easy system call.) - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED

Re: date not parsing full iso-8601

2005-09-13 Thread Eric Blake
+166,29 @@ my @Tests = Where are the tests for %::z and %:::z? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG

Re: Possible bug in uname command

2005-09-14 Thread Eric Blake
it as an invalid option. But that will break scripts like mad... :( Since POSIX doesn't document -p or -i, they are already non-portable options. But you do have a point that just deleting the options may have far-reaching effects... -- Eric Blake ___ Bug

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Eric Blake
- coreutils is not going to add -h where it does not already exist, because --help already exists. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Eric Blake
/prep/standards/html_node/Command_002dLine-Interfaces.html Also, section 4.7 mentions common long options, and their short option equivalents where appropriate, and neither --help nor --version are given a short option listing in the GCS. -- Eric Blake

Re: head -1 fails with _POSIX2_VERSION=200112

2005-09-20 Thread Eric Blake
by POSIX (and, as you note, released versions of coreutils reject it), so you may want to consider fixing your scripts to be portable anyway. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug

Re: head -1 fails with _POSIX2_VERSION=200112

2005-09-20 Thread Eric Blake
The POSIX spec is a moving target. This has been fixed in the latest sources (available via cvs). There have been quite a few changes since 5.3.0 in January. Is it time to make a 5.3.1 release, so we can point people to a release instead of CVS? -- Eric Blake

Re: df enhancment for removable media

2005-09-21 Thread Eric Blake
! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDMVFO84KuGfSFAYARArbWAJ4u5vf2mb2m41Xf4PXKUmrcl4vpkgCgiHLy

Re: bug in getaddrinfo module

2005-09-23 Thread Eric Blake
, it should be propagated into gnulib. Works fine. Thanks for the quick fix. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment

Re: mv trailing slash warning

2005-09-28 Thread Eric Blake
behavior in rename(2), maybe we can get away with deciding that mv(1) always behaves as --strip-trailing-slashes - is there anything in POSIX that would prohibit us from always stripping the trailing slash and acting on the symlink without an explicit option requesting that behavior? -- Eric Blake

Re: mv trailing slash warning

2005-09-28 Thread Eric Blake
] == '/' || (name[len - 1] == '.' (name[len - 2] == '/' || (name[len - 2] == '.' name[len - 3] == '/' { errno = EINVAL; return -1; } return rmdir (name); } -- Eric Blake ___ Bug-coreutils mailing list

Re: mv trailing slash warning

2005-09-28 Thread Eric Blake
to clean this up with the austin group; surely they intended to document historical behavior. -- Eric Blake ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: pkill

2005-09-29 Thread Eric Blake
semantics. POSIX also requires kill(1) to be an external program, invocable by env, nice, xargs, etc. (it requires this of all non-special builtins), with the documented effect that when invoked externally, job syntax does not have to work. -- Eric Blake

  1   2   3   4   5   6   7   8   9   10   >