2000-02-18 Motoyuki Kasahara * Version 1.3. * pccard_low.c (pccard_send_request): If sendto() is failed because of ENOENT or ECONNREFUSED, output the additional error message "pccardd doesn't seem to be running". * pccard_low.c (LOCK_FILE_NAME): Define the cpp macro. * pccard_loc.c (pccard_open_socket): Open a lock file, and try to lock the file. * pccard_loc.c (pccard_close_socket): Close a lock file. Remove it if the process lock the file. * pccard_loc.c (pccard_open_socket): Don't call close() in this function. Call pccard_close_socket(), instead. * pccard.c (pccard_output_debug_message): Defined. * pccard.c, pccard.h (pccard_set_debug_message_handler, pccard_debug_message_handler): New function. * pccard.c: Declare `pccard_output_debug_message'. * pccard_low.c: Likewise. * pccard_alias.c: Likewise. * pccard.c (pccard_insert, pccard_remove): Use pccard_output_debug_message() to output a debug message. * pccard_low.c (pccard_open_socket, pccard_close_socket, pccard_send_request, pccard_receive_response, pccard_query_number_of_slots, pccard_query_slot_information, pccard_query_insertion, pccard_query_removal, pccard_status_changed): Likewise. * pccard_alias.c (pccard_search_alias_file): Likewise. 1999-11-10 Motoyuki Kasahara * Version 1.2. * wmpccard.c (atexit_handler): New function. * wmpccard.c (main): Register `atexit_handler'. 1999-10-27 Motoyuki Kasahara * Version 1.1. * wmpccard.c (signal_handler): Renamed to `exit signal_handler'. * wmpccard.c (restart_signal_handler): Added. This is new signal handler for SIGHUP. * wmpccard.c (main): Use sigaction() rather than signal(). * wmpccard.c (main): Block SIGHUP while wmpccard updates slot status or draws the window. * wmpccard.c (pccard_initialize_client): Split this function into `pccard_initialize_client' and `pccard_synchronize'. * wmpccard.h (pccard_synchronize): Add the declaration. 1999-10-26 Motoyuki Kasahara * pccard_low.c (pccard_wait_response): Call select() again if it is interrupted. * wmpccard.c (main): Add the `-t' option. * wmpccard.1.in: Likewise. * wmpccard.c (main): Remove `g' from the option list passed to getopt().