#1190 sysGetErrNoMsg() always returns "Unknown"

v4.2.0
closed
rxunixsys (1)
complete
1
2014-04-15
2013-07-16
No

No matter what error number is supplied to the sysGetErrNoMsg() function, it always returns the string "Unknown".

Operating System: Linux
Distribution: openSuSE 12.2
Hardware: x86_64

Sample program:
#!/usr/bin/rexx
-- testbug
trace normal
parse arg errno
say errno '=' sysGetErrNoMsg(errno)
exit
::requires 'rxunixsys' library

Test run:
$for n in $(seq 0 12); do testbug $n; done
0 = Ok
1 = Unknown
2 = Unknown
3 = Unknown
4 = Unknown
5 = Unknown
6 = Unknown
7 = Unknown
8 = Unknown
9 = Unknown
10 = Unknown
11 = Unknown
12 = Unknown
$

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2013-07-16
    • assigned_to: Mark Miesfeld
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-07-17
    • status: open --> pending
    • Group: 4.1.2 --> 4.1.4
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-07-17

    Committed revision 9367. [r9367] trunk
    Committed revision 9368. [r9368] 4.1 fixes

     

    Related

    Commit: [r9367]
    Commit: [r9368]

  • Mark Miesfeld

    Mark Miesfeld - 2014-02-15

    In 4.2.0

     
  • Mark Miesfeld

    Mark Miesfeld - 2014-02-15
    • Pending work items: none --> complete
    • Group: 4.1.4 --> v4.2.0
     
  • Rick McGuire

    Rick McGuire - 2014-04-15
    • status: pending --> closed
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks