Ticket #307 (new wishlist)

Opened 8 years ago

Use strftime() instead of asctime_ew(); eliminate asctime_ew()

Reported by: baker Owned by: somebody
Priority: trivial Milestone: All Platforms
Component: ALL modules Version: 7.7
Keywords: asctime_ew time_ew.c Cc:

Description

Ref.: http://earthworm.isti.com/trac/earthworm/ticket/304

asctime_ew() is superfluous; it can be replaced by the standard C function strftime(). (There are numerous examples of calls to strftime() already in Earthworm.) it is called from only two programs -- startstop and statmgr.

After changing asctime_ew() to strftime(), the four versions of time_ew.c can be eliminated:

# find . -name time_ew.c
./src/libsrc/winnt/time_ew.c
./src/libsrc/unix/time_ew.c
./src/libsrc/solaris/time_ew.c
./src/seismic_processing/glass/src/lib/time_ew.c
Note: See TracTickets for help on using tickets.