[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#246906: [PATCH] Re: BUg #246906 fix update-alternatives test on error value



* 

| I looked closer at the source and all test of the error value are made
| against $! instead of $|.
| This patch fix all occurences i found in update-alternatives and restore
| file openings error messages. 
| That had nothing in termn of functionality. I hope users won't be
| disturbed by those new errors .

Please read the perlvar man page.

  $OUTPUT_AUTOFLUSH
  $|      If set to nonzero, forces a flush right away and after
          every write or print on the currently selected output
          channel.

while for $!:

  $OS_ERROR
  $ERRNO
  $!      If used numerically, yields the current value of the C
          «errno» variable, or in other words, if a system or library
          call fails, it sets this variable.

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



Reply to: