rtoss - Diff between revs 266 and 267

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 266 Rev 267
Line 1... Line -...
1 /* touch.c v1.21 - 2011-04-28 -  
-   1 /* touch.c v1.22 - 2014-03-24
2 Update: 2 Update:
3   http://myc01.free.fr/touch 3   http://myc01.free.fr/touch
4 4
5 License: 5 License:
6   Public Domain Dedication (CC0 1.0) 6   Public Domain Dedication (CC0 1.0)
Line 30... Line 30...
30   touch.exe -cv -d           T10:55:00 -- *.dat 30   touch.exe -cv -d           T10:55:00 -- *.dat
31   touch.exe -xv -d 2011-04-23T10:55    -- test2.txt test3.txt 31   touch.exe -xv -d 2011-04-23T10:55    -- test2.txt test3.txt
32 32
33 ******************************************************************************** 33 ********************************************************************************
34 Changelog: 34 Changelog:
-   35 1.22 - 2014-03-24
-   36   * fix '-c', '-D' switch, '-c' is always on and '-D' is ignored in 1.21
-   37   * make '--' optional
-   38
35 1.21 - 2011-04-28 39 1.21 - 2011-04-28
36   * fix decode date/time 40   * fix decode date/time
37   * add touch folder with *.* 41   * add touch folder with *.*
38   * Combination of the options '-s' '-v' : '-sv' 42   * Combination of the options '-s' '-v' : '-sv'
39 43
Line 57... Line 61...
57 #ifndef INVALID_FILE_ATTRIBUTES 61 #ifndef INVALID_FILE_ATTRIBUTES
58 #define INVALID_FILE_ATTRIBUTES ((DWORD)-1) 62 #define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
59 #endif 63 #endif
60 64
61 #define PRG_NAME  "Touch" 65 #define PRG_NAME  "Touch"
62 #define PRG_VERS  "1.21" -  
63 #define PRG_DATE  "2011-04-28" -  
-   66 #define PRG_VERS  "1.22"
-   67 #define PRG_DATE  "2014-03-24"
64 #define PRG_LIC   "Public Domain Dedication (CC0 1.0)" 68 #define PRG_LIC   "Public Domain Dedication (CC0 1.0)"
65 69
66 /* Options in command line */ 70 /* Options in command line */
67 #define OPT_MODIFY_TIME_C     1  /* -x */ 71 #define OPT_MODIFY_TIME_C     1  /* -x */
68 #define OPT_MODIFY_TIME_A     2  /* -a */ 72 #define OPT_MODIFY_TIME_A     2  /* -a */