Package: astyle
Version: 2.01-1
Severity: normal

Dear Maintainer,


   * What led up to the situation?

  Edit small c code file called alpha.c

  main ()
{
printf ("hello\n");
}

  Save file.

  ls --full-time alpha.c

  astyle --preserve-date alpha.c

  ls --full-time alpha.c

  file date/time is modified by ten seconds.

  Examining the code for astyle there is a spot where they added ten seconds
to suit make and some other program so they will see the changed files even if
specified to not change the date/time.  Seems like this should be a different
option, but really, they should be using touch if they want a modified
date/time on the file and leave this option to work correctly.


   * What outcome did you expect instead?

  The date and time to not be modified as described in the manpage.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.5-trunk-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages astyle depends on:
ii  libc6       2.13-35
ii  libstdc++6  4.7.1-7

astyle recommends no packages.

astyle suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to