public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/7098] New: Remove gzip timestamp on localedata files
@ 2008-12-13 20:22 g dot esp at free dot fr
  2008-12-13 20:25 ` [Bug localedata/7098] " g dot esp at free dot fr
  2009-02-07  5:29 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: g dot esp at free dot fr @ 2008-12-13 20:22 UTC (permalink / raw)
  To: glibc-bugs

When building glibc localedata, gzip is used with -9 option, so timestamp of 
each compressed file is include.

First the timestamp/filename is not required.

Secondly, with timestamp removed, each charmaps gz file and locale-archive have 
always the same md5.
This make paranoid people looking why files are different happier.

Third, with timestamp removed, charmaps files are a few bytes smaller.

Even the oldest gzip I find (gzip-1.2.4) support the -n option.
So use gzip -9n
Index: localedata/Makefile
===================================================================
RCS file: /cvs/glibc/libc/localedata/Makefile,v
retrieving revision 1.109
diff -u -r1.109 Makefile
--- localedata/Makefile	31 Oct 2008 15:12:03 -0000	1.109
+++ localedata/Makefile	13 Dec 2008 19:42:41 -0000
@@ -114,7 +114,7 @@
 	$(make-target-directory)
 	rm -f $(@:.gz=) $@
 	$(INSTALL_DATA) $< $(@:.gz=)
-	gzip -9 $(@:.gz=)
+	gzip -9n $(@:.gz=)
 
 # Install the locale source files in the appropriate directory.
 $(inst_i18ndir)/locales/%: locales/% $(+force); $(do-install)

-- 
           Summary: Remove gzip timestamp on localedata files
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales at sources dot redhat dot com
        ReportedBy: g dot esp at free dot fr
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=7098

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug localedata/7098] Remove gzip timestamp on localedata files
  2008-12-13 20:22 [Bug localedata/7098] New: Remove gzip timestamp on localedata files g dot esp at free dot fr
@ 2008-12-13 20:25 ` g dot esp at free dot fr
  2009-02-07  5:29 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: g dot esp at free dot fr @ 2008-12-13 20:25 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From g dot esp at free dot fr  2008-12-13 20:23 -------
Created an attachment (id=3106)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3106&action=view)
Removal of gzip timestamp for localdata


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=7098

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug localedata/7098] Remove gzip timestamp on localedata files
  2008-12-13 20:22 [Bug localedata/7098] New: Remove gzip timestamp on localedata files g dot esp at free dot fr
  2008-12-13 20:25 ` [Bug localedata/7098] " g dot esp at free dot fr
@ 2009-02-07  5:29 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2009-02-07  5:29 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-02-07 05:29 -------
OK, I checked the patch in.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=7098

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-07  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-13 20:22 [Bug localedata/7098] New: Remove gzip timestamp on localedata files g dot esp at free dot fr
2008-12-13 20:25 ` [Bug localedata/7098] " g dot esp at free dot fr
2009-02-07  5:29 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).