From owner-freebsd-bugs Wed Mar 1 11:26:34 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA14757 for bugs-outgoing; Wed, 1 Mar 1995 11:26:34 -0800 Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA14750 for ; Wed, 1 Mar 1995 11:26:32 -0800 Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id UAA09332 for bugs@freebsd.org; Wed, 1 Mar 1995 20:22:25 +0100 From: Luigi Rizzo Message-Id: <199503011922.UAA09332@labinfo.iet.unipi.it> Subject: format %s missing in strftime To: bugs@FreeBSD.org Date: Wed, 1 Mar 1995 20:22:24 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 722 Sender: bugs-owner@FreeBSD.org Precedence: bulk On snap 950210, format %s (print seconds from the epoch) is missing from the code in strftime.c . This affects both the library code and all the commands using it (e.g. date +%s). This turned out while I was trying to write an adduser script which fills in the change and expire fields. Maybe some other system program has the same problem, which might be annoying. Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 ====================================================================