Skip to content
Snippets Groups Projects
  1. May 03, 2022
  2. Mar 28, 2022
  3. Nov 18, 2020
  4. Jun 22, 2020
  5. Apr 02, 2020
  6. Feb 14, 2020
  7. Feb 13, 2020
    • Barak A. Pearlmutter's avatar
      autoupdate · bbfc199c
      Barak A. Pearlmutter authored
      bbfc199c
    • rxxrc's avatar
      Improve `progressUpdate()` logic. · cbc7a1c8
      rxxrc authored
      Only print a progress bar if the terminal is wide enough to fit it, otherwise
      just print the raw percentage and ETA numbers.
      Also, account for the fact that the '|' is printed even if the current progress
      is zero, meaning we should always subtract at least one from the number of
      space characters following it.
      cbc7a1c8
    • rxxrc's avatar
      Fix divide-by-zero FPEs in `progressUpdate()`. · 24a49bf6
      rxxrc authored
      When calculating the dimensions of the progress bar, some integer divisions
      can give zero results, which in turn causes divide-by-zeroes to occur.
      
      This occurrs when:
          1. the terminal width is exactly 16 columns, which causes `barLen` to be
             calculated as zero.
          2. the `tot` input filesize is less than the calculated value of `barLen`.
      
      These are both fixed by replacing two divisions with one division and one multi-
      plication.
      24a49bf6
  8. Jan 26, 2018
  9. Jan 25, 2018
    • bastif's avatar
      fix options -b and -e with -O · a51ec240
      bastif authored
      The -b <seek_start> and -e <stop_before_end> options didn't work when
      used in conjunction with -O <vob_file_to_extract.vob>.  The relevant
      use case is extracting part of a VOB file from the dvd, even if it is
      not in the main title.
      
      See https://bugs.debian.org/867388
      
      Gbp-Pq: Name 0018-fix-options-b-and-e-with-O.patch
      a51ec240
    • bastif's avatar
      trailing colon question mark · 2cd42a95
      bastif authored
      Sometimes, the files of the ISO when mounted with fuseiso have a trailing
      ";?". Depending on the way fuseiso mounted the ISO (-c <charset>) option the
      question mark '?' may be different, especially when mounted on with utf-8.
      
      Better detected and manage this case.
      
      See https://bugs.debian.org/867388
      
      Gbp-Pq: Name 0017-trailing-colon-question-mark.patch
      2cd42a95
    • bastif's avatar
      fuseiso mount · 7934e105
      bastif authored
      When specifying a directory that is the mountpoint of a iso mounted
      with fuseiso, vobcopy wasn't able to find the location of the iso and
      therefore was unusable in that case (it thinks the name of the iso is
      fuseiso).
      
      See https://bugs.debian.org/867388
      
      Gbp-Pq: Name 0016-fuseiso-mount.patch
      7934e105
    • Barak A. Pearlmutter's avatar
      repair bug in e5eda787 · 21e1eba9
      Barak A. Pearlmutter authored
      Thanks to Fab Stz <fabstz-it@yahoo.fr>.
      See https://bugs.debian.org/867388
      21e1eba9
  10. May 08, 2016
    • Ronald van Rij's avatar
      narrow window · f9c17746
      Ronald van Rij authored
      Copying a small chapter or if the terminal window is too small, printing the progress bar results in a divide by zero.
      f9c17746
  11. Nov 26, 2015
  12. May 13, 2015
    • Barak A. Pearlmutter's avatar
      clang -Wall · e5eda787
      Barak A. Pearlmutter authored
      $ clang -DHAVE_CONFIG_H -I. -g -O2 -Wall -c vobcopy.c
      ln vobcopy.1.de intl/de/vobcopy.1
      vobcopy.c:240:24: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect
            [-Wabsolute-value]
                seek_start = abs( temp_var / 2048 );
                             ^
      vobcopy.c:240:24: note: remove the call to 'abs' since unsigned values cannot be negative
                seek_start = abs( temp_var / 2048 );
                             ^~~
      vobcopy.c:241:26: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                if( seek_start < 0 )
                    ~~~~~~~~~~ ^ ~
      vobcopy.c:293:29: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect
            [-Wabsolute-value]
                stop_before_end = abs( temp_var / 2048 );
                                  ^
      vobcopy.c:293:29: note: remove the call to 'abs' since unsigned values cannot be negative
                stop_before_end = abs( temp_var / 2048 );
                                  ^~~
      vobcopy.c:294:31: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                if( stop_before_end < 0 )
                    ~~~~~~~~~~~~~~~ ^ ~
      e5eda787
    • Barak A. Pearlmutter's avatar
      configure.ac AC_SEARCH_LIB · 2a52f18d
      Barak A. Pearlmutter authored
      2a52f18d
    • Barak A. Pearlmutter's avatar
      AC_PROG_MKDIR_P · 1a0d4284
      Barak A. Pearlmutter authored
      1a0d4284
    • Barak A. Pearlmutter's avatar
      enable warnings · f5111c9d
      Barak A. Pearlmutter authored
      f5111c9d
    • Barak A. Pearlmutter's avatar
      rm Makefile · dc43791d
      Barak A. Pearlmutter authored
      dc43791d
    • Barak A. Pearlmutter's avatar
      vobcopy.h xMNTINFO · a14dec58
      Barak A. Pearlmutter authored
      Fix the autotool-ification to work on kfreebsd, per
      http://bugs.debian.org/697016 by accepting the patch therein.
      
      Thanks to: Petr Salinger <Petr.Salinger@seznam.cz>
      a14dec58
    • Barak A. Pearlmutter's avatar
      autoconf deobfuscation · c6c092fc
      Barak A. Pearlmutter authored
      remove system-specific guards in favour of feature tests.
      test for getopt_long.
      test for fdatasync.
      test for statfs and friends.
      remove gettext.h.
      c6c092fc
    • Barak A. Pearlmutter's avatar
      auto gettext · 8ea5c019
      Barak A. Pearlmutter authored
      engage autoconf autoheader mechanisms for gettext internationalization
      
      remove '\r' from internationalized strings
      
      remove vobcopy.pot as po/vobcopy.pot is generated by autoreconf
      
      put m4 macros in m4/ subdir
      8ea5c019
    • Barak A. Pearlmutter's avatar
      autoheader · 62e8218b
      Barak A. Pearlmutter authored
      engage autoheader, and let it deal with largefile issues
      62e8218b
    • Barak A. Pearlmutter's avatar
      autotools · 9c5afc0a
      Barak A. Pearlmutter authored
      Switch build system to use autotools
      (add autotools scripts; rm Makefile configure.sh)
      centralise version number in configure.ac
      9c5afc0a
    • Barak A. Pearlmutter's avatar
      man dash hyphen slash de · 897c1439
      Barak A. Pearlmutter authored
      silence lintian warning about hyphens vs dashes in German man page
      897c1439
    • Barak A. Pearlmutter's avatar
      man dash hyphen slash en · 5550841d
      Barak A. Pearlmutter authored
      silence lintian warning about hyphens vs dashes in English man page
      5550841d
    • Barak A. Pearlmutter's avatar
      pointer type · c81c89ca
      Barak A. Pearlmutter authored
      quash gcc pointer type warning,
      passing **dvd_reader_t to routine that expects *dvd_reader_t
      c81c89ca
    • Svante Signell's avatar
      hurd fix · fc64335f
      Svante Signell authored
      Solves failure to build from sources on Debian GNU/Hurd,
      see http://bugs.debian.org/641283 for details.
      fc64335f
  13. Jan 01, 2012
Loading