This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ulimit inconsistency


On 12/08/2010 02:11 AM, Csaba Raduly wrote:
> After successfully building LLVM + clang, I wanted to run the tests.
> The tests start out with
> 
> ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ;
> 
> I understand that there is no support for setting those limits, but
> the behaviour of 'ulimit -m' seems inconsistent:
> 
> /bin/sh: line 0: ulimit: -m: invalid option
> ulimit: usage: ulimit [-SHacdfilmnpqstuvx] [limit]
> --------------------------------^
> 
> If -m isn't a valid option, it shouldn't appear in the usage.

Patches welcome.  Bash outputs a hard-coded string which corresponds to
the union of all supported options across all architectures, rather than
customizing the string to the few settings that can actually be
supported on a given architecture.  It hasn't bothered me enough to try
to do anything about it in bash.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]