Mercurial > hg > octave-nkf
comparison scripts/plot/util/private/__gnuplot_get_var__.m @ 20410:d9f35ceff9e1
Change mkfifo to use an octal argument for MODE (bug #45054).
* NEWS: Announce switch from decimal to octal MODE for mkfifo.
* file-io.cc (convert): Add a FIXME note that this function is repeated in
* syscalls.cc.
* syscalls.cc (convert): New function to convert from one base to another.
* syscalls.cc (Fmkfifo): Change docstring to note that MODE argument is now
octal. Convert MODE from octal to decimal before calling octave_mkfifo().
Add BIST tests.
* __gnuplot_get_var__.m, __gnuplot_ginput__.m: Change instances of MODE
argument in m-files from decimal to octal.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 17 May 2015 10:04:08 -0700 |
parents | 4197fc428c7d |
children |
comparison
equal
deleted
inserted
replaced
20409:5fb4bc5f70ce | 20410:d9f35ceff9e1 |
---|---|
50 endif | 50 endif |
51 | 51 |
52 if (use_mkfifo) | 52 if (use_mkfifo) |
53 gpin_name = tempname (); | 53 gpin_name = tempname (); |
54 | 54 |
55 ## Mode: 0600 == 6*8*8 | 55 [err, msg] = mkfifo (gpin_name, 600); |
56 [err, msg] = mkfifo (gpin_name, 6*8*8); | |
57 | 56 |
58 if (err) | 57 if (err) |
59 error ("__gnuplot_get_var__: Can not make FIFO (%s)", msg); | 58 error ("__gnuplot_get_var__: Can not make FIFO (%s)", msg); |
60 endif | 59 endif |
61 endif | 60 endif |