aboutsummaryrefslogtreecommitdiffstats
path: root/builtins/ulimit.def
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/ulimit.def')
-rw-r--r--builtins/ulimit.def8
1 files changed, 6 insertions, 2 deletions
diff --git a/builtins/ulimit.def b/builtins/ulimit.def
index f3d0c8e..e57e76d 100644
--- a/builtins/ulimit.def
+++ b/builtins/ulimit.def
@@ -7,7 +7,7 @@ This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 1, or (at your option) any later
+Software Foundation; either version 2, or (at your option) any later
version.
Bash is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -17,7 +17,7 @@ for more details.
You should have received a copy of the GNU General Public License along
with Bash; see the file COPYING. If not, write to the Free Software
-Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA.
$PRODUCES ulimit.c
@@ -547,7 +547,11 @@ filesize(valuep)
if ((result = ulimit (1, 0L)) < 0)
return -1;
else
+# if 0
*valuep = (RLIMTYPE) result;
+# else
+ *valuep = (RLIMTYPE) result * 512L;
+# endif
return 0;
#else
errno = EINVAL;