Dash:
[t2.git] / package / shells / bash / getrandom.patch
blob1c78038ceb82a9164a15b4f9541c7ebfe886f675
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/*/bash/getrandom.patch
5 # Copyright (C) 2021 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- bash-5.1/lib/sh/random.c.vanilla 2021-02-09 18:29:41.857662161 +0100
18 +++ bash-5.1/lib/sh/random.c 2021-02-09 18:30:18.967664076 +0100
19 @@ -184,7 +184,7 @@
20 # define GRND_RANDOM 2
21 #endif
23 -static ssize_t
24 +ssize_t
25 getrandom (buf, len, flags)
26 void *buf;
27 size_t len;